Uses of Class
org.apache.xpath.compiler.Compiler

Packages that use Compiler
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. 
 

Uses of Compiler in org.apache.xpath.axes
 

Methods in org.apache.xpath.axes with parameters of type Compiler
private static int WalkerFactory.analyze(Compiler compiler, int stepOpCodePos, int stepIndex)
          Analyze the location path and return 32 bits that give information about the location path as a whole.
(package private) static boolean WalkerFactory.analyzePredicate(Compiler compiler, int opPos, int stepType)
          Analyze a step and give information about it's predicates.
private static StepPattern WalkerFactory.createDefaultStepPattern(Compiler compiler, int opPos, MatchPatternIterator mpi, int analysis, StepPattern tail, StepPattern head)
          Create a StepPattern that is contained within a LocationPath.
private static AxesWalker WalkerFactory.createDefaultWalker(Compiler compiler, int opPos, WalkingIterator lpi, int analysis)
          Create the proper Walker from the axes type.
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(java.lang.String name, int analysis, Compiler compiler)
           
(package private) static boolean WalkerFactory.functionProximateOrContainsProximate(Compiler compiler, int opPos)
           
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.
private static boolean WalkerFactory.isNaturalDocOrder(Compiler compiler, int stepOpCodePos, int stepIndex, int analysis)
          Tell if the pattern can be 'walked' with the iteration steps in natural document order, without duplicates.
private static boolean WalkerFactory.isOptimizableForDescendantIterator(Compiler compiler, int stepOpCodePos, int stepIndex)
          Special purpose function to see if we can optimize the pattern for a DescendantIterator.
(package private) static boolean WalkerFactory.isProximateInnerExpr(Compiler compiler, int opPos)
           
protected  void UnionPathIterator.loadLocationPaths(Compiler compiler, int opPos, int count)
          Initialize the location path iterators.
(package private) static AxesWalker WalkerFactory.loadOneWalker(WalkingIterator lpi, Compiler compiler, int stepOpCodePos)
          This method is for building an array of possible levels where the target element(s) could be found for a match.
(package private) static StepPattern WalkerFactory.loadSteps(MatchPatternIterator mpi, Compiler compiler, int stepOpCodePos, int stepIndex)
          Read a LocationPath as a generalized match pattern.
(package private) static AxesWalker WalkerFactory.loadWalkers(WalkingIterator lpi, Compiler compiler, int stepOpCodePos, int stepIndex)
          This method is for building an array of possible levels where the target element(s) could be found for a match.
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.
 

Constructors in org.apache.xpath.axes with parameters of type Compiler
AttributeIterator(Compiler compiler, int opPos, int analysis)
          Create a AttributeIterator object.
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.
ChildIterator(Compiler compiler, int opPos, int analysis)
          Create a ChildIterator object.
ChildTestIterator(Compiler compiler, int opPos, int analysis)
          Create a ChildTestIterator object.
DescendantIterator(Compiler compiler, int opPos, int analysis)
          Create a DescendantIterator object.
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.
MatchPatternIterator(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.
OneStepIterator(Compiler compiler, int opPos, int analysis)
          Create a OneStepIterator object.
OneStepIteratorForward(Compiler compiler, int opPos, int analysis)
          Create a OneStepIterator object.
SelfIteratorNoPredicate(Compiler compiler, int opPos, int analysis)
          Create a SelfIteratorNoPredicate object.
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.
WalkingIterator(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers)
          Create a WalkingIterator iterator, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
WalkingIteratorSorted(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers)
          Create a WalkingIterator iterator, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
 

Uses of Compiler in org.apache.xpath.compiler
 

Fields in org.apache.xpath.compiler declared as Compiler
private  Compiler Lexer.m_compiler
          The target XPath.
 

Methods in org.apache.xpath.compiler with parameters of type Compiler
 void XPathParser.initMatchPattern(Compiler compiler, java.lang.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, java.lang.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.
 

Constructors in org.apache.xpath.compiler with parameters of type Compiler
Lexer(Compiler compiler, PrefixResolver resolver, XPathParser xpathProcessor)
          Create a Lexer object.
 

Uses of Compiler in org.apache.xpath.functions
 

Methods in org.apache.xpath.functions with parameters of type Compiler
 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.