public interface Compiler
| Modifier and Type | Field and Description | 
|---|---|
static int | 
AXIS_ANCESTOR  | 
static int | 
AXIS_ANCESTOR_OR_SELF  | 
static int | 
AXIS_ATTRIBUTE  | 
static int | 
AXIS_CHILD  | 
static int | 
AXIS_DESCENDANT  | 
static int | 
AXIS_DESCENDANT_OR_SELF  | 
static int | 
AXIS_FOLLOWING  | 
static int | 
AXIS_FOLLOWING_SIBLING  | 
static int | 
AXIS_NAMESPACE  | 
static int | 
AXIS_PARENT  | 
static int | 
AXIS_PRECEDING  | 
static int | 
AXIS_PRECEDING_SIBLING  | 
static int | 
AXIS_SELF  | 
static int | 
FUNCTION_CURRENT  | 
static int | 
NODE_TYPE_COMMENT  | 
static int | 
NODE_TYPE_NODE  | 
static int | 
NODE_TYPE_PI  | 
static int | 
NODE_TYPE_TEXT  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
ConfObject[] | 
getKP()  | 
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 | 
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 | 
number(String value)
Produces an EXPRESSION object that represents a numeric constant. 
 | 
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. 
 | 
static final int NODE_TYPE_NODE
static final int NODE_TYPE_TEXT
static final int NODE_TYPE_COMMENT
static final int NODE_TYPE_PI
static final int AXIS_SELF
static final int AXIS_CHILD
static final int AXIS_PARENT
static final int AXIS_ANCESTOR
static final int AXIS_ATTRIBUTE
static final int AXIS_NAMESPACE
static final int AXIS_PRECEDING
static final int AXIS_FOLLOWING
static final int AXIS_DESCENDANT
static final int AXIS_ANCESTOR_OR_SELF
static final int AXIS_FOLLOWING_SIBLING
static final int AXIS_PRECEDING_SIBLING
static final int AXIS_DESCENDANT_OR_SELF
static final int FUNCTION_CURRENT
Object number(String value)
value - numeric StringObject literal(String value)
value - String literalObject qname(String prefix, String name) throws ConfException, IOException
prefix - String prefixname - String nameConfExceptionIOExceptionConfObject[] getKP()
Object equal(Object left, Object right) throws ConfException
left - is an EXPRESSION objectright - is an EXPRESSION objectConfExceptionObject function(int code, Object[] args)
code - is one of FUNCTION_... constantsargs - are EXPRESSION objectsObject function(Object name, Object[] args)
name - is a QNAME object (function name)args - are EXPRESSION objectsObject nodeNameTest(Object qname)
qname - is a QNAME objectObject nodeTypeTest(int nodeType)
nodeType - is a NODE_TEST objectObject step(int axis, Object nodeTest, Object[] predicates)
axis - is one of the AXIS_... constantsnodeTest - is a NODE_TEST objectpredicates - are EXPRESSION objectsObject locationPath(boolean absolute, Object[] steps)
absolute - indicates whether the path is absolutesteps - are STEP objects