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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(int textNode, SerializationHandler handler) voidcopy(int node, SerializationHandler handler) voidcopy(DTMAxisIterator nodes, SerializationHandler handler) intgetAttributeNode(int gType, int element) getAxisIterator(int axis) getChildren(int node) intgetDocumentURI(int node) intgetExpandedTypeID(int node) returns singleton iterator containg the document rootgetLanguage(int node) getNamespaceAxisIterator(int axis, int ns) getNamespaceName(int node) intgetNamespaceType(int node) intgetNodeHandle(int nodeId) intgetNodeIdent(int nodehandle) getNodeName(int node) getNodeNameX(int node) getNodeValueIterator(DTMAxisIterator iter, int returnType, String value, boolean op) intgetNSType(int node) getNthDescendant(int node, int n, boolean includeself) intgetParent(int node) getResultTreeFrag(int initialSize, int rtfType) getResultTreeFrag(int initialSize, int rtfType, boolean addToDTMManager) intgetSize()getStringValueX(int node) getTypedAxisIterator(int axis, int type) getTypedChildren(int type) getUnparsedEntityURI(String name) booleanisAttribute(int node) booleanisElement(int node) booleanlessThan(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) voidsetFilter(StripFilter filter) voidsetupMapping(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()
-