Class FilterParser
java.lang.Object
org.apache.sling.resource.filter.impl.script.FilterParser
- All Implemented Interfaces:
FilterParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
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 Summary
ConstructorsConstructorDescriptionFilterParser(InputStream stream) Constructor with InputStream.FilterParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingFilterParser(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal Nodeand()final Nodeargument()final Nodefinal Tokenfinal Nodefinal voidDisable tracing.final Nodefinal voidEnable tracing.final Nodefunction()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final Nodegroup()final Nodeliteral()final Nodeor()final Nodeparse()final Nodeproperty()voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
FilterParser
Constructor with InputStream. -
FilterParser
Constructor with InputStream and supplied encoding -
FilterParser
Constructor. -
FilterParser
Constructor with generated Token Manager.
-
-
Method Details
-
parse
- Throws:
ParseException
-
or
- Throws:
ParseException
-
and
- Throws:
ParseException
-
constraint
- Throws:
ParseException
-
group
- Throws:
ParseException
-
comparison
- Throws:
ParseException
-
comparisonValue
- Throws:
ParseException
-
Arguments
- Throws:
ParseException
-
commaSepArguments
- Throws:
ParseException
-
argument
- Throws:
ParseException
-
function
- Throws:
ParseException
-
dynamicArg
- Throws:
ParseException
-
literal
- Throws:
ParseException
-
property
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-