Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xml.dtm.ref.DTMDefaultBase
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers
org.apache.xml.dtm.ref.DTMDefaultBaseIterators
public abstract class DTMDefaultBaseIterators
extends DTMDefaultBaseTraversers
Nested Class Summary | |
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
abstract class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
Field Summary |
Fields inherited from class org.apache.xml.dtm.ref.DTMDefaultBase | |
DEFAULT_BLOCKSIZE , DEFAULT_NUMBLOCKS , DEFAULT_NUMBLOCKS_SMALL , ROOTNODE , m_mgr |
Fields inherited from interface org.apache.xml.dtm.DTM | |
ATTRIBUTE_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 , ROOT_NODE , TEXT_NODE |
Constructor Summary | |
| |
|
Method Summary | |
DTMAxisIterator |
|
DTMAxisIterator |
|
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers | |
getAxisTraverser |
public DTMDefaultBaseIterators(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)
Construct a DTMDefaultBaseTraversers object from a DOM node.
- Parameters:
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.whiteSpaceFilter
- The white space filter for this DTM, which may be null.xstringfactory
- The factory to use for creating XMLStrings.doIndexing
- true if the caller considers it worth it to use indexing schemes.
public DTMDefaultBaseIterators(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)
Construct a DTMDefaultBaseTraversers object from a DOM node.
- Parameters:
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.whiteSpaceFilter
- The white space filter for this DTM, which may be null.xstringfactory
- The factory to use for creating XMLStrings.doIndexing
- true if the caller considers it worth it to use indexing schemes.blocksize
- The block size of the DTM.usePrevsib
- true if we want to build the previous sibling node array.newNameTable
- true if we want to use a new ExpandedNameTable for this DTM.
public DTMAxisIterator getAxisIterator(int axis)
This is a shortcut to the iterators that implement the XPath axes. Returns a bare-bones iterator that must be initialized with a start node (using iterator.setStartNode()).
- Specified by:
- getAxisIterator in interface DTM
- Parameters:
axis
- One of Axes.ANCESTORORSELF, etc.
- Returns:
- A DTMAxisIterator, or null if the given axis isn't supported.
public DTMAxisIterator getTypedAxisIterator(int axis, int type)
Get an iterator that can navigate over an XPath Axis, predicated by the extended type ID. Returns an iterator that must be initialized with a start node (using iterator.setStartNode()).
- Specified by:
- getTypedAxisIterator in interface DTM
- Parameters:
axis
- One of Axes.ANCESTORORSELF, etc.type
- An extended type ID.
- Returns:
- A DTMAxisIterator, or null if the given axis isn't supported.