public final class FilterParser extends Object implements FilterParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
FilterParserTokenManager |
token_source
Generated Token Manager.
|
AND, BOOLEAN, COMMA, CONTAINS, CONTAINS_ANY, CONTAINS_NOT, CONTAINS_NOT_ANY, DATE, DATETIME, DEFAULT, DIGIT, DIGITS, DQUOTE, DYNAMIC_ARG, EOF, EQUAL, EXP, EXPONENT, FRACTIONAL_DIGITS, FUNCTION_NAME, GREATER_THAN, GREATER_THAN_OR_EQUAL, IN, INTEGER, LESS_THAN, LESS_THAN_OR_EQUAL, LIKE, LIKE_NOT, LPAREN, MINUS, NOT_EQUAL, NOT_IN, NULL, NUMBER, OFFSET, OFFSETDATETIME, OR, PLUS, PROPERTY, RPAREN, SQUOTE, STRING, TIME, tokenImage, UNKNOWN, YYYYMMDD| Constructor and Description |
|---|
FilterParser(FilterParserTokenManager tm)
Constructor with generated Token Manager.
|
FilterParser(InputStream stream)
Constructor with InputStream.
|
FilterParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
FilterParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
and() |
Node |
argument() |
List<Node> |
Arguments() |
List<Node> |
commaSepArguments() |
Node |
comparison() |
Token |
comparisonValue() |
Node |
constraint() |
void |
disable_tracing()
Disable tracing.
|
Node |
dynamicArg() |
void |
enable_tracing()
Enable tracing.
|
Node |
function() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
Node |
group() |
Node |
literal() |
Node |
or() |
Node |
parse() |
Node |
property() |
void |
ReInit(FilterParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
public FilterParserTokenManager token_source
public Token token
public Token jj_nt
public FilterParser(InputStream stream)
public FilterParser(InputStream stream, String encoding)
public FilterParser(Reader stream)
public FilterParser(FilterParserTokenManager tm)
public final Node parse() throws ParseException
ParseExceptionpublic final Node or() throws ParseException
ParseExceptionpublic final Node and() throws ParseException
ParseExceptionpublic final Node constraint() throws ParseException
ParseExceptionpublic final Node group() throws ParseException
ParseExceptionpublic final Node comparison() throws ParseException
ParseExceptionpublic final Token comparisonValue() throws ParseException
ParseExceptionpublic final List<Node> Arguments() throws ParseException
ParseExceptionpublic final List<Node> commaSepArguments() throws ParseException
ParseExceptionpublic final Node argument() throws ParseException
ParseExceptionpublic final Node function() throws ParseException
ParseExceptionpublic final Node dynamicArg() throws ParseException
ParseExceptionpublic final Node literal() throws ParseException
ParseExceptionpublic final Node property() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(FilterParserTokenManager 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 © 2007–2018 The Apache Software Foundation. All rights reserved.