CLASS: ScriptFactory
Class ScriptFactory

Known sub-classes: DbDesignScriptFactory, DxlScriptFactory

The ScriptFactory is used to create Script objects from the parsed LotusScript source.


Methods Summary
PublicAddAgent(elem_name As String)
     Adds an agent to the factory.
PublicAddForm(elem_name As String)
     Adds a form to the factory.
PublicAddPage(elem_name As String)
     Adds a page to the factory.
PublicAddScriptLibrary(elem_name As String)
     Adds a script library to the factory.
PublicAddSharedActions()
     Add the shared actions to the factory.
PublicAddView(elem_name As String)
     Adds a view to the factory.
PublicNew(db As NotesDatabase)
     Constructor.

Functions Summary
Public VectorProcess()
     Processes the design elements added.

Method Detail

AddAgent

Public Sub AddAgent(elem_name As String)
Adds an agent to the factory.
Parameter(s):
elem_name - The name of the agent

AddForm

Public Sub AddForm(elem_name As String)
Adds a form to the factory.
Parameter(s):
elem_name - The name of the form

AddPage

Public Sub AddPage(elem_name As String)
Adds a page to the factory.
Parameter(s):
elem_name - The name of the page

AddScriptLibrary

Public Sub AddScriptLibrary(elem_name As String)
Adds a script library to the factory.
Parameter(s):
elem_name - The name of the script library

AddSharedActions

Public Sub AddSharedActions()
Add the shared actions to the factory.

AddView

Public Sub AddView(elem_name As String)
Adds a view to the factory.
Parameter(s):
elem_name - The name of the view

New

Public New(db As NotesDatabase)
Constructor.
Parameter(s):
db - The database to look in (Nothing to use NotesSession.CurrentDatabase)

Function Detail

Process

Public Function Process() As Vector
Processes the design elements added.
Returns:
A Vector of created Script objects.