Skip navigation links
A B C D E F G I J K L M N O P R S T U V W Y 

A

accept(Visitor<R>) - Method in class org.apache.sling.resource.filter.impl.node.Node
 
addEscapes(String) - Static method in error org.apache.sling.resource.filter.impl.script.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addFunction(String, BiFunction<Object[], Resource, Object>) - Method in interface org.apache.sling.resource.filter.impl.Context
Adds a Function to the script to allow for customization.
addFunction(String, BiFunction<Object[], Resource, Object>) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
addParam(String, Object) - Method in class org.apache.sling.resource.filter.ResourceFilterStream
Add a key - value pair that can then be evaluated as part of the Script
addParameter(String, Object) - Method in interface org.apache.sling.resource.filter.impl.Context
Allows an object to be represented in the script for evaluation.
addParameter(String, Object) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
addParameters(Map<String, Object>) - Method in interface org.apache.sling.resource.filter.impl.Context
Adds the provided Map to the underlying parameter map.
addParameters(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
addParams(Map<String, Object>) - Method in class org.apache.sling.resource.filter.ResourceFilterStream
Add a series of key - value pairs that can then be evaluated as part of the ScriptFilter
adjustBeginLineColumn(int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
and() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
AND - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
apply(Object[], Resource) - Method in interface org.apache.sling.resource.filter.impl.ResourceFilterFunction
This method returns a Object to be used as part of a comparison.
argument() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
Arguments() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 

B

backup(int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class org.apache.sling.resource.filter.impl.script.Token
The column number of the first character of this Token.
beginLine - Variable in class org.apache.sling.resource.filter.impl.script.Token
The line number of the first character of this Token.
BeginToken() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Start.
BOOLEAN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
bufcolumn - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
buffer - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
bufline - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
bufpos - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Position in buffer.

C

charAt(int) - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
children - Variable in class org.apache.sling.resource.filter.impl.node.Node
 
column - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
COMMA - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
commaSepArguments() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
comparison() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
ComparisonPredicateFactory - Class in org.apache.sling.resource.filter.impl.predicates
 
ComparisonPredicates - Class in org.apache.sling.resource.filter.impl.predicates
Predicates to handle comparisons that are defined in the filter language
ComparisonPredicates() - Constructor for class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
 
comparisonValue() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
ComparisonVisitor - Class in org.apache.sling.resource.filter.impl
 
ComparisonVisitor(Context) - Constructor for class org.apache.sling.resource.filter.impl.ComparisonVisitor
 
constraint() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
contains(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Right and Left values are converted to String arrays
CONTAINS - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
CONTAINS_ANY - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
CONTAINS_NOT - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
CONTAINS_NOT_ANY - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
containsAny(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Right and Left values are converted to String arrays
Context - Interface in org.apache.sling.resource.filter.impl
 
curChar - Variable in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
 
currentToken - Variable in exception org.apache.sling.resource.filter.impl.script.ParseException
This is the last token that has been consumed successfully.

D

DATE - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
DATETIME - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
debugStream - Variable in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Debug output.
DEFAULT - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
Lexical state.
DefaultContext - Class in org.apache.sling.resource.filter.impl
 
DefaultContext() - Constructor for class org.apache.sling.resource.filter.impl.DefaultContext
 
DIGIT - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
DIGITS - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
disable_tracing() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Disable tracing.
Done() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reset buffer when finished.
doubleValue() - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
DQUOTE - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
DYNAMIC_ARG - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
dynamicArg() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 

E

enable_tracing() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Enable tracing.
endColumn - Variable in class org.apache.sling.resource.filter.impl.script.Token
The column number of the last character of this Token.
endLine - Variable in class org.apache.sling.resource.filter.impl.script.Token
The line number of the last character of this Token.
EOF - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
End of File.
eol - Variable in exception org.apache.sling.resource.filter.impl.script.ParseException
The end of line string for this machine.
EQUAL - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
equals(Object) - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
EXP - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
ExpandBuff(boolean) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
expectedTokenSequences - Variable in exception org.apache.sling.resource.filter.impl.script.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

F

FillBuff() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
FilterParser - Class in org.apache.sling.resource.filter.impl.script
 
FilterParser(InputStream) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParser
Constructor with InputStream.
FilterParser(InputStream, String) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParser
Constructor with InputStream and supplied encoding
FilterParser(Reader) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParser
Constructor.
FilterParser(FilterParserTokenManager) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParser
Constructor with generated Token Manager.
FilterParserConstants - Interface in org.apache.sling.resource.filter.impl.script
Token literal values and constants.
FilterParserTokenManager - Class in org.apache.sling.resource.filter.impl.script
Token Manager.
FilterParserTokenManager(SimpleCharStream) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Constructor.
FilterParserTokenManager(SimpleCharStream, int) - Constructor for class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Constructor.
floatValue() - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
FRACTIONAL_DIGITS - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
function() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
FUNCTION_NAME - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

G

generateParseException() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Generate ParseException.
getAdapter(Object, Class<T>) - Method in class org.apache.sling.resource.filter.impl.ResourceFilterAdapter
 
getBeginColumn() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get token beginning line number.
getChildren() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
getColumn() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Deprecated.
getComparisonVisitor() - Method in interface org.apache.sling.resource.filter.impl.Context
Retrieve the currently defined Comparison Visitor
getComparisonVisitor() - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
getEndColumn() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get token end column number.
getEndLine() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get token end line number.
getFunction(String) - Method in interface org.apache.sling.resource.filter.impl.Context
Used to retrieve the function during script processing
getFunction(String) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
GetImage() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get token literal value.
getKind() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
getLeftNode() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
getLine() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Deprecated.
getLogicVisitor() - Method in interface org.apache.sling.resource.filter.impl.Context
Retrieve the currently defined Logic Visitor
getLogicVisitor() - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
getMessage() - Method in error org.apache.sling.resource.filter.impl.script.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Get the next Token.
getNextToken() - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Get the next Token.
getParameter(String) - Method in interface org.apache.sling.resource.filter.impl.Context
Retrieves the value object associated with the name
getParameter(String) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
getRightNode() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
GetSuffix(int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Get the suffix.
getTabSize(int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
getText() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
getToken(int) - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Get the specific Token.
getValue() - Method in class org.apache.sling.resource.filter.impl.script.Token
An optional attribute value of the Token.
GREATER_THAN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
GREATER_THAN_OR_EQUAL - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
group() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
gt(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to a Number, and then additionally converted to a common type as the basis of comparison
gte(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to a Number, and then additionally converted to a common type as the basis of comparison

I

image - Variable in class org.apache.sling.resource.filter.impl.script.Token
The string image of the token.
in(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Right and Left values are converted to String arrays
IN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
inBuf - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
input_stream - Variable in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
 
inputStream - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
INTEGER - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
intValue() - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
is(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to Strings.
isNot(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to Strings.

J

jj_nt - Variable in class org.apache.sling.resource.filter.impl.script.FilterParser
Next token.
jjFillToken() - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
 
jjstrLiteralImages - Static variable in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Token literal values.

K

kind - Variable in class org.apache.sling.resource.filter.impl.node.Node
 
kind - Variable in class org.apache.sling.resource.filter.impl.script.Token
An integer that describes the kind of this token.

L

leftNode - Variable in class org.apache.sling.resource.filter.impl.node.Node
 
length() - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
LESS_THAN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
LESS_THAN_OR_EQUAL - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
LexicalError(boolean, int, int, int, String, char) - Static method in error org.apache.sling.resource.filter.impl.script.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Lexer state names.
like(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to Strings.
LIKE - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
LIKE_NOT - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
line - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
listChildren(Predicate<Resource>) - Method in class org.apache.sling.resource.filter.ResourceStream
Provides a stream of the child resources of the base resource.
literal() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
LogicVisitor - Class in org.apache.sling.resource.filter.impl
Visitor implementation that handles the high level handling of logic between statements that define the comparisons that would be performed.
LogicVisitor(Context) - Constructor for class org.apache.sling.resource.filter.impl.LogicVisitor
 
longValue() - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
LPAREN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
lt(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to a Number, and then additionally converted to a common type as the basis of comparison
lte(Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicates
Values are converted to a Number, and then additionally converted to a common type as the basis of comparison

M

maxNextCharInd - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
MINUS - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

N

newToken(int, String) - Static method in class org.apache.sling.resource.filter.impl.script.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.apache.sling.resource.filter.impl.script.Token
 
next - Variable in class org.apache.sling.resource.filter.impl.script.Token
A reference to the next regular (non-special) token from the input stream.
Node - Class in org.apache.sling.resource.filter.impl.node
 
Node(int, String) - Constructor for class org.apache.sling.resource.filter.impl.node.Node
creates a node which represents a literal
Node(int, List<Node>) - Constructor for class org.apache.sling.resource.filter.impl.node.Node
creates a logical node
Node(int, String, List<Node>) - Constructor for class org.apache.sling.resource.filter.impl.node.Node
Node with children
Node(int, String, Node, Node) - Constructor for class org.apache.sling.resource.filter.impl.node.Node
Node used for comparison
NOT_EQUAL - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
NOT_IN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
Null - Class in org.apache.sling.resource.filter.impl.predicates
Utility class to represent a Null value while evaluating predicates
Null() - Constructor for class org.apache.sling.resource.filter.impl.predicates.Null
 
NULL - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
NUMBER - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

O

OFFSET - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
OFFSETDATETIME - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
or() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
OR - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
org.apache.sling.resource.filter - package org.apache.sling.resource.filter
 
org.apache.sling.resource.filter.impl - package org.apache.sling.resource.filter.impl
 
org.apache.sling.resource.filter.impl.node - package org.apache.sling.resource.filter.impl.node
 
org.apache.sling.resource.filter.impl.predicates - package org.apache.sling.resource.filter.impl.predicates
 
org.apache.sling.resource.filter.impl.script - package org.apache.sling.resource.filter.impl.script
 

P

parse(String) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
parse(String, String) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
parse(String) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl.ResourcePredicateBuilderImpl
 
parse(String, String) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl.ResourcePredicateBuilderImpl
 
parse() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
parse(String) - Method in interface org.apache.sling.resource.filter.ResourcePredicates
Creates a Predicate based on the provided script
parse(String, String) - Method in interface org.apache.sling.resource.filter.ResourcePredicates
Creates a Predicate based on the provided script
ParseException - Exception in org.apache.sling.resource.filter.impl.script
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.apache.sling.resource.filter.impl.script.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.apache.sling.resource.filter.impl.script.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.apache.sling.resource.filter.impl.script.ParseException
Constructor with message.
PLUS - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
prevCharIsCR - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
prevCharIsLF - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
property() - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
 
PROPERTY - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

R

readChar() - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Read a character.
ReInit(InputStream) - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Reinitialise.
ReInit(InputStream, String) - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Reinitialise.
ReInit(Reader) - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Reinitialise.
ReInit(FilterParserTokenManager) - Method in class org.apache.sling.resource.filter.impl.script.FilterParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Reinitialise.
removeFunction(String) - Method in interface org.apache.sling.resource.filter.impl.Context
Remove the function with the given name from the context.
removeFunction(String) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
replaceParameterMap(Map<String, Object>) - Method in interface org.apache.sling.resource.filter.impl.Context
Replaces the underlying parameter Map with the one provided
replaceParameterMap(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
resource - Variable in class org.apache.sling.resource.filter.ResourceStream
 
ResourceFilterAdapter - Class in org.apache.sling.resource.filter.impl
 
ResourceFilterAdapter() - Constructor for class org.apache.sling.resource.filter.impl.ResourceFilterAdapter
 
ResourceFilterFunction - Interface in org.apache.sling.resource.filter.impl
A ResourceFilterFunction implementation is used to translate a command in a script to a value object that will be used as part of a comparison
ResourceFilterStream - Class in org.apache.sling.resource.filter
Creates a Predicate of type Resource to identify matching Resource objects
ResourceFilterStream(Resource, ResourcePredicates) - Constructor for class org.apache.sling.resource.filter.ResourceFilterStream
 
ResourcePredicateImpl - Class in org.apache.sling.resource.filter.impl
 
ResourcePredicateImpl() - Constructor for class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
ResourcePredicateImpl.ResourcePredicateBuilderImpl - Class in org.apache.sling.resource.filter.impl
 
ResourcePredicates - Interface in org.apache.sling.resource.filter
Service which provides the ability to convert a String into a Predicate to match against Resource Objects
ResourcePredicates.ResourcePredicateBuilder - Interface in org.apache.sling.resource.filter
Provides a transitional state where multiple parameters can be applied before creating the Predicate
ResourceStream - Class in org.apache.sling.resource.filter
Utility to create a Stream of Resource objects from a managed traversal of a Resource tree
ResourceStream(Resource) - Constructor for class org.apache.sling.resource.filter.ResourceStream
 
rightNode - Variable in class org.apache.sling.resource.filter.impl.node.Node
 
RPAREN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.

S

setBranchSelector(String) - Method in class org.apache.sling.resource.filter.ResourceFilterStream
Adds a branchSelector to define which child resource are acceptable to travel down as part of the Resource traversal
setChildSelector(String) - Method in class org.apache.sling.resource.filter.ResourceFilterStream
Adds a childSelector to define which child resources should be part of the stream
setComparionVisitor(Visitor<Function<Resource, Object>>) - Method in interface org.apache.sling.resource.filter.impl.Context
Replaces the existing Comparison Visitor, if present, with the provided Visitor
setComparionVisitor(Visitor<Function<Resource, Object>>) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
setDebugStream(PrintStream) - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Set debug output.
setLogicVisitor(Visitor<Predicate<Resource>>) - Method in interface org.apache.sling.resource.filter.impl.Context
Replaces the existing Logic Visitor, if present, with the provided Visitor
setLogicVisitor(Visitor<Predicate<Resource>>) - Method in class org.apache.sling.resource.filter.impl.DefaultContext
 
setTabSize(int) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
SimpleCharStream - Class in org.apache.sling.resource.filter.impl.script
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Constructor.
specialToken - Variable in class org.apache.sling.resource.filter.impl.script.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
SQUOTE - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
staticFlag - Static variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
Whether parser is static.
stream() - Method in class org.apache.sling.resource.filter.ResourceFilterStream
Stream which uses the branchSelector as the basis of the traversal and then filters the resources based on the childSelector that was provided
stream(Predicate<Resource>) - Method in class org.apache.sling.resource.filter.ResourceStream
Provides a depth first Stream<Resource> traversal of the resource tree starting with the current resource.
STRING - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
subSequence(int, int) - Method in class org.apache.sling.resource.filter.impl.predicates.Null
 
SwitchTo(int) - Method in class org.apache.sling.resource.filter.impl.script.FilterParserTokenManager
Switch to specified lex state.

T

tabSize - Variable in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
text - Variable in class org.apache.sling.resource.filter.impl.node.Node
 
TIME - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
token - Variable in class org.apache.sling.resource.filter.impl.script.FilterParser
Current token.
Token - Class in org.apache.sling.resource.filter.impl.script
Describes the input token stream.
Token() - Constructor for class org.apache.sling.resource.filter.impl.script.Token
No-argument constructor
Token(int) - Constructor for class org.apache.sling.resource.filter.impl.script.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.apache.sling.resource.filter.impl.script.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class org.apache.sling.resource.filter.impl.script.FilterParser
Generated Token Manager.
tokenImage - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
Literal token values.
tokenImage - Variable in exception org.apache.sling.resource.filter.impl.script.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in org.apache.sling.resource.filter.impl.script
Token Manager Error.
TokenMgrError() - Constructor for error org.apache.sling.resource.filter.impl.script.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.apache.sling.resource.filter.impl.script.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.sling.resource.filter.impl.script.TokenMgrError
Full Constructor.
toPredicate(int, Function<Resource, Object>, Function<Resource, Object>) - Static method in class org.apache.sling.resource.filter.impl.predicates.ComparisonPredicateFactory
 
toString() - Method in class org.apache.sling.resource.filter.impl.node.Node
 
toString() - Method in class org.apache.sling.resource.filter.impl.script.Token
Returns the image.

U

UNKNOWN - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
UpdateLineColumn(char) - Method in class org.apache.sling.resource.filter.impl.script.SimpleCharStream
 
usingParameterMap(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl.ResourcePredicateBuilderImpl
 
usingParameterMap(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
usingParameterMap(Map<String, Object>) - Method in interface org.apache.sling.resource.filter.ResourcePredicates
Replaces the existing parameter map with the supplied Map object, all prior provided parameters will be replaced

V

visit(Node) - Method in class org.apache.sling.resource.filter.impl.ComparisonVisitor
 
visit(Node) - Method in class org.apache.sling.resource.filter.impl.LogicVisitor
 
visit(Node) - Method in interface org.apache.sling.resource.filter.impl.Visitor
 
visitChildren(Visitor<R>) - Method in class org.apache.sling.resource.filter.impl.node.Node
 
Visitor<R> - Interface in org.apache.sling.resource.filter.impl
An interface for visiting AST nodes

W

withParameter(String, Object) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl.ResourcePredicateBuilderImpl
 
withParameter(String, Object) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
withParameter(String, Object) - Method in interface org.apache.sling.resource.filter.ResourcePredicates
Adds a key - value pair that can then be evaluated as part of the Predicate creation
withParameters(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl.ResourcePredicateBuilderImpl
 
withParameters(Map<String, Object>) - Method in class org.apache.sling.resource.filter.impl.ResourcePredicateImpl
 
withParameters(Map<String, Object>) - Method in interface org.apache.sling.resource.filter.ResourcePredicates
Add a series of key - value pairs that can then be evaluated as part of the Predicate creation

Y

YYYYMMDD - Static variable in interface org.apache.sling.resource.filter.impl.script.FilterParserConstants
RegularExpression Id.
A B C D E F G I J K L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.