Package wt.ixb.actor
Class ActorFactory
java.lang.Object
wt.ixb.actor.ActorFactory
Factory class to create
wt.ixb.actor.Actor instances according
to the parameters passed, according to the syntax to specify the actors
in the registry.
The general format is as follows:
<action>
<actionName>PickExistingObject</actionName>
<localizedString>
<class>wt.ixb.actor.actorResource</class>
<key>PICKINGEXISTINGOBJECT_ACTOR_NAME</key>
</localizedString>
<display>true</display>
Supported API: true
Extendable: true-
Method Summary
Modifier and TypeMethodDescriptionstatic ActorcreateActor(String actionName, String handlerTagName) Creates awt.ixb.actor.Actorinstance for import.static ActorcreateActor(String actionName, String handlerTagName, boolean forExport) Creates awt.ixb.actor.Actorinstance for export or import.
-
Method Details
-
createActor
Creates awt.ixb.actor.Actorinstance for import. To create an instance for export, use the methodcreateActor( String actionName, String handlerTagName, boolean forExport )with parameter forExport set to true.
Supported API: true- Parameters:
actionName- The actor name. See the registry file for available names.handlerTagName- The tag name for the corresponding class handler, e.g. WTDocument, ibaDefinitions.- Returns:
- Actor
- Throws:
WTException
-
createActor
public static Actor createActor(String actionName, String handlerTagName, boolean forExport) throws WTException Creates awt.ixb.actor.Actorinstance for export or import.
If parameter forExport is set to true, then an instance for export is returned, otherwise an instance for import is returned.
Supported API: true- Parameters:
actionName- The actor name. See the registry file for available names.handlerTagName- The tag name for the corresponding class handler, e.g. WTDocument, ibaDefinitions.forExport-- Returns:
- Actor
- Throws:
WTException
-