com.icl.saxon.handlers
Class NodeHandler

java.lang.Object
  |
  +--com.icl.saxon.handlers.NodeHandler
Direct Known Subclasses:
ElementHandler, TemplateExpander

public abstract class NodeHandler
extends java.lang.Object

This abstract class defines the node handler interface used by SAXON. This is used to handle all kinds of nodes: elements, character data, and attributes


Constructor Summary
NodeHandler()
           
 
Method Summary
abstract  void start(NodeInfo node, Context context)
          Define action to be taken at the start of a node.
This method must be implemented in a subclass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeHandler

public NodeHandler()
Method Detail

start

public abstract void start(NodeInfo node,
                           Context context)
                    throws org.xml.sax.SAXException
Define action to be taken at the start of a node.
This method must be implemented in a subclass.
Parameters:
node - The NodeInfo object for the current node.
Throws:
org.xml.sax.SAXException - Aborts the parse
See Also:
NodeInfo