AXIS_ANCESTOR, AXIS_ANCESTOR_OR_SELF, AXIS_ATTRIBUTE, AXIS_CHILD, AXIS_DESCENDANT, AXIS_DESCENDANT_OR_SELF, AXIS_FOLLOWING, AXIS_FOLLOWING_SIBLING, AXIS_NAMESPACE, AXIS_PARENT, AXIS_PRECEDING, AXIS_PRECEDING_SIBLING, AXIS_SELF, FUNCTION_CURRENT, NODE_TYPE_COMMENT, NODE_TYPE_NODE, NODE_TYPE_PI, NODE_TYPE_TEXT| Constructor and Description | 
|---|
XPathAbrevCompiler(MountIdInterface mountGetter)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addKeys(MaapiSchemas.CSNode current,
       com.tailf.conf.XPathAbrevCompiler.XPathTag tag,
       ConfNamespace ns)  | 
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 tagName)
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. 
 | 
public XPathAbrevCompiler(MountIdInterface mountGetter)
public Object number(String value)
Compilerpublic Object literal(String value)
Compilerpublic Object qname(String prefix, String tagName) throws ConfException, IOException
Compilerqname in interface Compilerprefix - String prefixtagName - String nameConfExceptionIOExceptionpublic void addKeys(MaapiSchemas.CSNode current, com.tailf.conf.XPathAbrevCompiler.XPathTag tag, ConfNamespace ns)
public ConfObject[] getKP()
public Object equal(Object left, Object right) throws ConfException
Compilerequal in interface Compilerleft - is an EXPRESSION objectright - is an EXPRESSION objectConfExceptionpublic Object function(int code, Object[] args)
Compilerpublic Object function(Object name, Object[] args)
Compilerpublic Object nodeNameTest(Object qname)
CompilernodeNameTest in interface Compilerqname - is a QNAME objectpublic Object nodeTypeTest(int nodeType)
CompilernodeTypeTest in interface CompilernodeType - is a NODE_TEST objectpublic Object step(int axis, Object nodeTest, Object[] predicates)
Compilerpublic Object locationPath(boolean absolute, Object[] steps)
CompilerlocationPath in interface Compilerabsolute - indicates whether the path is absolutesteps - are STEP objectspublic Object expressionPath(Object expression, Object[] predicates, Object[] steps)
CompilerexpressionPath in interface Compilerexpression - is an EXPRESSION objectpredicates - are EXPRESSION objectssteps - are STEP objects