Package org.apache.sling.resource.filter.impl.script

# Klasse FilterParser

java.lang.Object
org.apache.sling.resource.filter.impl.script.FilterParser

Alle implementierten Schnittstellen:
  `FilterParserConstants`

public final class FilterParser extends Object implements FilterParserConstants

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`Token`
`jj_nt`
Next token.
`Token`
`token`
Current token.
`FilterParserTokenManager`
`token_source`
Generated Token Manager.

### Von Schnittstelle geerbte Felder 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`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`FilterParser(InputStream stream)`
Constructor with InputStream.
`FilterParser(InputStream stream, String encoding)`
Constructor with InputStream and supplied encoding
`FilterParser(Reader stream)`
Constructor.
`FilterParser(FilterParserTokenManager tm)`
Constructor with generated Token Manager.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`final Node`
`and()`
`final Node`
`argument()`
`final List<Node>`
`Arguments()`
`final List<Node>`
`commaSepArguments()`
`final Node`
`comparison()`
`final Token`
`comparisonValue()`
`final Node`
`constraint()`
`final void`
`disable_tracing()`
Disable tracing.
`final Node`
`dynamicArg()`
`final void`
`enable_tracing()`
Enable tracing.
`final Node`
`function()`
`ParseException`
`generateParseException()`
Generate ParseException.
`final Token`
`getNextToken()`
Get the next Token.
`final Token`
`getToken(int index)`
Get the specific Token.
`final Node`
`group()`
`final Node`
`literal()`
`final Node`
`or()`
`final Node`
`parse()`
`final Node`
`property()`
`void`
`ReInit(InputStream stream)`
Reinitialise.
`void`
`ReInit(InputStream stream, String encoding)`
Reinitialise.
`void`
`ReInit(Reader stream)`
Reinitialise.
`void`
`ReInit(FilterParserTokenManager tm)`
Reinitialise.
`final boolean`
`trace_enabled()`
Trace enabled.

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Felddetails

### token_source

public FilterParserTokenManager token_source
Generated Token Manager.

### token

public Token token
Current token.

### jj_nt

public Token jj_nt
Next token.

## Konstruktordetails

### FilterParser

public FilterParser(InputStream stream)
Constructor with InputStream.

### FilterParser

public FilterParser(InputStream stream, String encoding)
Constructor with InputStream and supplied encoding

### FilterParser

public FilterParser(Reader stream)
Constructor.

### FilterParser

public FilterParser(FilterParserTokenManager tm)
Constructor with generated Token Manager.

## Methodendetails

### parse

public final Node parse() throws ParseException

Löst aus:
  `ParseException`

### or

public final Node or() throws ParseException

Löst aus:
  `ParseException`

### and

public final Node and() throws ParseException

Löst aus:
  `ParseException`

### constraint

public final Node constraint() throws ParseException

Löst aus:
  `ParseException`

### group

public final Node group() throws ParseException

Löst aus:
  `ParseException`

### comparison

public final Node comparison() throws ParseException

Löst aus:
  `ParseException`

### comparisonValue

public final Token comparisonValue() throws ParseException

Löst aus:
  `ParseException`

### Arguments

public final List<Node> Arguments() throws ParseException

Löst aus:
  `ParseException`

### commaSepArguments

public final List<Node> commaSepArguments() throws ParseException

Löst aus:
  `ParseException`

### argument

public final Node argument() throws ParseException

Löst aus:
  `ParseException`

### function

public final Node function() throws ParseException

Löst aus:
  `ParseException`

### dynamicArg

public final Node dynamicArg() throws ParseException

Löst aus:
  `ParseException`

### literal

public final Node literal() throws ParseException

Löst aus:
  `ParseException`

### property

public final Node property() throws ParseException

Löst aus:
  `ParseException`

### ReInit

public void ReInit(InputStream stream)
Reinitialise.

### ReInit

public void ReInit(InputStream stream, String encoding)
Reinitialise.

### ReInit

public void ReInit(Reader stream)
Reinitialise.

### ReInit

public void ReInit(FilterParserTokenManager tm)
Reinitialise.

### getNextToken

public final Token getNextToken()
Get the next Token.

### getToken

public final Token getToken(int index)
Get the specific Token.

### generateParseException

public ParseException generateParseException()
Generate ParseException.

### trace_enabled

public final boolean trace_enabled()
Trace enabled.

### enable_tracing

public final void enable_tracing()
Enable tracing.

### disable_tracing

public final void disable_tracing()
Disable tracing.