public class ElementHandlerBase extends ElementHandler
The startElement() method calls applyTemplates(), so child elements will always be processed.
Constructor and Description |
---|
ElementHandlerBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
needsStackFrame()
Optimization hint to allow a handler to declare that it needs no stack space
for local variables and parameters
|
void |
start(NodeInfo node,
Context context)
implement start() method
|
void |
startElement(NodeInfo 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 |
public void start(NodeInfo node, Context context) throws javax.xml.transform.TransformerException
start
in interface NodeHandler
start
in class ElementHandler
node
- The NodeInfo object for the current node.javax.xml.transform.TransformerException
NodeInfo
public void startElement(NodeInfo e, Context context) throws javax.xml.transform.TransformerException
e
- The NodeInfo object for the current element.javax.xml.transform.TransformerException
public boolean needsStackFrame()
NodeHandler
needsStackFrame
in interface NodeHandler
needsStackFrame
in class ElementHandler