Package com.tailf.conf
Class XPathAbrevCompiler
Object
com.tailf.conf.XPathAbrevCompiler
- All Implemented Interfaces:
Compiler
-
Field Summary
Fields inherited from interface com.tailf.conf.Compiler
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeys(MaapiSchemas.CSNode current, com.tailf.conf.XPathAbrevCompiler.XPathTag tag, ConfNamespace ns) Produces an EXPRESSION object representing the comparison: left equals to rightexpressionPath(Object expression, Object[] predicates, Object[] steps) Produces an EXPRESSION object representing a filter expressionProduces an EXPRESSION object representing the computation of a core function with the supplied arguments.Produces an EXPRESSION object representing the computation of a library function with the supplied arguments.getKP()Produces an EXPRESSION object that represents a string constant.locationPath(boolean absolute, Object[] steps) Produces an EXPRESSION object representing a location pathnodeNameTest(Object qname) Produces a NODE_TEST object that represents a node name test.nodeTypeTest(int nodeType) Produces a NODE_TEST object that represents a node type test.Produces an EXPRESSION object that represents a numeric constant.Produces an QNAME that represents a name with an optional prefix.Produces a STEP object that represents a node test.
-
Constructor Details
-
XPathAbrevCompiler
-
-
Method Details
-
number
Description copied from interface:CompilerProduces an EXPRESSION object that represents a numeric constant. -
literal
Description copied from interface:CompilerProduces an EXPRESSION object that represents a string constant. -
qname
Description copied from interface:CompilerProduces an QNAME that represents a name with an optional prefix.- Specified by:
qnamein interfaceCompiler- Parameters:
prefix- String prefixtagName- String name- Returns:
- Object
- Throws:
ConfExceptionIOException
-
addKeys
public void addKeys(MaapiSchemas.CSNode current, com.tailf.conf.XPathAbrevCompiler.XPathTag tag, ConfNamespace ns) -
getKP
-
equal
Description copied from interface:CompilerProduces an EXPRESSION object representing the comparison: left equals to right- Specified by:
equalin interfaceCompiler- Parameters:
left- is an EXPRESSION objectright- is an EXPRESSION object- Returns:
- Object
- Throws:
ConfException
-
function
Description copied from interface:CompilerProduces an EXPRESSION object representing the computation of a core function with the supplied arguments. -
function
Description copied from interface:CompilerProduces an EXPRESSION object representing the computation of a library function with the supplied arguments. -
nodeNameTest
Description copied from interface:CompilerProduces a NODE_TEST object that represents a node name test.- Specified by:
nodeNameTestin interfaceCompiler- Parameters:
qname- is a QNAME object- Returns:
- Object
-
nodeTypeTest
Description copied from interface:CompilerProduces a NODE_TEST object that represents a node type test.- Specified by:
nodeTypeTestin interfaceCompiler- Parameters:
nodeType- is a NODE_TEST object- Returns:
- Object
-
step
Description copied from interface:CompilerProduces a STEP object that represents a node test. -
locationPath
Description copied from interface:CompilerProduces an EXPRESSION object representing a location path- Specified by:
locationPathin interfaceCompiler- Parameters:
absolute- indicates whether the path is absolutesteps- are STEP objects- Returns:
- Object
-
expressionPath
Description copied from interface:CompilerProduces an EXPRESSION object representing a filter expression- Specified by:
expressionPathin interfaceCompiler- Parameters:
expression- is an EXPRESSION objectpredicates- are EXPRESSION objectssteps- are STEP objects- Returns:
- Object
-