Uses of Class
org.apache.xpath.axes.LocPathIterator
| 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.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.
|
-
Uses of LocPathIterator in org.apache.xalan.templates
Methods in org.apache.xalan.templates that return LocPathIterator Modifier and Type Method Description protected LocPathIteratorRedundentExprEliminator. changePartToRef(QName uniquePseudoVarName, WalkingIterator wi, int numSteps, boolean isGlobal)Change a given number of steps to a single variable reference.Methods in org.apache.xalan.templates with parameters of type LocPathIterator Modifier and Type Method Description protected ElemVariableRedundentExprEliminator. addVarDeclToElem(ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi, ElemVariable psuedoVar)Add the given variable to the psuedoVarRecipient.booleanAbsPathChecker. checkAbsolute(LocPathIterator path)Process the LocPathIterator to see if it contains variables or functions that may make it context dependent.protected intRedundentExprEliminator. countSteps(LocPathIterator lpi)Count the steps in a given location path.protected ElemVariableRedundentExprEliminator. createGlobalPseudoVarDecl(QName uniquePseudoVarName, StylesheetRoot stylesheetRoot, LocPathIterator lpi)Create a psuedo variable reference that will represent the shared redundent XPath, for a local reduction.protected ElemVariableRedundentExprEliminator. createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi)Create a psuedo variable reference that will represent the shared redundent XPath, for a local reduction.protected ElemVariableRedundentExprEliminator. createPseudoVarDecl(ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi, boolean isGlobal)Create a psuedo variable reference that will represent the shared redundent XPath, and add it to the stylesheet.booleanRedundentExprEliminator. isAbsolute(LocPathIterator path)Tell if the given LocPathIterator is relative to an absolute path, i.e.booleanRedundentExprEliminator. visitLocationPath(ExpressionOwner owner, LocPathIterator path)Visit a LocationPath. -
Uses of LocPathIterator in org.apache.xalan.transformer
Subclasses of LocPathIterator in org.apache.xalan.transformer 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. -
Uses of LocPathIterator in org.apache.xpath
Methods in org.apache.xpath with parameters of type LocPathIterator Modifier and Type Method Description booleanXPathVisitor. visitLocationPath(ExpressionOwner owner, LocPathIterator path)Visit a LocationPath. -
Uses of LocPathIterator in org.apache.xpath.axes
Subclasses of LocPathIterator in org.apache.xpath.axes 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.classMatchPatternIteratorThis 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.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.classSelfIteratorNoPredicateThis 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 LocPathIterator Modifier and Type Field Description protected LocPathIterator[]UnionPathIterator. m_exprsThe location path iterators, one for each location path contained in the union expression.protected LocPathIteratorPredicatedNodeTest. m_lpiThe owning location path iterator.Methods in org.apache.xpath.axes that return LocPathIterator Modifier and Type Method Description protected LocPathIteratorUnionPathIterator. createDTMIterator(Compiler compiler, int opPos)Create a new location path iterator.static LocPathIteratorUnionPathIterator. createUnionIterator(Compiler compiler, int opPos)This will return an iterator capable of handling the union of paths given.LocPathIteratorPredicatedNodeTest. getLocPathIterator()Get the owning location path iterator.Methods in org.apache.xpath.axes with parameters of type LocPathIterator Modifier and Type Method Description static booleanHasPositionalPredChecker. check(LocPathIterator path)Process the LocPathIterator to see if it contains variables or functions that may make it context dependent.voidPredicatedNodeTest. setLocPathIterator(LocPathIterator li)Set the location path iterator owner for this walker.Constructors in org.apache.xpath.axes with parameters of type LocPathIterator Constructor Description AxesWalker(LocPathIterator locPathIterator, int axis)Construct an AxesWalker using a LocPathIterator.