com.icl.saxon.handlers

Class ElementHandler

Implemented Interfaces:
NodeHandler
Known Direct Subclasses:
ElementHandlerBase

public abstract class ElementHandler
extends Object
implements NodeHandler

ElementHandler is a NodeHandler used to process elements. It is identical to it parent class, NodeHandler, and exists only for type-checking on interfaces.
Version:
7 April 1999: generalisation of old ElementHandler
Author:
Michael H. Kay

Method Summary

boolean
needsStackFrame()
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.

Method Details

needsStackFrame

public boolean needsStackFrame()
Specified by:
needsStackFrame in interface NodeHandler

start

public abstract void start(NodeInfo node,
                           Context context)
            throws TransformerException
Define action to be taken at the start of a node.
This method must be implemented in a subclass.
Specified by:
start in interface NodeHandler
Parameters:
node - The NodeInfo object for the current node.
See Also:
NodeInfo