Uses of Interface
org.apache.xml.dtm.DTMIterator
Packages that use DTMIterator
Package
Description
Implements the
Templates
interface,
and defines a set of classes that represent an XSLT stylesheet.In charge of run-time transformations and the production of result trees.
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.apache.xalan.templates
Methods in org.apache.xalan.templates that return DTMIteratorModifier and TypeMethodDescriptionElemForEach.sortNodes
(XPathContext xctxt, Vector keys, DTMIterator sourceNodes) Sort given nodesMethods in org.apache.xalan.templates with parameters of type DTMIteratorModifier and TypeMethodDescriptionElemForEach.sortNodes
(XPathContext xctxt, Vector keys, DTMIterator sourceNodes) Sort given nodes -
Uses of DTMIterator in org.apache.xalan.transformer
Classes in org.apache.xalan.transformer that implement DTMIteratorModifier and TypeClassDescriptionclass
This class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations.class
This class filters nodes from a key iterator, according to whether or not the use value matches the ref value.Methods in org.apache.xalan.transformer that return DTMIteratorModifier and TypeMethodDescriptionTransformerImpl.getContextNodeList()
Get the current context node list.Methods in org.apache.xalan.transformer with parameters of type DTMIteratorModifier and TypeMethodDescriptionvoid
NodeSorter.sort
(DTMIterator v, Vector keys, XPathContext support) Given a vector of nodes, sort each node according to the criteria in the keys.Constructors in org.apache.xalan.transformer with parameters of type DTMIteratorModifierConstructorDescriptionKeyRefIterator
(QName name, XMLString ref, Vector keyDecls, DTMIterator ki) Constructor KeyRefIterator -
Uses of DTMIterator in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return DTMIteratorModifier and TypeMethodDescriptionDTMIterator.cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.abstract DTMIterator
DTMManager.createDTMIterator
(int node) Create a newDTMIterator
that holds exactly one node.abstract DTMIterator
DTMManager.createDTMIterator
(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion) Create a newDTMIterator
based only on a whatToShow and a DTMFilter.abstract DTMIterator
DTMManager.createDTMIterator
(Object xpathCompiler, int pos) Create a newDTMIterator
based on an XPath <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath or a UnionExpr.abstract DTMIterator
DTMManager.createDTMIterator
(String xpathString, PrefixResolver presolver) Create a newDTMIterator
based on an XPath <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath or a UnionExpr. -
Uses of DTMIterator in org.apache.xml.dtm.ref
Methods in org.apache.xml.dtm.ref that return DTMIteratorModifier and TypeMethodDescriptionDTMManagerDefault.createDTMIterator
(int node) NEEDSDOC Method createDTMIterator NEEDSDOC @param node NEEDSDOC (createDTMIterator) @returnDTMManagerDefault.createDTMIterator
(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion) NEEDSDOC Method createDTMIterator NEEDSDOC @param whatToShow NEEDSDOC @param filter NEEDSDOC @param entityReferenceExpansion NEEDSDOC (createDTMIterator) @returnDTMManagerDefault.createDTMIterator
(Object xpathCompiler, int pos) NEEDSDOC Method createDTMIterator NEEDSDOC @param xpathCompiler NEEDSDOC @param pos NEEDSDOC (createDTMIterator) @returnDTMManagerDefault.createDTMIterator
(String xpathString, PrefixResolver presolver) NEEDSDOC Method createDTMIterator NEEDSDOC @param xpathString NEEDSDOC @param presolver NEEDSDOC (createDTMIterator) @returnDTMNodeIterator.getDTMIterator()
Access the wrapped DTMIterator.DTMNodeList.getDTMIterator()
Access the wrapped DTMIterator.Constructors in org.apache.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 WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) AGAINST THE DTMIterator. -
Uses of DTMIterator in org.apache.xpath
Classes in org.apache.xpath that implement DTMIteratorModifier and TypeClassDescriptionclass
The NodeSetDTM class can act as either a NodeVector, NodeList, or NodeIterator.Methods in org.apache.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.Expression.asIteratorRaw
(XPathContext xctxt, int contextNode) Given an select expression and a context, evaluate the XPath and return the resulting iterator, but do not clone.NodeSetDTM.cloneWithReset()
Get a cloned Iterator, and reset its state to the beginning of the iteration.XPathContext.createDTMIterator
(int node) Create a newDTMIterator
that holds exactly one node.XPathContext.createDTMIterator
(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion) Create a newDTMIterator
based only on a whatToShow and a DTMFilter.XPathContext.createDTMIterator
(Object xpathCompiler, int pos) Create a newDTMIterator
based on an XPath <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath or a UnionExpr.XPathContext.createDTMIterator
(String xpathString, PrefixResolver presolver) Create a newDTMIterator
based on an XPath <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath or a UnionExpr.final DTMIterator
XPathContext.getContextNodeList()
Get the current context node list.final DTMIterator
XPathContext.getContextNodes()
Get the current context node list.Methods in org.apache.xpath with parameters of type DTMIteratorModifier and TypeMethodDescriptionvoid
NodeSetDTM.addNodes
(DTMIterator iterator) Copy NodeList members into this nodelist, adding in document order.void
NodeSetDTM.addNodesInDocOrder
(DTMIterator iterator, XPathContext support) Copy NodeList members into this nodelist, adding in document order.final void
XPathContext.pushContextNodeList
(DTMIterator nl) Set the current context node list.Constructors in org.apache.xpath with parameters of type DTMIteratorModifierConstructorDescriptionCreate a NodeSetDTM, and copy the members of the given DTMIterator into it. -
Uses of DTMIterator in org.apache.xpath.axes
Classes in org.apache.xpath.axes that implement DTMIteratorModifier and TypeClassDescriptionclass
This class implements an optimized iterator for attribute axes patterns.class
Base for iterators that handle predicates.class
This class implements an optimized iterator for "node()" patterns, that is, any children of the context node.class
This class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.class
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.class
class
Class to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.class
This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath.class
This class treats a LocationPath as a filtered iteration over the tree, evaluating each node in a super axis traversal against the LocationPath interpreted as a match pattern.class
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.class
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.class
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e. it can not be used with ancestors, preceding, etc.)class
class
This class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.class
This class defines a simplified type of union iterator that only tests along the child axes.class
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.class
Location path iterator that uses Walkers.class
This class iterates over set of nodes that needs to be sorted.Methods in org.apache.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 beginning of the query.ChildTestIterator.cloneWithReset()
Get a cloned Iterator that is reset to the beginning of the query.DescendantIterator.cloneWithReset()
Get a cloned Iterator that is reset to the beginning of the query.LocPathIterator.cloneWithReset()
Get a cloned Iterator that is reset to the beginning of the query.NodeSequence.cloneWithReset()
Note: Not a deep clone.OneStepIterator.cloneWithReset()
Get a cloned Iterator that is reset to the beginning of the query.final DTMIterator
NodeSequence.getContainedIter()
Get the functional iterator that fetches nodes.IteratorPool.getInstance()
Get an instance of the given object in this poolIteratorPool.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.apache.xpath.axes with parameters of type DTMIteratorModifier and TypeMethodDescriptionvoid
UnionPathIterator.addIterator
(DTMIterator expr) Add an iterator to the union list.void
IteratorPool.freeInstance
(DTMIterator obj) Add an instance of the given object to the poolfinal void
NodeSequence.setIter
(DTMIterator iter) Set the functional iterator that fetches nodes.Constructors in org.apache.xpath.axes with parameters of type DTMIterator -
Uses of DTMIterator in org.apache.xpath.objects
Classes in org.apache.xpath.objects that implement DTMIteratorModifier and TypeClassDescriptionclass
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.class
This class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.class
This class represents an XPath null object, and is capable of converting the null to other types, such as a string.Methods in org.apache.xpath.objects that return DTMIteratorModifier and TypeMethodDescriptionXRTreeFrag.asNodeIterator()
Cast result object to a DTMIterator.XRTreeFragSelectWrapper.asNodeIterator()
Cast result object to a DTMIterator.XNodeSet.iter()
Cast result object to a nodelist.XObject.iter()
Cast result object to a nodelist.XNodeSet.iterRaw()
Return the iterator without cloning, etc.Methods in org.apache.xpath.objects with parameters of type DTMIteratorConstructors in org.apache.xpath.objects with parameters of type DTMIterator