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 NodeHandlerstart in class ElementHandlernode - The NodeInfo object for the current node.javax.xml.transform.TransformerExceptionNodeInfopublic void startElement(NodeInfo e, Context context) throws javax.xml.transform.TransformerException
e - The NodeInfo object for the current element.javax.xml.transform.TransformerExceptionpublic boolean needsStackFrame()
NodeHandlerneedsStackFrame in interface NodeHandlerneedsStackFrame in class ElementHandler