|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jxpath.ri.compiler.TreeCompiler
public class TreeCompiler
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
TreeCompiler()
|
|
| Method Summary | |
|---|---|
Object |
and(Object[] arguments)
Produces an EXPRESSION object representing logical conjunction of all arguments |
Object |
divide(Object left,
Object right)
Produces an EXPRESSION object representing left divided by right |
Object |
equal(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left equals to right |
Object |
expressionPath(Object expression,
Object[] predicates,
Object[] steps)
Produces an EXPRESSION object representing a filter expression |
Object |
function(int code,
Object[] args)
Produces an EXPRESSION object representing the computation of a core function with the supplied arguments. |
Object |
function(Object name,
Object[] args)
Produces an EXPRESSION object representing the computation of a library function with the supplied arguments. |
Object |
greaterThan(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left greater than right |
Object |
greaterThanOrEqual(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left greater than or equal to right |
Object |
lessThan(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left less than right |
Object |
lessThanOrEqual(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left less than or equal to right |
Object |
literal(String value)
Produces an EXPRESSION object that represents a string constant. |
Object |
locationPath(boolean absolute,
Object[] steps)
Produces an EXPRESSION object representing a location path |
Object |
minus(Object argument)
Produces an EXPRESSION object representing unary negation of the argument |
Object |
minus(Object left,
Object right)
Produces an EXPRESSION object representing left minus right |
Object |
mod(Object left,
Object right)
Produces an EXPRESSION object representing left modulo right |
Object |
multiply(Object left,
Object right)
Produces an EXPRESSION object representing left multiplied by right |
Object |
nodeNameTest(Object qname)
Produces a NODE_TEST object that represents a node name test. |
Object |
nodeTypeTest(int nodeType)
Produces a NODE_TEST object that represents a node type test. |
Object |
notEqual(Object left,
Object right)
Produces an EXPRESSION object representing the comparison: left is not equal to right |
Object |
number(String value)
Produces an EXPRESSION object that represents a numeric constant. |
Object |
or(Object[] arguments)
Produces an EXPRESSION object representing logical disjunction of all arguments |
Object |
processingInstructionTest(String instruction)
Produces a NODE_TEST object that represents a processing instruction test. |
Object |
qname(String prefix,
String name)
Produces an QNAME that represents a name with an optional prefix. |
Object |
step(int axis,
Object nodeTest,
Object[] predicates)
Produces a STEP object that represents a node test. |
Object |
sum(Object[] arguments)
Produces an EXPRESSION object representing the sum of all argumens |
Object |
union(Object[] arguments)
Produces an EXPRESSION object representing union of all node sets |
Object |
variableReference(Object qName)
Produces an EXPRESSION object representing variable reference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeCompiler()
| Method Detail |
|---|
public Object number(String value)
Compiler
number in interface Compilervalue - numeric String
public Object literal(String value)
Compiler
literal in interface Compilervalue - String literal
public Object qname(String prefix,
String name)
Compiler
qname in interface Compilerprefix - String prefixname - String name
public Object sum(Object[] arguments)
Compiler
sum in interface Compilerarguments - are EXPRESSION objects
public Object minus(Object left,
Object right)
Compiler
minus in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object multiply(Object left,
Object right)
Compiler
multiply in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object divide(Object left,
Object right)
Compiler
divide in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object mod(Object left,
Object right)
Compiler
mod in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object lessThan(Object left,
Object right)
Compiler
lessThan in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object lessThanOrEqual(Object left,
Object right)
Compiler
lessThanOrEqual in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object greaterThan(Object left,
Object right)
Compiler
greaterThan in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object greaterThanOrEqual(Object left,
Object right)
Compiler
greaterThanOrEqual in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object equal(Object left,
Object right)
Compiler
equal in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object notEqual(Object left,
Object right)
Compiler
notEqual in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION object
public Object minus(Object argument)
Compiler
minus in interface Compilerargument - is an EXPRESSION object
public Object variableReference(Object qName)
Compiler
variableReference in interface CompilerqName - is a QNAME object
public Object function(int code,
Object[] args)
Compiler
function in interface Compilercode - is one of FUNCTION_... constantsargs - are EXPRESSION objects
public Object function(Object name,
Object[] args)
Compiler
function in interface Compilername - is a QNAME object (function name)args - are EXPRESSION objects
public Object and(Object[] arguments)
Compiler
and in interface Compilerarguments - are EXPRESSION objects
public Object or(Object[] arguments)
Compiler
or in interface Compilerarguments - are EXPRESSION objects
public Object union(Object[] arguments)
Compiler
union in interface Compilerarguments - are EXPRESSION objects
public Object locationPath(boolean absolute,
Object[] steps)
Compiler
locationPath in interface Compilerabsolute - indicates whether the path is absolutesteps - are STEP objects
public Object expressionPath(Object expression,
Object[] predicates,
Object[] steps)
Compiler
expressionPath in interface Compilerexpression - is an EXPRESSION objectpredicates - are EXPRESSION objectssteps - are STEP objects
public Object nodeNameTest(Object qname)
Compiler
nodeNameTest in interface Compilerqname - is a QNAME object
public Object nodeTypeTest(int nodeType)
Compiler
nodeTypeTest in interface CompilernodeType - is a NODE_TEST object
public Object processingInstructionTest(String instruction)
Compiler
processingInstructionTest in interface Compilerinstruction - is a NODE_TEST object
public Object step(int axis,
Object nodeTest,
Object[] predicates)
Compiler
step in interface Compileraxis - is one of the AXIS_... constantsnodeTest - is a NODE_TEST objectpredicates - are EXPRESSION objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||