com.plotnix.jex.jxpath
Class Compiler
java.lang.Object
|
+--com.plotnix.jex.Compiler
|
+--com.plotnix.jex.jxpath.Compiler
- public class Compiler
- extends Compiler
Integrates JXPath with Jex.
See
JXPath home page on Apache.
If Jex becomes a part of Jakarta, JXPath will change to implement
Jex interfaces directly. At that point the need for this adaptor
will disappear.
- Version:
- $Revision$ $Date$
- Author:
- Dmitri Plotnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compiler
public Compiler()
compileExpression
public Expression compileExpression(java.lang.String expression)
- Description copied from class:
Compiler
- Compiles an expression intended for evaluation
that produces a value. For example,
"2+2"
will be a valid argument for this method
for many expression languages.
May throw an UnsupportedOperationException.
- Overrides:
compileExpression
in class Compiler
- See Also:
Compiler.compileExpression(String)
compileIterationExpression
public IterationExpression compileIterationExpression(java.lang.String expression)
- Description copied from class:
Compiler
- Compiles an expression describing an iteration.
For example,
"addressBook//phone"
is a valid
argument for this method for an XPath compiler.
May throw an UnsupportedOperationException.
- Overrides:
compileIterationExpression
in class Compiler
- See Also:
Compiler.compileIterationExpression(String)
compileVariableExpression
public VariableExpression compileVariableExpression(java.lang.String expression)
- Description copied from class:
Compiler
- Compiles an expression describing the left hand side
of an assignment.
For example,
"addressBook/contact[name="John Doe"]/phone"
is a valid argument for this method for an XPath compiler.
May throw an UnsupportedOperationException.
- Overrides:
compileVariableExpression
in class Compiler
- See Also:
Compiler.compileVariableExpression(String)
Copyright (c) 2002 - Plotnix, Inc