net.sf.joost.instruction
Class NodeBase.End

java.lang.Object
  extended bynet.sf.joost.instruction.AbstractInstruction
      extended bynet.sf.joost.instruction.NodeBase.End
Enclosing class:
NodeBase

public final class NodeBase.End
extends AbstractInstruction

Generic class that represents the end of an element in the STX transformation sheet (the end tag). Its process(net.sf.joost.stx.Context) method simply calls NodeBase.processEnd(Context context) in the appropriate NodeBase object.


Field Summary
private  NodeBase start
          The appropriate start tag.
 
Fields inherited from class net.sf.joost.instruction.AbstractInstruction
colNo, lineNo, next
 
Constructor Summary
private NodeBase.End(NodeBase start)
           
 
Method Summary
 NodeBase getNode()
           
 short process(Context context)
          Calls the NodeBase.processEnd(net.sf.joost.stx.Context) method in its start object.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

private NodeBase start
The appropriate start tag.

Constructor Detail

NodeBase.End

private NodeBase.End(NodeBase start)
Method Detail

getNode

public NodeBase getNode()
Specified by:
getNode in class AbstractInstruction
Returns:
the node this instruction belongs to

process

public short process(Context context)
              throws SAXException
Calls the NodeBase.processEnd(net.sf.joost.stx.Context) method in its start object.

Specified by:
process in class AbstractInstruction
Parameters:
context - 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)
Throws:
SAXException

toString

public String toString()