| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.dtm.ref.DTMDefaultBase
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers
org.apache.xml.dtm.ref.DTMDefaultBaseIterators
public abstract class DTMDefaultBaseIterators
This class implements the traversers for DTMDefaultBase.
| Nested Class Summary | |
|---|---|
|  class | DTMDefaultBaseIterators.AncestorIteratorIterator that returns the ancestors of a given node in document order. | 
|  class | DTMDefaultBaseIterators.AttributeIteratorIterator that returns attribute nodes (of what nodes?) | 
|  class | DTMDefaultBaseIterators.ChildrenIteratorIterator that returns all immediate children of a given node | 
|  class | DTMDefaultBaseIterators.DescendantIteratorIterator that returns the descendants of a given node. | 
|  class | DTMDefaultBaseIterators.FollowingIteratorIterator that returns following nodes of for a given node. | 
|  class | DTMDefaultBaseIterators.FollowingSiblingIteratorIterator that returns all siblings of a given node. | 
|  class | DTMDefaultBaseIterators.InternalAxisIteratorBaseAbstract superclass defining behaviors shared by all DTMDefault's internal implementations of DTMAxisIterator. | 
|  class | DTMDefaultBaseIterators.NamespaceAttributeIteratorIterator that returns attributes within a given namespace for a node. | 
|  class | DTMDefaultBaseIterators.NamespaceChildrenIteratorIterator that returns children within a given namespace for a given node. | 
|  class | DTMDefaultBaseIterators.NamespaceIteratorIterator that returns the namespace nodes as defined by the XPath data model for a given node. | 
|  class | DTMDefaultBaseIterators.NthDescendantIteratorIterator that returns the descendants of a given node. | 
|  class | DTMDefaultBaseIterators.ParentIteratorIterator that returns the parent of a given node. | 
|  class | DTMDefaultBaseIterators.PrecedingIteratorIterator that returns preceding nodes of a given node. | 
|  class | DTMDefaultBaseIterators.PrecedingSiblingIteratorIterator that returns preceding siblings of a given node | 
|  class | DTMDefaultBaseIterators.RootIteratorIterator that returns the the root node as defined by the XPath data model for a given node. | 
|  class | DTMDefaultBaseIterators.SingletonIteratorClass SingletonIterator. | 
|  class | DTMDefaultBaseIterators.TypedAncestorIteratorTyped iterator that returns the ancestors of a given node. | 
|  class | DTMDefaultBaseIterators.TypedAttributeIteratorIterator that returns attribute nodes of a given type | 
|  class | DTMDefaultBaseIterators.TypedChildrenIteratorIterator that returns children of a given type for a given node. | 
|  class | DTMDefaultBaseIterators.TypedDescendantIteratorTyped iterator that returns the descendants of a given node. | 
|  class | DTMDefaultBaseIterators.TypedFollowingIteratorIterator that returns following nodes of a given type for a given node. | 
|  class | DTMDefaultBaseIterators.TypedFollowingSiblingIteratorIterator that returns all following siblings of a given node. | 
|  class | DTMDefaultBaseIterators.TypedNamespaceIteratorIterator that returns the namespace nodes as defined by the XPath data model for a given node, filtered by extended type ID. | 
|  class | DTMDefaultBaseIterators.TypedPrecedingIteratorIterator that returns preceding nodes of agiven type for a given node. | 
|  class | DTMDefaultBaseIterators.TypedPrecedingSiblingIteratorIterator that returns preceding siblings of a given type for a given node | 
|  class | DTMDefaultBaseIterators.TypedRootIteratorIterator that returns the namespace nodes as defined by the XPath data model for a given node, filtered by extended type ID. | 
|  class | DTMDefaultBaseIterators.TypedSingletonIteratorIterator that returns a given node only if it is of a given type. | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.xml.dtm.ref.DTMDefaultBase | 
|---|
| DEFAULT_BLOCKSIZE, DEFAULT_NUMBLOCKS, DEFAULT_NUMBLOCKS_SMALL, JJK_DEBUG, 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_shouldStripWhitespaceStack, m_shouldStripWS, m_size, m_traversers, m_wsfilter, m_xstrf, NOTPROCESSED, ROOTNODE | 
| 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 | |
|---|---|
| DTMDefaultBaseIterators(DTMManager mgr,
                                               javax.xml.transform.Source source,
                                               int dtmIdentity,
                                               DTMWSFilter whiteSpaceFilter,
                                               XMLStringFactory xstringfactory,
                                               boolean doIndexing)Construct a DTMDefaultBaseTraversers object from a DOM node. | |
| DTMDefaultBaseIterators(DTMManager mgr,
                                               javax.xml.transform.Source source,
                                               int dtmIdentity,
                                               DTMWSFilter whiteSpaceFilter,
                                               XMLStringFactory xstringfactory,
                                               boolean doIndexing,
                                               int blocksize,
                                               boolean usePrevsib,
                                               boolean newNameTable)Construct a DTMDefaultBaseTraversers object from a DOM node. | |
| Method Summary | |
|---|---|
|  DTMAxisIterator | getAxisIterator(int axis)This is a shortcut to the iterators that implement the XPath axes. | 
|  DTMAxisIterator | getTypedAxisIterator(int axis,
                                         int type)Get an iterator that can navigate over an XPath Axis, predicated by the extended type ID. | 
| Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers | 
|---|
| getAxisTraverser | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.xml.dtm.DTM | 
|---|
| getContentHandler, getDeclHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, getSourceLocatorFor, needsTwoThreads, setProperty | 
| Constructor Detail | 
|---|
public DTMDefaultBaseIterators(DTMManager mgr,
                               javax.xml.transform.Source source,
                               int dtmIdentity,
                               DTMWSFilter whiteSpaceFilter,
                               XMLStringFactory xstringfactory,
                               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.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,
                               javax.xml.transform.Source source,
                               int dtmIdentity,
                               DTMWSFilter whiteSpaceFilter,
                               XMLStringFactory xstringfactory,
                               boolean doIndexing,
                               int blocksize,
                               boolean usePrevsib,
                               boolean newNameTable)
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.| Method Detail | 
|---|
public DTMAxisIterator getTypedAxisIterator(int axis,
                                            int type)
axis - One of Axes.ANCESTORORSELF, etc.type - An extended type ID.
public DTMAxisIterator getAxisIterator(int axis)
axis - One of Axes.ANCESTORORSELF, etc.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||