org.apache.xalan.stree
Class StreeDOMHelper

java.lang.Object
  |
  +--org.apache.xpath.DOMHelper
        |
        +--org.apache.xpath.DOM2Helper
              |
              +--org.apache.xalan.stree.StreeDOMHelper

public class StreeDOMHelper
extends DOM2Helper

**For internal use only** Provides XSLTProcessor an interface to the Xerces XML parser. This liaison should be used if Xerces DOM nodes are being process as the source tree or as the result tree.


Constructor Summary
StreeDOMHelper()
           
 
Method Summary
 short getLevel(Node node1)
          **For internal use only** Get the depth level of this node in the tree.
 java.lang.String getUniqueID(Node node)
          Get the specified node's position in the document
 boolean isNamespaceNode(Node n)
          Tell if the given node is a namespace decl node.
 
Methods inherited from class org.apache.xpath.DOM2Helper
checkNode, getDocument, getElementByID, getLocalNameOfNode, getNamespaceOfNode, getParentOfNode, isNodeAfter, parse, setDocument, supportsSAX
 
Methods inherited from class org.apache.xpath.DOMHelper
createDocument, getDOMFactory, getExpandedAttributeName, getExpandedElementName, getNamespaceForPrefix, getNodeData, getNodeData, getRoot, getRootNode, getUnparsedEntityURI, isIgnorableWhitespace, setDOMFactory, shouldStripSourceNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreeDOMHelper

public StreeDOMHelper()
Method Detail

getUniqueID

public java.lang.String getUniqueID(Node node)
Get the specified node's position in the document
Parameters:
node - A node in the document tree
Returns:
The position of the node in the document
Overrides:
getUniqueID in class DOMHelper

getLevel

public short getLevel(Node node1)
**For internal use only** Get the depth level of this node in the tree.
Parameters:
node1 - A node in the document tree
Returns:
The depth level of this node in the tree
Overrides:
getLevel in class DOMHelper

isNamespaceNode

public boolean isNamespaceNode(Node n)
Tell if the given node is a namespace decl node.
Parameters:
n - A node in the document tree
Returns:
true if the node is a namespace decl node
Overrides:
isNamespaceNode in class DOMHelper


Copyright � 2000 Apache XML Project. All Rights Reserved.