Uses of Class
org.loboevolution.apache.xpath.compiler.Compiler
Packages that use Compiler
Package
Description
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.
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.
-
Uses of Compiler in org.loboevolution.apache.xpath.axes
Methods in org.loboevolution.apache.xpath.axes with parameters of type CompilerModifier and TypeMethodDescriptionprotected 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.static voidWalkerFactory.diagnoseIterator(String name, int analysis, Compiler compiler) static intWalkerFactory.getAxisFromStep(Compiler compiler, int stepOpCodePos) Special purpose function to see if we can optimize the pattern for a DescendantIterator.voidInitialize an AxesWalker during the parse of the XPath expression.voidInitialize an AxesWalker during the parse of the XPath expression.protected voidPredicatedNodeTest.initPredicateInfo(Compiler compiler, int opPos) Init predicate info.protected voidUnionPathIterator.loadLocationPaths(Compiler compiler, int opPos, int count) Initialize the location path iterators.static booleanWalkerFactory.mightBeProximate(Compiler compiler, int opPos, int stepType) Tell if the predicates need to have proximity knowledge.static DTMIteratorWalkerFactory.newDTMIterator(Compiler compiler, int opPos, boolean isTopLevel) Create a new LocPathIterator iterator.Constructors in org.loboevolution.apache.xpath.axes with parameters of type CompilerModifierConstructorDescriptionprotectedBasicTestIterator(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.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. -
Uses of Compiler in org.loboevolution.apache.xpath.compiler
Methods in org.loboevolution.apache.xpath.compiler with parameters of type CompilerModifier and TypeMethodDescriptionvoidXPathParser.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.voidXPathParser.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. -
Uses of Compiler in org.loboevolution.apache.xpath.functions
Methods in org.loboevolution.apache.xpath.functions with parameters of type CompilerModifier and TypeMethodDescriptionvoidFuncLast.postCompileStep(Compiler compiler) This function is currently only being used by Position() and Last().voidFuncPosition.postCompileStep(Compiler compiler) This function is currently only being used by Position() and Last().voidFunction.postCompileStep(Compiler compiler) This function is currently only being used by Position() and Last().