public class XPathParser extends Object implements XPathParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt |
boolean |
lookingAhead |
Token |
token |
XPathParserTokenManager |
token_source |
AND, 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, BaseChar, CombiningChar, COMMENT, DEFAULT, Digit, DIV, EOF, EQ, Extender, FUNCTION_BOOLEAN, FUNCTION_CEILING, FUNCTION_CONCAT, FUNCTION_CONTAINS, FUNCTION_COUNT, FUNCTION_FALSE, FUNCTION_FLOOR, FUNCTION_FORMAT_NUMBER, FUNCTION_ID, FUNCTION_KEY, FUNCTION_LANG, FUNCTION_LAST, FUNCTION_LOCAL_NAME, FUNCTION_NAME, FUNCTION_NAMESPACE_URI, FUNCTION_NORMALIZE_SPACE, FUNCTION_NOT, FUNCTION_NULL, FUNCTION_NUMBER, FUNCTION_POSITION, FUNCTION_ROUND, FUNCTION_STARTS_WITH, FUNCTION_STRING, FUNCTION_STRING_LENGTH, FUNCTION_SUBSTRING, FUNCTION_SUBSTRING_AFTER, FUNCTION_SUBSTRING_BEFORE, FUNCTION_SUM, FUNCTION_TRANSLATE, FUNCTION_TRUE, GT, GTE, Ideographic, Letter, Literal, LT, LTE, MINUS, MOD, NCName, NEQ, NODE, Number, OR, PI, PLUS, SLASH, SLASHSLASH, TEXT, tokenImage, UnicodeDigit, UNION, VARIABLE| Constructor and Description |
|---|
XPathParser(InputStream stream) |
XPathParser(Reader stream) |
XPathParser(XPathParserTokenManager tm) |
public XPathParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public XPathParser(InputStream stream)
public XPathParser(Reader stream)
public XPathParser(XPathParserTokenManager tm)
public void setCompiler(Compiler compiler)
public final String NCName() throws ParseException
ParseExceptionpublic final String NCName_Without_CoreFunctions() throws ParseException
ParseExceptionpublic final int CoreFunctionName()
throws ParseException
ParseExceptionpublic final Object QName() throws ParseException
ParseExceptionpublic final Object QName_Without_CoreFunctions() throws ParseException
ParseExceptionpublic final Object parseExpression() throws ParseException
ParseExceptionpublic final Object LocationPath() throws ParseException
ParseExceptionpublic final Object AbsoluteLocationPath() throws ParseException
ParseExceptionpublic final Object RelativeLocationPath() throws ParseException
ParseExceptionpublic final void LocationStep(ArrayList steps) throws ParseException
ParseExceptionpublic final void NodeTest(ArrayList steps) throws ParseException
ParseExceptionpublic final int AxisSpecifier()
throws ParseException
ParseExceptionpublic final int AxisName()
throws ParseException
ParseExceptionpublic final Object Predicate() throws ParseException
ParseExceptionpublic final int AbbreviatedAxisSpecifier()
throws ParseException
ParseExceptionpublic final Object Expression() throws ParseException
ParseExceptionpublic final Object PrimaryExpr() throws ParseException
ParseExceptionpublic final Object FunctionCall() throws ParseException
ParseExceptionpublic final Object CoreFunctionCall() throws ParseException
ParseExceptionpublic final ArrayList ArgumentList() throws ParseException
ParseExceptionpublic final Object Argument() throws ParseException
ParseExceptionpublic final Object UnionExpr() throws ParseException
ParseExceptionpublic final Object PathExpr() throws ParseException
ParseExceptionpublic final Object FilterExpr() throws ParseException
ParseExceptionpublic final Object OrExpr() throws ParseException
ParseExceptionpublic final Object AndExpr() throws ParseException
ParseExceptionpublic final Object EqualityExpr() throws ParseException
ParseExceptionpublic final Object RelationalExpr() throws ParseException
ParseExceptionpublic final Object AdditiveExpr() throws ParseException
ParseExceptionpublic final Object SubtractiveExpr() throws ParseException
ParseExceptionpublic final Object MultiplicativeExpr() throws ParseException
ParseExceptionpublic final Object UnaryExpr() throws ParseException
ParseExceptionpublic final Object FunctionName() throws ParseException
ParseExceptionpublic final Object VariableReference() throws ParseException
ParseExceptionpublic final Object WildcardName() throws ParseException
ParseExceptionpublic final int NodeType()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(Reader stream)
public void ReInit(XPathParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.