BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.transformer
Class TreeWalker2Result

java.lang.Object
  |
  +--weblogic.apache.xml.utils.TreeWalker
        |
        +--weblogic.apache.xalan.transformer.TreeWalker2Result

public class TreeWalker2Result
extends TreeWalker

Handle a walk of a tree, but screen out attributes for the result tree.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Fields inherited from class weblogic.apache.xml.utils.TreeWalker
m_dh
 
Constructor Summary
TreeWalker2Result(TransformerImpl transformer, ResultTreeHandler handler)
          Constructor.
 
Method Summary
protected  void startNode(org.w3c.dom.Node node)
          Start traversal of the tree at the given node
 void traverse(org.w3c.dom.Node pos)
          Perform a pre-order traversal non-recursive style.
 
Methods inherited from class weblogic.apache.xml.utils.TreeWalker
endNode, getcontentHandler, traverse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeWalker2Result

public TreeWalker2Result(TransformerImpl transformer,
                         ResultTreeHandler handler)
Constructor.

Parameters:
transformer - Non-null transformer instance
handler - The Result tree handler to use
Method Detail

traverse

public void traverse(org.w3c.dom.Node pos)
              throws org.xml.sax.SAXException
Perform a pre-order traversal non-recursive style.

Parameters:
pos - Start node for traversal
Throws:
TransformerException -  
Overrides:
traverse in class TreeWalker

startNode

protected void startNode(org.w3c.dom.Node node)
                  throws org.xml.sax.SAXException
Start traversal of the tree at the given node

Parameters:
node - Starting node for traversal
Throws:
TransformerException -  
Overrides:
startNode in class TreeWalker

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.