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.
|
Modifier and Type | Method and Description |
---|---|
protected LocPathIterator |
RedundentExprEliminator.changePartToRef(QName uniquePseudoVarName,
WalkingIterator wi,
int numSteps,
boolean isGlobal)
Change a given number of steps to a single variable reference.
|
Modifier and Type | Method and Description |
---|---|
protected ElemVariable |
RedundentExprEliminator.addVarDeclToElem(ElemTemplateElement psuedoVarRecipient,
LocPathIterator lpi,
ElemVariable psuedoVar)
Add the given variable to the psuedoVarRecipient.
|
boolean |
AbsPathChecker.checkAbsolute(LocPathIterator path)
Process the LocPathIterator to see if it contains variables
or functions that may make it context dependent.
|
protected int |
RedundentExprEliminator.countSteps(LocPathIterator lpi)
Count the steps in a given location path.
|
protected ElemVariable |
RedundentExprEliminator.createGlobalPseudoVarDecl(QName uniquePseudoVarName,
StylesheetRoot stylesheetRoot,
LocPathIterator lpi)
Create a psuedo variable reference that will represent the
shared redundent XPath, for a local reduction.
|
protected ElemVariable |
RedundentExprEliminator.createLocalPseudoVarDecl(QName uniquePseudoVarName,
ElemTemplateElement psuedoVarRecipient,
LocPathIterator lpi)
Create a psuedo variable reference that will represent the
shared redundent XPath, for a local reduction.
|
protected ElemVariable |
RedundentExprEliminator.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.
|
boolean |
RedundentExprEliminator.isAbsolute(LocPathIterator path)
Tell if the given LocPathIterator is relative to an absolute path, i.e.
|
boolean |
RedundentExprEliminator.visitLocationPath(ExpressionOwner owner,
LocPathIterator path)
Visit a LocationPath.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyIterator
This class implements an optimized iterator for
"key()" patterns, matching each node to the
match attribute in one or more xsl:key declarations.
|
class |
KeyRefIterator
This class filters nodes from a key iterator, according to
whether or not the use value matches the ref value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XPathVisitor.visitLocationPath(ExpressionOwner owner,
LocPathIterator path)
Visit a LocationPath.
|
Modifier and Type | Class and 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 |
FilterExprIterator |
class |
FilterExprIteratorSimple
Class to use for one-step iteration that doesn't have a predicate, and
doesn't need to set the context.
|
class |
MatchPatternIterator
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 |
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.
|
Modifier and Type | Field and Description |
---|---|
protected LocPathIterator[] |
UnionPathIterator.m_exprs
The location path iterators, one for each
location
path contained in the union expression.
|
protected LocPathIterator |
PredicatedNodeTest.m_lpi
The owning location path iterator.
|
Modifier and Type | Method and Description |
---|---|
protected LocPathIterator |
UnionPathIterator.createDTMIterator(Compiler compiler,
int opPos)
Create a new location path iterator.
|
static LocPathIterator |
UnionPathIterator.createUnionIterator(Compiler compiler,
int opPos)
This will return an iterator capable of handling the union of paths given.
|
LocPathIterator |
PredicatedNodeTest.getLocPathIterator()
Get the owning location path iterator.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HasPositionalPredChecker.check(LocPathIterator path)
Process the LocPathIterator to see if it contains variables
or functions that may make it context dependent.
|
void |
PredicatedNodeTest.setLocPathIterator(LocPathIterator li)
Set the location path iterator owner for this walker.
|
Constructor and Description |
---|
AxesWalker(LocPathIterator locPathIterator,
int axis)
Construct an AxesWalker using a LocPathIterator.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.