Uses of Interface
org.apache.xml.dtm.DTMIterator
| Package | Description |
|---|---|
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xml.dtm | |
| org.apache.xml.dtm.ref | |
| org.apache.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.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.objects |
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 DTMIterator Modifier and Type Method Description DTMIteratorElemForEach. sortNodes(XPathContext xctxt, Vector keys, DTMIterator sourceNodes)Sort given nodesMethods in org.apache.xalan.templates with parameters of type DTMIterator Modifier and Type Method Description DTMIteratorElemForEach. 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 DTMIterator Modifier and Type Class Description classKeyIteratorThis class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations.Methods in org.apache.xalan.transformer that return DTMIterator Modifier and Type Method Description DTMIteratorTransformerImpl. getContextNodeList()Get the current context node list.Methods in org.apache.xalan.transformer with parameters of type DTMIterator Modifier and Type Method Description voidNodeSorter. sort(DTMIterator v, Vector keys, XPathContext support)Given a vector of nodes, sort each node according to the criteria in the keys. -
Uses of DTMIterator in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return DTMIterator Modifier and Type Method Description DTMIteratorDTMIterator. cloneWithReset()Get a cloned Iterator that is reset to the start of the iteration.abstract DTMIteratorDTMManager. createDTMIterator(int node)Create a newDTMIteratorthat holds exactly one node.abstract DTMIteratorDTMManager. createDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)Create a newDTMIteratorbased only on a whatToShow and a DTMFilter.abstract DTMIteratorDTMManager. createDTMIterator(Object xpathCompiler, int pos)Create a newDTMIteratorbased on an XPath UnionExpr.abstract DTMIteratorDTMManager. createDTMIterator(String xpathString, PrefixResolver presolver)Create a newDTMIteratorbased on an XPath UnionExpr. -
Uses of DTMIterator in org.apache.xml.dtm.ref
Methods in org.apache.xml.dtm.ref that return DTMIterator Modifier and Type Method Description DTMIteratorDTMManagerDefault. createDTMIterator(int node)NEEDSDOC Method createDTMIterator NEEDSDOC @param node NEEDSDOC (createDTMIterator) @returnDTMIteratorDTMManagerDefault. createDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)NEEDSDOC Method createDTMIterator NEEDSDOC @param whatToShow NEEDSDOC @param filter NEEDSDOC @param entityReferenceExpansion NEEDSDOC (createDTMIterator) @returnDTMIteratorDTMManagerDefault. createDTMIterator(Object xpathCompiler, int pos)NEEDSDOC Method createDTMIterator NEEDSDOC @param xpathCompiler NEEDSDOC @param pos NEEDSDOC (createDTMIterator) @returnDTMIteratorDTMManagerDefault. createDTMIterator(String xpathString, PrefixResolver presolver)NEEDSDOC Method createDTMIterator NEEDSDOC @param xpathString NEEDSDOC @param presolver NEEDSDOC (createDTMIterator) @returnDTMIteratorDTMNodeIterator. getDTMIterator()Access the wrapped DTMIterator.DTMIteratorDTMNodeList. getDTMIterator()Access the wrapped DTMIterator.Constructors in org.apache.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 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 DTMIterator Modifier and Type Class Description classNodeSetDTMThe NodeSetDTM class can act as either a NodeVector, NodeList, or NodeIterator.Methods in org.apache.xpath that return DTMIterator Modifier and Type Method Description DTMIteratorExpression. asIterator(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator.DTMIteratorExpression. asIteratorRaw(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator, but do not clone.DTMIteratorNodeSetDTM. cloneWithReset()Get a cloned Iterator, and reset its state to the beginning of the iteration.DTMIteratorXPathContext. createDTMIterator(int node)Create a newDTMIteratorthat holds exactly one node.DTMIteratorXPathContext. createDTMIterator(int whatToShow, DTMFilter filter, boolean entityReferenceExpansion)Create a newDTMIteratorbased only on a whatToShow and a DTMFilter.DTMIteratorXPathContext. createDTMIterator(Object xpathCompiler, int pos)Create a newDTMIteratorbased on an XPath UnionExpr.DTMIteratorXPathContext. createDTMIterator(String xpathString, PrefixResolver presolver)Create a newDTMIteratorbased on an XPath UnionExpr.DTMIteratorXPathContext. getContextNodeList()Get the current context node list.DTMIteratorXPathContext. getContextNodes()Get the current context node list.Methods in org.apache.xpath with parameters of type DTMIterator Modifier and Type Method Description voidNodeSetDTM. addNodes(DTMIterator iterator)Copy NodeList members into this nodelist, adding in document order.voidNodeSetDTM. addNodesInDocOrder(DTMIterator iterator, XPathContext support)Copy NodeList members into this nodelist, adding in document order.voidXPathContext. pushContextNodeList(DTMIterator nl)Set the current context node list.Constructors in org.apache.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.apache.xpath.axes
Classes in org.apache.xpath.axes that implement DTMIterator Modifier and Type Class Description classAttributeIteratorThis class implements an optimized iterator for attribute axes patterns.classBasicTestIteratorBase for iterators that handle predicates.classChildIteratorThis class implements an optimized iterator for "node()" patterns, that is, any children of the context node.classChildTestIteratorThis class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.classDescendantIteratorThis class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.classFilterExprIteratorclassFilterExprIteratorSimpleClass to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.classLocPathIteratorThis class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPathclassMatchPatternIteratorThis 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.classNodeSequenceThis class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.classOneStepIteratorThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.classOneStepIteratorForwardThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e.classRTFIteratorclassSelfIteratorNoPredicateThis class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.classUnionChildIteratorThis class defines a simplified type of union iterator that only tests along the child axes.classUnionPathIteratorThis class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.classWalkingIteratorLocation path iterator that uses Walkers.classWalkingIteratorSortedThis class iterates over set of nodes that needs to be sorted.Fields in org.apache.xpath.axes declared as DTMIterator Modifier and Type Field Description protected DTMIteratorNodeSequence. m_iterThe functional iterator that fetches nodes.protected DTMIterator[]UnionPathIterator. m_iteratorsThe location path iterators, one for each location path contained in the union expression.Methods in org.apache.xpath.axes that return DTMIterator Modifier and Type Method Description DTMIteratorLocPathIterator. asIterator(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator.DTMIteratorBasicTestIterator. cloneWithReset()Get a cloned Iterator that is reset to the beginning of the query.DTMIteratorChildTestIterator. cloneWithReset()Get a cloned Iterator that is reset to the beginning of the query.DTMIteratorDescendantIterator. cloneWithReset()Get a cloned Iterator that is reset to the beginning of the query.DTMIteratorLocPathIterator. cloneWithReset()Get a cloned Iterator that is reset to the beginning of the query.DTMIteratorNodeSequence. cloneWithReset()Note: Not a deep clone.DTMIteratorOneStepIterator. cloneWithReset()Get a cloned Iterator that is reset to the beginning of the query.DTMIteratorNodeSequence. getContainedIter()Get the functional iterator that fetches nodes.DTMIteratorIteratorPool. getInstance()Get an instance of the given object in this poolDTMIteratorIteratorPool. 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.apache.xpath.axes with parameters of type DTMIterator Modifier and Type Method Description voidUnionPathIterator. addIterator(DTMIterator expr)Add an iterator to the union list.voidIteratorPool. freeInstance(DTMIterator obj)Add an instance of the given object to the poolvoidNodeSequence. setIter(DTMIterator iter)Set the functional iterator that fetches nodes.Constructors in org.apache.xpath.axes with parameters of type DTMIterator Constructor Description IteratorPool(DTMIterator original)Constructor IteratorPool -
Uses of DTMIterator in org.apache.xpath.objects
Classes in org.apache.xpath.objects that implement DTMIterator Modifier and Type Class Description classXNodeSetThis class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.classXNodeSetForDOMThis class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.classXNullThis 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 DTMIterator Modifier and Type Method Description DTMIteratorXRTreeFrag. asNodeIterator()Cast result object to a DTMIterator.DTMIteratorXRTreeFragSelectWrapper. asNodeIterator()Cast result object to a DTMIterator.DTMIteratorXNodeSet. iter()Cast result object to a nodelist.DTMIteratorXObject. iter()Cast result object to a nodelist.DTMIteratorXNodeSet. iterRaw()Return the iterator without cloning, etc.Methods in org.apache.xpath.objects with parameters of type DTMIterator Modifier and Type Method Description voidXNodeSet. release(DTMIterator iter)Constructors in org.apache.xpath.objects with parameters of type DTMIterator Constructor Description XNodeSet(DTMIterator val)Construct a XNodeSet object.