|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Command performs some kind of operation using the
contents of a CommandContext.
| Method Summary | |
void |
execute(CommandContext context)
Executes this command using the specified context. |
void |
initialise(java.lang.String name,
org.w3c.dom.Element element)
Initialises this command by parsing the specified Element. |
| Method Detail |
public void initialise(java.lang.String name,
org.w3c.dom.Element element)
throws XMLDBCommandSpecificationException,
XMLDBCommandExecutionException
Element. The details retrieved may determine the
behavior of the execute method.
name - Command nameelement - The Element that corresponds to this command.
XMLDBCommandSpecificationException - If there is a problem parsing element or
initialising the command due to incorrect values in the
command provided by a client.
XMLDBCommandExecutionException - If there is an internal problem
public void execute(CommandContext context)
throws XMLDBCommandSpecificationException,
XMLDBCommandExecutionException
context - A CommandContext object from which
the current collection, the default output and
any inputs can be retrieved.
XMLDBCommandSpecificationException - If there is a problem during the running of the command due
to incorrect values in the command provided by a client.
XMLDBCommandExecutionException - If there is an internal problem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||