net.sf.joost.instruction
Class ProcessBase.ProcessEnd
java.lang.Object
net.sf.joost.instruction.AbstractInstruction
net.sf.joost.instruction.ProcessBase.ProcessEnd
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- ProcessBase
private class ProcessBase.ProcessEnd
- extends AbstractInstruction
Instruction the clears the parameter stack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
private ProcessBase node
ProcessBase.ProcessEnd
public ProcessBase.ProcessEnd(ProcessBase node)
getNode
public NodeBase getNode()
- Specified by:
getNode
in class AbstractInstruction
- Returns:
- the node this instruction belongs to
process
public short process(Context ctx)
- Description copied from class:
AbstractInstruction
- The method that does the actual processing. This method will be
called while traversing the list of nodes.
- Specified by:
process
in class AbstractInstruction
- Parameters:
ctx
- the current context
- Returns:
Constants.PR_CONTINUE
,
when the processing should continue with the next
node; otherwise when the processing should be
suspended due to an stx:process-xxx
instruction. This in turn means that only the implementations
for these stx:process-xxx
instructions
must return a value other than PR_CONTINUE
.
(Exception from the rule: non-recoverable errors)
onDeepCopy
protected void onDeepCopy(AbstractInstruction copy,
HashMap copies)
- Description copied from class:
AbstractInstruction
- Callback that will be called when a clone of this instance has been
created. To be overridden in subclasses.
- Overrides:
onDeepCopy
in class AbstractInstruction
- Parameters:
copy
- the created clonescopies
- the map of already copied objects