Uses of Interface
org.htmlunit.xpath.xml.dtm.DTMIterator
Packages that use DTMIterator
Package
Description
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
-
Uses of DTMIterator in org.htmlunit.xpath
Classes in org.htmlunit.xpath that implement DTMIteratorModifier and TypeClassDescriptionclassThe NodeSetDTM class can act as either a NodeVector, NodeList, or NodeIterator.Methods in org.htmlunit.xpath that return DTMIteratorModifier and TypeMethodDescriptionExpression.asIterator(XPathContext xctxt, int contextNode) Given an select expression and a context, evaluate the XPath and return the resulting iterator.NodeSetDTM.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.Methods in org.htmlunit.xpath with parameters of type DTMIteratorModifier and TypeMethodDescriptionvoidNodeSetDTM.addNodes(DTMIterator iterator) Copy NodeList members into this nodelist, adding in document order.Constructors in org.htmlunit.xpath with parameters of type DTMIteratorModifierConstructorDescriptionCreate 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 DTMIteratorModifier and TypeClassDescriptionclassThis class implements an optimized iterator for attribute axes patterns.classBase for iterators that handle predicates.classThis class implements an optimized iterator for "node()" patterns, that is, any children of the context node.classThis class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.classThis class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.classThis class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath.classThis class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.classThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.classThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e.classThis class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.classThis class defines a simplified type of union iterator that only tests along the child axes.classThis class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.classLocation path iterator that uses Walkers.classThis class iterates over set of nodes that needs to be sorted.Fields in org.htmlunit.xpath.axes declared as DTMIteratorModifier and TypeFieldDescriptionprotected DTMIterator[]UnionPathIterator.iterators_The location path iterators, one for each location path contained in the union expression.protected DTMIteratorNodeSequence.m_iterThe functional iterator that fetches nodes.private final DTMIteratorIteratorPool.m_origType of objects in this pool.Fields in org.htmlunit.xpath.axes with type parameters of type DTMIteratorModifier and TypeFieldDescriptionprivate final ArrayList<DTMIterator> IteratorPool.m_freeStackStack of given objects this points to.Methods in org.htmlunit.xpath.axes that return DTMIteratorModifier and TypeMethodDescriptionLocPathIterator.asIterator(XPathContext xctxt, int contextNode) Given an select expression and a context, evaluate the XPath and return the resulting iterator.BasicTestIterator.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.ChildTestIterator.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.DescendantIterator.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.LocPathIterator.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.NodeSequence.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.OneStepIterator.cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.IteratorPool.getInstance()Get an instance of the given object in this poolIteratorPool.getInstanceOrThrow()Get an instance of the given object in this poolstatic DTMIteratorWalkerFactory.newDTMIterator(Compiler compiler, int opPos, boolean isTopLevel) Create a new LocPathIterator iterator.Methods in org.htmlunit.xpath.axes with parameters of type DTMIteratorModifier and TypeMethodDescriptionvoidIteratorPool.freeInstance(DTMIterator obj) Add an instance of the given object to the poolfinal voidNodeSequence.setIter(DTMIterator iter) Set the functional iterator that fetches nodes.Constructors in org.htmlunit.xpath.axes with parameters of type DTMIterator -
Uses of DTMIterator in org.htmlunit.xpath.objects
Classes in org.htmlunit.xpath.objects that implement DTMIteratorModifier and TypeClassDescriptionclassThis 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 DTMIteratorModifier and TypeMethodDescriptionXNodeSet.iter()Cast result object to a nodelist.XObject.iter()Cast result object to a nodelist.XNodeSet.iterRaw()Return the iterator without cloning, etc.Constructors in org.htmlunit.xpath.objects with parameters of type DTMIterator -
Uses of DTMIterator in org.htmlunit.xpath.xml.dtm
Methods in org.htmlunit.xpath.xml.dtm that return DTMIteratorModifier and TypeMethodDescriptionDTMIterator.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 DTMIteratorModifier and TypeFieldDescriptionprivate final DTMIteratorDTMNodeIterator.dtm_iterprivate DTMIteratorDTMNodeList.m_iterMethods in org.htmlunit.xpath.xml.dtm.ref that return DTMIteratorConstructors in org.htmlunit.xpath.xml.dtm.ref with parameters of type DTMIteratorModifierConstructorDescriptionDTMNodeIterator(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