|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.ref.DTMTreeWalker org.apache.xalan.transformer.TreeWalker2Result
public class TreeWalker2Result
Handle a walk of a tree, but screen out attributes for the result tree.
Field Summary | |
---|---|
(package private) SerializationHandler |
m_handler
The result tree handler |
(package private) int |
m_startNode
Node where to start the tree walk |
(package private) TransformerImpl |
m_transformer
The transformer instance |
Fields inherited from class org.apache.xml.dtm.ref.DTMTreeWalker |
---|
m_dtm |
Constructor Summary | |
---|---|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.xml.dtm.ref.DTMTreeWalker |
---|
getcontentHandler, setcontentHandler, setDTM, traverse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
TransformerImpl m_transformer
SerializationHandler m_handler
int m_startNode
Constructor Detail |
---|
public TreeWalker2Result(TransformerImpl transformer, SerializationHandler handler)
transformer
- Non-null transformer instancehandler
- The Result tree handler to useMethod Detail |
---|
public void traverse(int pos) throws org.xml.sax.SAXException
traverse
in class DTMTreeWalker
pos
- Start node for traversal
TransformerException
org.xml.sax.SAXException
protected void endNode(int node) throws org.xml.sax.SAXException
endNode
in class DTMTreeWalker
node
- Node we just finished processing
org.xml.sax.SAXException
protected void startNode(int node) throws org.xml.sax.SAXException
startNode
in class DTMTreeWalker
node
- Starting node for traversal
TransformerException
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |