uk.org.ogsadai.activity.xmldb.commands
Interface CommandFactory
- All Known Implementing Classes:
- PropertiesCommandFactory
- public interface CommandFactory
A CommandFactory creates Command instances based
on the supplied command Element.
- Author:
- The OGSA-DAI Project Team
|
Method Summary |
Command |
createCommand(org.w3c.dom.Element element)
Creates a Command that corresponds to the specified
Element. |
createCommand
public Command createCommand(org.w3c.dom.Element element)
throws CommonUserException,
CommonSystemException
- Creates a
Command that corresponds to the specified
Element.
- Parameters:
element - The element to map to a corresponding
Command.
- Returns:
- the command corresponding to the element
- Throws:
CommonUserException - If there is a user problem preventing the
Command from being created.
CommonSystemException - If there is a system problem preventing the
Command from being created.