xtas
Class Statement
java.lang.Object
|
+--xtas.Statement
- All Implemented Interfaces:
- InstructionsSupport
- Direct Known Subclasses:
- SimpleStatement, XTASMLStatement
- public abstract class Statement
- extends java.lang.Object
- implements InstructionsSupport
Abstract XTAS Statement
Contains:
destinationId - Path|URI - Must be NULL if empty !
sourceId - Path|URI - Must be NULL if empty !
and FIFO-array of instructions to execute
- Version:
- $Id: Statement.java,v 1.4 2003/05/28 16:03:24 geaz Exp $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Statement
public Statement()
getSourceId
public final java.lang.String getSourceId()
setSourceId
public final void setSourceId(java.lang.String sourceId)
getDestinationId
public final java.lang.String getDestinationId()
setDestinationId
public final void setDestinationId(java.lang.String destinationId)
getInstructions
public Instruction[] getInstructions()
- Specified by:
getInstructions
in interface InstructionsSupport
addInstruction
public void addInstruction(java.lang.String type,
java.lang.String match,
UniFormTree newValue)
throws InvalidStatementException
- Specified by:
addInstruction
in interface InstructionsSupport
pickNextInstruction
public Instruction pickNextInstruction()
throws ForbiddenOperationException
- Specified by:
pickNextInstruction
in interface InstructionsSupport
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object