net.sf.doolin.oxml.action
Class CreateDefOXMLAction
java.lang.Object
net.sf.doolin.oxml.action.AbstractOXMLAction
net.sf.doolin.oxml.action.AbstractSequenceOXMLAction
net.sf.doolin.oxml.action.CreateDefOXMLAction
- All Implemented Interfaces:
- OXMLAction
public class CreateDefOXMLAction
- extends AbstractSequenceOXMLAction
createDef action. This action is used by the create
action when it has a defId attribute. This action does not do
anything by itself.
Parameters for this action are:
-
class - (required if factory is not provided)
Name of the instance type to create
-
factory - (required if class is not provided)
Class name for an implementation of the
OXMLInstanceFactory interface, responsible for the
creation of the instance
id - (required) Identifier of the create definition.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateDefOXMLAction
public CreateDefOXMLAction()
parse
public void parse(Element e)
throws IOException
- Does not do anything.
Parses each child.
- Specified by:
parse in interface OXMLAction- Overrides:
parse in class AbstractSequenceOXMLAction
- Parameters:
e - Configuration element for this action.
- Throws:
IOException - If the element cannot be parsed- See Also:
OXMLAction.parse(org.w3c.dom.Element)
process
public void process(OXMLContext context)
- Does not do anything.
Processes each sub action.
- Specified by:
process in interface OXMLAction- Overrides:
process in class AbstractSequenceOXMLAction
- Parameters:
context - Execution context- See Also:
OXMLAction.process(net.sf.doolin.oxml.OXMLContext)
Copyright © 2011. All Rights Reserved.