public abstract class DTMDefaultBaseTraversers extends DTMDefaultBase
PLEASE NOTE that the public interface for all traversers should be in terms of DTM Node Handles... but they may use the internal node identity indices within their logic, for efficiency's sake. Be very careful to avoid confusing these when maintaining this code.
DEFAULT_BLOCKSIZE, DEFAULT_NUMBLOCKS, DEFAULT_NUMBLOCKS_SMALL, m_documentBaseURI, m_dtmIdent, m_elemIndexes, m_expandedNameTable, m_exptype, m_firstch, m_indexing, m_mgr, m_mgrDefault, m_namespaceDeclSetElements, m_namespaceDeclSets, m_nextsib, m_parent, m_prevsib, m_size, m_traversers, NOTPROCESSED, ROOTNODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAMESPACE_NODE, NOTATION_NODE, NTYPES, NULL, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
DTMDefaultBaseTraversers(DTMManager mgr,
Source source,
int dtmIdentity,
boolean doIndexing)
Construct a DTMDefaultBaseTraversers object from a DOM node.
|
| Modifier and Type | Method and Description |
|---|---|
DTMAxisTraverser |
getAxisTraverser(int axis)
This returns a stateless "traverser", that can navigate over an XPath axis, though not in
document order.
|
_exptype, _firstch, _level, _nextsib, _parent, _prevsib, _type, declareNamespaceInContext, dumpDTM, dumpNode, ensureSizeOfIndex, error, findGTE, findInSortedSuballocatedIntVector, findNamespaceContext, getAttributeNode, getDocument, getDocumentRoot, getElementById, getExpandedTypeID, getExpandedTypeID, getFirstAttribute, getFirstAttributeIdentity, getFirstChild, getFirstNamespaceNode, getLastChild, getLocalName, getManager, getNamespaceURI, getNextAttribute, getNextAttributeIdentity, getNextNamespaceNode, getNextNodeIdentity, getNextSibling, getNode, getNodeName, getNodeNameX, getNodeType, getNodeValue, getOwnerDocument, getParent, getPrefix, getPreviousSibling, getStringValue, indexNode, isNodeAfter, makeNodeHandle, makeNodeIdentity, nextNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAxisIteratorpublic DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, boolean doIndexing)
mgr - The DTMManager who owns this DTM.source - The object that is used to specify the construction source.dtmIdentity - The DTM identity ID for this DTM.doIndexing - flagpublic DTMAxisTraverser getAxisTraverser(int axis)
axis - One of Axes.ANCESTORORSELF, etc.Copyright © 2022. All rights reserved.