All Packages Class Hierarchy This Package Previous Next Index
Interface org.w3c.jigsaw.ssi.commands.ControlCommand
- public interface ControlCommand
- extends Command
This interface is used to supply implementations of SSI
commands. They have to be registered in a CommandRegistry, which in
turn is used by the SSIFrame. A control command is a command
like loop or if witch can modify the way to execute commands.
A control command have to register is position and to know the
next position. A position is an integer, witch can be an array
index.
- See Also:
- CommandRegistry
-
jumpTo(SSIFrame, Request, CommandRegistry, ArrayDictionary, Dictionary)
- Give the next position in the structure witch
store the SSIFrame.
-
setPosition(SSIFrame, Request, CommandRegistry, ArrayDictionary, Dictionary, int)
- register the command position in the structure
witch store the SSIFrame.
setPosition
public abstract void setPosition(SSIFrame ssiframe,
Request request,
CommandRegistry registry,
ArrayDictionary parameters,
Dictionary variables,
int position)
- register the command position in the structure
witch store the SSIFrame.
jumpTo
public abstract int jumpTo(SSIFrame ssiframe,
Request request,
CommandRegistry registry,
ArrayDictionary parameters,
Dictionary variables) throws ControlCommandException
- Give the next position in the structure witch
store the SSIFrame.
- Returns:
- An integer
- Throws: ControlCommandException
- if action failed.
All Packages Class Hierarchy This Package Previous Next Index