Package org.apache.xalan.xsltc
Interface DOM
- All Known Subinterfaces:
DOMEnhancedForDTM
- All Known Implementing Classes:
AdaptiveResultTreeImpl
,DOMAdapter
,MultiDOM
,SAXImpl
,SimpleResultTreeImpl
public interface DOM
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(int textNode, SerializationHandler handler) void
copy
(int node, SerializationHandler handler) void
copy
(DTMAxisIterator nodes, SerializationHandler handler) int
getAttributeNode
(int gType, int element) getAxisIterator
(int axis) getChildren
(int node) int
getDocumentURI
(int node) int
getExpandedTypeID
(int node) returns singleton iterator containg the document rootgetLanguage
(int node) getNamespaceAxisIterator
(int axis, int ns) getNamespaceName
(int node) int
getNamespaceType
(int node) int
getNodeHandle
(int nodeId) int
getNodeIdent
(int nodehandle) getNodeName
(int node) getNodeNameX
(int node) getNodeValueIterator
(DTMAxisIterator iter, int returnType, String value, boolean op) int
getNSType
(int node) getNthDescendant
(int node, int n, boolean includeself) int
getParent
(int node) getResultTreeFrag
(int initialSize, int rtfType) getResultTreeFrag
(int initialSize, int rtfType, boolean addToDTMManager) int
getSize()
getStringValueX
(int node) getTypedAxisIterator
(int axis, int type) getTypedChildren
(int type) getUnparsedEntityURI
(String name) boolean
isAttribute
(int node) boolean
isElement
(int node) boolean
lessThan
(int node1, int node2) lookupNamespace
(int node, String prefix) makeNode
(int index) makeNode
(DTMAxisIterator iter) makeNodeList
(int index) makeNodeList
(DTMAxisIterator iter) orderNodes
(DTMAxisIterator source, int node) void
setFilter
(StripFilter filter) void
setupMapping
(String[] names, String[] urisArray, int[] typesArray, String[] namespaces) shallowCopy
(int node, SerializationHandler handler)
-
Field Details
-
FIRST_TYPE
static final int FIRST_TYPE- See Also:
-
NO_TYPE
static final int NO_TYPE- See Also:
-
NULL
static final int NULL- See Also:
-
RETURN_CURRENT
static final int RETURN_CURRENT- See Also:
-
RETURN_PARENT
static final int RETURN_PARENT- See Also:
-
SIMPLE_RTF
static final int SIMPLE_RTF- See Also:
-
ADAPTIVE_RTF
static final int ADAPTIVE_RTF- See Also:
-
TREE_RTF
static final int TREE_RTF- See Also:
-
-
Method Details
-
getIterator
DTMAxisIterator getIterator()returns singleton iterator containg the document root -
getStringValue
String getStringValue() -
getChildren
-
getTypedChildren
-
getAxisIterator
-
getTypedAxisIterator
-
getNthDescendant
-
getNamespaceAxisIterator
-
getNodeValueIterator
DTMAxisIterator getNodeValueIterator(DTMAxisIterator iter, int returnType, String value, boolean op) -
orderNodes
-
getNodeName
-
getNodeNameX
-
getNamespaceName
-
getExpandedTypeID
int getExpandedTypeID(int node) -
getNamespaceType
int getNamespaceType(int node) -
getParent
int getParent(int node) -
getAttributeNode
int getAttributeNode(int gType, int element) -
getStringValueX
-
copy
- Throws:
TransletException
-
copy
- Throws:
TransletException
-
shallowCopy
- Throws:
TransletException
-
lessThan
boolean lessThan(int node1, int node2) -
characters
- Throws:
TransletException
-
makeNode
-
makeNode
-
makeNodeList
-
makeNodeList
-
getLanguage
-
getSize
int getSize() -
getDocumentURI
-
setFilter
-
setupMapping
-
isElement
boolean isElement(int node) -
isAttribute
boolean isAttribute(int node) -
lookupNamespace
- Throws:
TransletException
-
getNodeIdent
int getNodeIdent(int nodehandle) -
getNodeHandle
int getNodeHandle(int nodeId) -
getResultTreeFrag
-
getResultTreeFrag
-
getOutputDomBuilder
SerializationHandler getOutputDomBuilder() -
getNSType
int getNSType(int node) -
getDocument
int getDocument() -
getUnparsedEntityURI
-
getElementsWithIDs
Hashtable getElementsWithIDs()
-