Package | Description |
---|---|
org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
org.apache.xpath.compiler |
Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.
|
org.apache.xpath.functions |
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
|
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.
|
static void |
WalkerFactory.diagnoseIterator(String name,
int analysis,
Compiler compiler) |
static int |
WalkerFactory.getAxisFromStep(Compiler compiler,
int stepOpCodePos)
Special purpose function to see if we can optimize the pattern for
a DescendantIterator.
|
void |
FilterExprWalker.init(Compiler compiler,
int opPos,
int stepType)
Init a FilterExprWalker.
|
void |
AxesWalker.init(Compiler compiler,
int opPos,
int stepType)
Initialize an AxesWalker during the parse of the XPath expression.
|
protected void |
PredicatedNodeTest.initPredicateInfo(Compiler compiler,
int opPos)
Init predicate info.
|
protected void |
UnionPathIterator.loadLocationPaths(Compiler compiler,
int opPos,
int count)
Initialize the location path iterators.
|
static boolean |
WalkerFactory.mightBeProximate(Compiler compiler,
int opPos,
int stepType)
Tell if the predicates need to have proximity knowledge.
|
static DTMIterator |
WalkerFactory.newDTMIterator(Compiler compiler,
int opPos,
boolean isTopLevel)
Create a new LocPathIterator iterator.
|
Constructor and Description |
---|
BasicTestIterator(Compiler compiler,
int opPos,
int analysis)
Create a LocPathIterator object, including creation
of step walkers from the opcode list, and call back
into the Compiler to create predicate expressions.
|
BasicTestIterator(Compiler compiler,
int opPos,
int analysis,
boolean shouldLoadWalkers)
Create a LocPathIterator object, including creation
of step walkers from the opcode list, and call back
into the Compiler to create predicate expressions.
|
LocPathIterator(Compiler compiler,
int opPos,
int analysis)
Create a LocPathIterator object, including creation
of step walkers from the opcode list, and call back
into the Compiler to create predicate expressions.
|
LocPathIterator(Compiler compiler,
int opPos,
int analysis,
boolean shouldLoadWalkers)
Create a LocPathIterator object, including creation
of step walkers from the opcode list, and call back
into the Compiler to create predicate expressions.
|
UnionPathIterator(Compiler compiler,
int opPos)
Create a UnionPathIterator object, including creation
of location path iterators from the opcode list, and call back
into the Compiler to create predicate expressions.
|
Modifier and Type | Method and Description |
---|---|
void |
XPathParser.initMatchPattern(Compiler compiler,
String expression,
PrefixResolver namespaceContext)
Given an string, init an XPath object for pattern matches,
in order that a parse doesn't
have to be done each time the expression is evaluated.
|
void |
XPathParser.initXPath(Compiler compiler,
String expression,
PrefixResolver namespaceContext)
Given an string, init an XPath object for selections,
in order that a parse doesn't
have to be done each time the expression is evaluated.
|
Modifier and Type | Method and Description |
---|---|
void |
Function.postCompileStep(Compiler compiler)
This function is currently only being used by Position()
and Last().
|
void |
FuncPosition.postCompileStep(Compiler compiler)
Figure out if we're executing a toplevel expression.
|
void |
FuncLast.postCompileStep(Compiler compiler)
Figure out if we're executing a toplevel expression.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.