    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface w3c.jigsaw.ssi.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 SSIResource. 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(SSIResource, CommandRegistry, ArrayDictionary, Dictionary)
  Give the next position in the structure witch store the SSIResource.
setPosition(SSIResource, CommandRegistry, ArrayDictionary, Dictionary, int)
  register the command position in the structure witch store the SSIResource.

##

setPosition

     public abstract void setPosition(SSIResource resource,
                                      CommandRegistry registry,
                                      ArrayDictionary parameters,
                                      Dictionary variables,
                                      int position)

  register the command position in the structure witch store the SSIResource.

jumpTo

     public abstract int jumpTo(SSIResource resource,
                                CommandRegistry registry,
                                ArrayDictionary parameters,
                                Dictionary variables) throws ControlCommandException

  Give the next position in the structure witch store the SSIResource.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index