Package org.apache.xalan.xsltc.dom
Class MultiDOM
java.lang.Object
org.apache.xalan.xsltc.dom.MultiDOM
- All Implemented Interfaces:
DOM
- Author:
- Jacek Ambroziak, Morten Jorgensen, Erwin Bolwidt invalid input: '<'ejb@klomp.org>
-
Field Summary
Fields inherited from interface org.apache.xalan.xsltc.DOM
ADAPTIVE_RTF, FIRST_TYPE, NULL, RETURN_CURRENT, RETURN_PARENT, SIMPLE_RTF, TREE_RTF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
addDOMAdapter
(DOMAdapter adapter) void
characters
(int textNode, SerializationHandler handler) void
copy
(int node, SerializationHandler handler) void
copy
(DTMAxisIterator nodes, SerializationHandler handler) int
getAttributeNode
(int type, int el) getAxisIterator
(int axis) getChildren
(int node) int
int
getDocumentMask
(String uri) getDocumentURI
(int node) getDOMAdapter
(String uri) int
getDTMId
(int nodeHandle) int
getExpandedTypeID
(int node) Returns singleton iterator containing the document rootgetLanguage
(int node) getMain()
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 iterator, int type, String value, boolean op) int
getNSType
(int node) getNthDescendant
(int node, int n, boolean includeself) Returns a DOMBuilder class wrapped in a SAX adapter.int
getParent
(int node) getResultTreeFrag
(int initSize, int rtfType) getResultTreeFrag
(int initSize, int rtfType, boolean addToManager) int
getSize()
getStringValueX
(int node) getTypedAxisIterator
(int axis, int type) getTypedChildren
(int type) getUnparsedEntityURI
(String entity) 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) int
nextMask()
orderNodes
(DTMAxisIterator source, int node) void
setFilter
(StripFilter filter) void
setupMapping
(String[] names, String[] uris, int[] types, String[] namespaces) shallowCopy
(int node, SerializationHandler handler)
-
Constructor Details
-
MultiDOM
-
-
Method Details
-
nextMask
public int nextMask() -
setupMapping
- Specified by:
setupMapping
in interfaceDOM
-
addDOMAdapter
-
getDocumentMask
-
getDOMAdapter
-
getDocument
public int getDocument()- Specified by:
getDocument
in interfaceDOM
-
getDTMManager
-
getIterator
Returns singleton iterator containing the document root- Specified by:
getIterator
in interfaceDOM
-
getStringValue
- Specified by:
getStringValue
in interfaceDOM
-
getChildren
- Specified by:
getChildren
in interfaceDOM
-
getTypedChildren
- Specified by:
getTypedChildren
in interfaceDOM
-
getAxisIterator
- Specified by:
getAxisIterator
in interfaceDOM
-
getTypedAxisIterator
- Specified by:
getTypedAxisIterator
in interfaceDOM
-
getNthDescendant
- Specified by:
getNthDescendant
in interfaceDOM
-
getNodeValueIterator
public DTMAxisIterator getNodeValueIterator(DTMAxisIterator iterator, int type, String value, boolean op) - Specified by:
getNodeValueIterator
in interfaceDOM
-
getNamespaceAxisIterator
- Specified by:
getNamespaceAxisIterator
in interfaceDOM
-
orderNodes
- Specified by:
orderNodes
in interfaceDOM
-
getExpandedTypeID
public int getExpandedTypeID(int node) - Specified by:
getExpandedTypeID
in interfaceDOM
-
getNamespaceType
public int getNamespaceType(int node) - Specified by:
getNamespaceType
in interfaceDOM
-
getNSType
public int getNSType(int node) -
getParent
public int getParent(int node) -
getAttributeNode
public int getAttributeNode(int type, int el) - Specified by:
getAttributeNode
in interfaceDOM
-
getNodeName
- Specified by:
getNodeName
in interfaceDOM
-
getNodeNameX
- Specified by:
getNodeNameX
in interfaceDOM
-
getNamespaceName
- Specified by:
getNamespaceName
in interfaceDOM
-
getStringValueX
- Specified by:
getStringValueX
in interfaceDOM
-
copy
- Specified by:
copy
in interfaceDOM
- Throws:
TransletException
-
copy
- Specified by:
copy
in interfaceDOM
- Throws:
TransletException
-
shallowCopy
- Specified by:
shallowCopy
in interfaceDOM
- Throws:
TransletException
-
lessThan
public boolean lessThan(int node1, int node2) -
characters
- Specified by:
characters
in interfaceDOM
- Throws:
TransletException
-
setFilter
-
makeNode
-
makeNode
-
makeNodeList
- Specified by:
makeNodeList
in interfaceDOM
-
makeNodeList
- Specified by:
makeNodeList
in interfaceDOM
-
getLanguage
- Specified by:
getLanguage
in interfaceDOM
-
getSize
public int getSize() -
getDocumentURI
- Specified by:
getDocumentURI
in interfaceDOM
-
isElement
public boolean isElement(int node) -
isAttribute
public boolean isAttribute(int node) - Specified by:
isAttribute
in interfaceDOM
-
getDTMId
public int getDTMId(int nodeHandle) -
getNodeIdent
public int getNodeIdent(int nodeHandle) - Specified by:
getNodeIdent
in interfaceDOM
-
getNodeHandle
public int getNodeHandle(int nodeId) - Specified by:
getNodeHandle
in interfaceDOM
-
getResultTreeFrag
- Specified by:
getResultTreeFrag
in interfaceDOM
-
getResultTreeFrag
- Specified by:
getResultTreeFrag
in interfaceDOM
-
getMain
-
getOutputDomBuilder
Returns a DOMBuilder class wrapped in a SAX adapter.- Specified by:
getOutputDomBuilder
in interfaceDOM
-
lookupNamespace
- Specified by:
lookupNamespace
in interfaceDOM
- Throws:
TransletException
-
getUnparsedEntityURI
- Specified by:
getUnparsedEntityURI
in interfaceDOM
-
getElementsWithIDs
- Specified by:
getElementsWithIDs
in interfaceDOM
-