public class TreeWalker2Result extends DTMTreeWalker
m_dtm
Constructor and Description |
---|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
endNode(int node)
End processing of given node
|
protected void |
startNode(int node)
Start traversal of the tree at the given node
|
void |
traverse(int pos)
Perform a pre-order traversal non-recursive style.
|
getcontentHandler, setcontentHandler, setDTM, traverse
public TreeWalker2Result(TransformerImpl transformer, SerializationHandler handler)
transformer
- Non-null transformer instancehandler
- The Result tree handler to usepublic void traverse(int pos) throws SAXException
traverse
in class DTMTreeWalker
pos
- Start node for traversalTransformerException
SAXException
protected void endNode(int node) throws SAXException
endNode
in class DTMTreeWalker
node
- Node we just finished processingSAXException
protected void startNode(int node) throws SAXException
startNode
in class DTMTreeWalker
node
- Starting node for traversalTransformerException
SAXException
Copyright © 2018 JBoss by Red Hat. All rights reserved.