com.icl.saxon.handlers
Class  ElementHandlerBase
java.lang.Object
  |
  +--com.icl.saxon.handlers.NodeHandler
        |
        +--com.icl.saxon.handlers.ElementHandler
              |
              +--com.icl.saxon.handlers.ElementHandlerBase
- public class ElementHandlerBase- extends ElementHandler
This class is the default element handler from which
 user-defined element handlers can inherit. It is provided for convenience:
 use is optional. The individual methods of the default element handler
 do nothing with the content; in a subclass it is therefore only necessary to implement
 those methods that need to do something specific.
 The startElement() method calls applyTemplates(), so child elements will
 always be processed.
 
| Method Summary | 
|  void | start(NodeInfo node,
      Context context)implement start() method
 | 
|  void | startElement(ElementInfo e,
             Context context)Define action to be taken before an element of this element type.
 Default implementation does nothing, other than causing subordinate elements
 to be processed in the same mode as the caller
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ElementHandlerBase
public ElementHandlerBase()
start
public void start(NodeInfo node,
                  Context context)
           throws org.xml.sax.SAXException
- implement start() method- 
- Overrides:
- startin class- NodeHandler
 
- Following copied from class: com.icl.saxon.handlers.NodeHandler
- 
- Parameters:
- node- The NodeInfo object for the current node.
- Throws:
- org.xml.sax.SAXException- Aborts the parse
- See Also: 
- NodeInfo
 
startElement
public void startElement(ElementInfo e,
                         Context context)
                  throws org.xml.sax.SAXException
- Define action to be taken before an element of this element type.
 Default implementation does nothing, other than causing subordinate elements
 to be processed in the same mode as the caller
- 
- Parameters:
- e- The ElementInfo object for the current element.