org.apache.xalan.xsltc
Interface DOM

All Known Implementing Classes:
DOMAdapter, DOMImpl, MultiDOM

public interface DOM


Field Summary
static int ATTRIBUTE
           
static int COMMENT
           
static int ELEMENT
           
static int FIRST_TYPE
           
static int NO_TYPE
           
static int NTYPES
           
static int NULL
           
static int PROCESSING_INSTRUCTION
           
static int ROOT
           
static int ROOTNODE
           
static int TEXT
           
static int UNUSED
           
 
Method Summary
 void characters(int textNode, TransletOutputHandler handler)
           
 void copy(int node, TransletOutputHandler handler)
           
 void copy(NodeIterator nodes, TransletOutputHandler handler)
           
 int getAttributeNode(int gType, int element)
           
 NodeIterator getAxisIterator(int axis)
           
 NodeIterator getChildren(int node)
           
 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 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)
           
 boolean lessThan(int node1, int node2)
           
 Node makeNode(int index)
           
 Node makeNode(NodeIterator iter)
           
 NodeList makeNodeList(int index)
           
 NodeList makeNodeList(NodeIterator iter)
           
 NodeIterator orderNodes(NodeIterator source, int node)
           
 java.lang.String shallowCopy(int node, TransletOutputHandler handler)
           
 

Field Detail

FIRST_TYPE

public static final int FIRST_TYPE

NO_TYPE

public static final int NO_TYPE

ROOT

public static final int ROOT

TEXT

public static final int TEXT

UNUSED

public static final int UNUSED

ELEMENT

public static final int ELEMENT

ATTRIBUTE

public static final int ATTRIBUTE

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION

COMMENT

public static final int COMMENT

NTYPES

public static final int NTYPES

NULL

public static final int NULL

ROOTNODE

public static final int ROOTNODE
Method Detail

getIterator

public NodeIterator getIterator()
returns singleton iterator containg the document root

getStringValue

public java.lang.String getStringValue()

getChildren

public NodeIterator getChildren(int node)

getTypedChildren

public NodeIterator getTypedChildren(int type)

getAxisIterator

public NodeIterator getAxisIterator(int axis)

getTypedAxisIterator

public NodeIterator getTypedAxisIterator(int axis,
                                         int type)

getNthDescendant

public NodeIterator getNthDescendant(int node,
                                     int n)

getNamespaceAxisIterator

public NodeIterator getNamespaceAxisIterator(int axis,
                                             int ns)

orderNodes

public NodeIterator orderNodes(NodeIterator source,
                               int node)

getNodeName

public java.lang.String getNodeName(int node)

getNamespaceName

public java.lang.String getNamespaceName(int node)

getType

public int getType(int node)

getNamespaceType

public int getNamespaceType(int node)

getParent

public int getParent(int node)

getAttributeNode

public int getAttributeNode(int gType,
                            int element)

getNodeValue

public java.lang.String getNodeValue(int node)

copy

public void copy(int node,
                 TransletOutputHandler handler)
          throws TransletException

copy

public void copy(NodeIterator nodes,
                 TransletOutputHandler handler)
          throws TransletException

shallowCopy

public java.lang.String shallowCopy(int node,
                                    TransletOutputHandler handler)
                             throws TransletException

lessThan

public boolean lessThan(int node1,
                        int node2)

characters

public void characters(int textNode,
                       TransletOutputHandler handler)
                throws TransletException

makeNode

public Node makeNode(int index)

makeNode

public Node makeNode(NodeIterator iter)

makeNodeList

public NodeList makeNodeList(int index)

makeNodeList

public NodeList makeNodeList(NodeIterator iter)

getLanguage

public java.lang.String getLanguage(int node)

getSize

public int getSize()


Copyright © 2000 Apache XML Project. All Rights Reserved.