Uses of Interface
org.htmlunit.xpath.xml.dtm.DTMIterator
-
Packages that use DTMIterator Package Description org.htmlunit.xpath Implementation of XPath; for the most part, only classes meant for public use are found at this root level of the XPath packages.org.htmlunit.xpath.axes Implementation of XPath LocationPath support -- primary classes are LocPathIterator and UnionPathIterator.org.htmlunit.xpath.objects Implementation of XPath polymorphic type objects -- this package will grow as XPath objects are expanded to support XML Schema data types.org.htmlunit.xpath.xml.dtm org.htmlunit.xpath.xml.dtm.ref -
-
Uses of DTMIterator in org.htmlunit.xpath
Classes in org.htmlunit.xpath that implement DTMIterator Modifier and Type Class Description class
NodeSetDTM
The NodeSetDTM class can act as either a NodeVector, NodeList, or NodeIterator.Methods in org.htmlunit.xpath that return DTMIterator Modifier and Type Method Description DTMIterator
Expression. asIterator(XPathContext xctxt, int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator.DTMIterator
NodeSetDTM. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.Methods in org.htmlunit.xpath with parameters of type DTMIterator Modifier and Type Method Description void
NodeSetDTM. addNodes(DTMIterator iterator)
Copy NodeList members into this nodelist, adding in document order.Constructors in org.htmlunit.xpath with parameters of type DTMIterator Constructor Description NodeSetDTM(DTMIterator ni)
Create a NodeSetDTM, and copy the members of the given DTMIterator into it. -
Uses of DTMIterator in org.htmlunit.xpath.axes
Classes in org.htmlunit.xpath.axes that implement DTMIterator Modifier and Type Class Description class
AttributeIterator
This class implements an optimized iterator for attribute axes patterns.class
BasicTestIterator
Base for iterators that handle predicates.class
ChildIterator
This class implements an optimized iterator for "node()" patterns, that is, any children of the context node.class
ChildTestIterator
This class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.class
DescendantIterator
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.class
LocPathIterator
This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath.class
NodeSequence
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.class
OneStepIterator
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.class
OneStepIteratorForward
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e.class
SelfIteratorNoPredicate
This class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.class
UnionChildIterator
This class defines a simplified type of union iterator that only tests along the child axes.class
UnionPathIterator
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.class
WalkingIterator
Location path iterator that uses Walkers.class
WalkingIteratorSorted
This class iterates over set of nodes that needs to be sorted.Fields in org.htmlunit.xpath.axes declared as DTMIterator Modifier and Type Field Description protected DTMIterator[]
UnionPathIterator. iterators_
The location path iterators, one for each location path contained in the union expression.protected DTMIterator
NodeSequence. m_iter
The functional iterator that fetches nodes.private DTMIterator
IteratorPool. m_orig
Type of objects in this pool.Fields in org.htmlunit.xpath.axes with type parameters of type DTMIterator Modifier and Type Field Description private java.util.ArrayList<DTMIterator>
IteratorPool. m_freeStack
Stack of given objects this points to.Methods in org.htmlunit.xpath.axes that return DTMIterator Modifier and Type Method Description DTMIterator
LocPathIterator. asIterator(XPathContext xctxt, int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator.DTMIterator
BasicTestIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
ChildTestIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
DescendantIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
LocPathIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
NodeSequence. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
OneStepIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.DTMIterator
IteratorPool. getInstance()
Get an instance of the given object in this poolDTMIterator
IteratorPool. getInstanceOrThrow()
Get an instance of the given object in this poolstatic DTMIterator
WalkerFactory. newDTMIterator(Compiler compiler, int opPos, boolean isTopLevel)
Create a new LocPathIterator iterator.Methods in org.htmlunit.xpath.axes with parameters of type DTMIterator Modifier and Type Method Description void
IteratorPool. freeInstance(DTMIterator obj)
Add an instance of the given object to the poolvoid
NodeSequence. setIter(DTMIterator iter)
Set the functional iterator that fetches nodes.Constructors in org.htmlunit.xpath.axes with parameters of type DTMIterator Constructor Description IteratorPool(DTMIterator original)
Constructor IteratorPool -
Uses of DTMIterator in org.htmlunit.xpath.objects
Classes in org.htmlunit.xpath.objects that implement DTMIterator Modifier and Type Class Description class
XNodeSet
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.Methods in org.htmlunit.xpath.objects that return DTMIterator Modifier and Type Method Description DTMIterator
XNodeSet. iter()
Cast result object to a nodelist.DTMIterator
XObject. iter()
Cast result object to a nodelist.DTMIterator
XNodeSet. iterRaw()
Return the iterator without cloning, etc.Constructors in org.htmlunit.xpath.objects with parameters of type DTMIterator Constructor Description XNodeSet(DTMIterator val)
Construct a XNodeSet object. -
Uses of DTMIterator in org.htmlunit.xpath.xml.dtm
Methods in org.htmlunit.xpath.xml.dtm that return DTMIterator Modifier and Type Method Description DTMIterator
DTMIterator. cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration. -
Uses of DTMIterator in org.htmlunit.xpath.xml.dtm.ref
Fields in org.htmlunit.xpath.xml.dtm.ref declared as DTMIterator Modifier and Type Field Description private DTMIterator
DTMNodeIterator. dtm_iter
private DTMIterator
DTMNodeList. m_iter
Methods in org.htmlunit.xpath.xml.dtm.ref that return DTMIterator Modifier and Type Method Description DTMIterator
DTMNodeList. getDTMIterator()
Access the wrapped DTMIterator.Constructors in org.htmlunit.xpath.xml.dtm.ref with parameters of type DTMIterator Constructor Description DTMNodeIterator(DTMIterator dtmIterator)
Public constructor: Wrap a DTMNodeIterator around an existing and preconfigured DTMIteratorDTMNodeList(DTMIterator dtmIterator)
Public constructor: Wrap a DTMNodeList around an existing and preconfigured DTMIterator
-