Package org.mwolff.command.sax
Class SaxParserCommand
- java.lang.Object
-
- org.mwolff.command.AbstractDefaultCommand<SaxParameterObject>
-
- org.mwolff.command.sax.SaxParserCommand
-
- All Implemented Interfaces:
Command<SaxParameterObject>
public class SaxParserCommand extends AbstractDefaultCommand<SaxParameterObject>
-
-
Constructor Summary
Constructors Constructor Description SaxParserCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandTransition
executeCommand(SaxParameterObject parameterObject)
Executes the command and returns a CommandTransition as feedback.
-
-
-
Method Detail
-
executeCommand
public CommandTransition executeCommand(SaxParameterObject parameterObject)
Description copied from class:AbstractDefaultCommand
Executes the command and returns a CommandTransition as feedback. Implementation should save errors in the parameter object.- Specified by:
executeCommand
in interfaceCommand<SaxParameterObject>
- Overrides:
executeCommand
in classAbstractDefaultCommand<SaxParameterObject>
- Parameters:
parameterObject
- The parameter object to pass. Should not be finalized.- Returns:
- CommandTransion.SUCCESS by default, FAILURE if the parameter equals null.
-
-