org.apache.xalan.xsltc.dom
Class MultiDOM

java.lang.Object
  |
  +--org.apache.xalan.xsltc.dom.MultiDOM

public final class MultiDOM
extends java.lang.Object
implements DOM


Constructor Summary
MultiDOM(DOMAdapter main)
           
 
Method Summary
 int addDOMAdapter(DOMAdapter dom)
           
 void characters(int textNode, TransletOutputHandler handler)
           
 void copy(int node, TransletOutputHandler handler)
           
 void copy(NodeIterator nodes, TransletOutputHandler handler)
           
 int getAttributeNode(int type, int el)
           
 NodeIterator getAxisIterator(int axis)
           
 NodeIterator getChildren(int node)
           
 int getDocumentMask(java.lang.String uri)
           
 NodeIterator getIterator()
          returns singleton iterator containg the document root
 java.lang.String getLanguage(int node)
           
 NodeIterator getNamespaceAxisIterator(int axis, int ns)
           
 java.lang.String getNamespaceName(int node)
           
 int getNamespaceType(int node)
           
 java.lang.String getNodeName(int node)
           
 java.lang.String getNodeURI(int node)
           
 java.lang.String getNodeValue(int node)
           
 NodeIterator getNthDescendant(int node, int n)
           
 int getParent(int node)
           
 int getSize()
           
 java.lang.String getStringValue()
           
 int getType(int node)
           
 NodeIterator getTypedAxisIterator(int axis, int type)
           
 NodeIterator getTypedChildren(int type)
           
 int getTypedLast(NodeIterator iterator, int type, int node)
           
 int getTypedPosition(NodeIterator iterator, int type, int node)
           
 boolean lessThan(int node1, int node2)
           
 Node makeNode(int index)
           
 Node makeNode(NodeIterator iter)
           
 NodeList makeNodeList(int index)
           
 NodeList makeNodeList(NodeIterator iter)
           
 int nextMask()
           
 NodeIterator orderNodes(NodeIterator source, int node)
           
 void setFilter(StripWhitespaceFilter filter)
           
 java.lang.String shallowCopy(int node, TransletOutputHandler handler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDOM

public MultiDOM(DOMAdapter main)
Method Detail

nextMask

public int nextMask()

addDOMAdapter

public int addDOMAdapter(DOMAdapter dom)

getDocumentMask

public int getDocumentMask(java.lang.String uri)

getIterator

public NodeIterator getIterator()
returns singleton iterator containg the document root
Specified by:
getIterator in interface DOM

getStringValue

public java.lang.String getStringValue()
Specified by:
getStringValue in interface DOM

getChildren

public NodeIterator getChildren(int node)
Specified by:
getChildren in interface DOM

getTypedChildren

public NodeIterator getTypedChildren(int type)
Specified by:
getTypedChildren in interface DOM

getAxisIterator

public NodeIterator getAxisIterator(int axis)
Specified by:
getAxisIterator in interface DOM

getTypedAxisIterator

public NodeIterator getTypedAxisIterator(int axis,
                                         int type)
Specified by:
getTypedAxisIterator in interface DOM

getNthDescendant

public NodeIterator getNthDescendant(int node,
                                     int n)
Specified by:
getNthDescendant in interface DOM

getNamespaceAxisIterator

public NodeIterator getNamespaceAxisIterator(int axis,
                                             int ns)
Specified by:
getNamespaceAxisIterator in interface DOM

orderNodes

public NodeIterator orderNodes(NodeIterator source,
                               int node)
Specified by:
orderNodes in interface DOM

getType

public int getType(int node)
Specified by:
getType in interface DOM

getNamespaceType

public int getNamespaceType(int node)
Specified by:
getNamespaceType in interface DOM

getParent

public int getParent(int node)
Specified by:
getParent in interface DOM

getTypedPosition

public int getTypedPosition(NodeIterator iterator,
                            int type,
                            int node)

getTypedLast

public int getTypedLast(NodeIterator iterator,
                        int type,
                        int node)

getAttributeNode

public int getAttributeNode(int type,
                            int el)
Specified by:
getAttributeNode in interface DOM

getNodeName

public java.lang.String getNodeName(int node)
Specified by:
getNodeName in interface DOM

getNamespaceName

public java.lang.String getNamespaceName(int node)
Specified by:
getNamespaceName in interface DOM

getNodeValue

public java.lang.String getNodeValue(int node)
Specified by:
getNodeValue in interface DOM

copy

public void copy(int node,
                 TransletOutputHandler handler)
          throws TransletException
Specified by:
copy in interface DOM

copy

public void copy(NodeIterator nodes,
                 TransletOutputHandler handler)
          throws TransletException
Specified by:
copy in interface DOM

shallowCopy

public java.lang.String shallowCopy(int node,
                                    TransletOutputHandler handler)
                             throws TransletException
Specified by:
shallowCopy in interface DOM

lessThan

public boolean lessThan(int node1,
                        int node2)
Specified by:
lessThan in interface DOM

characters

public void characters(int textNode,
                       TransletOutputHandler handler)
                throws TransletException
Specified by:
characters in interface DOM

setFilter

public void setFilter(StripWhitespaceFilter filter)

makeNode

public Node makeNode(int index)
Specified by:
makeNode in interface DOM

makeNode

public Node makeNode(NodeIterator iter)
Specified by:
makeNode in interface DOM

makeNodeList

public NodeList makeNodeList(int index)
Specified by:
makeNodeList in interface DOM

makeNodeList

public NodeList makeNodeList(NodeIterator iter)
Specified by:
makeNodeList in interface DOM

getLanguage

public java.lang.String getLanguage(int node)
Specified by:
getLanguage in interface DOM

getSize

public int getSize()
Specified by:
getSize in interface DOM

getNodeURI

public java.lang.String getNodeURI(int node)


Copyright © 2000 Apache XML Project. All Rights Reserved.