Package | Description |
---|---|
org.apache.sling.resource.filter.impl |
Modifier and Type | Class and Description |
---|---|
class |
DefaultContext |
Modifier and Type | Method and Description |
---|---|
Context |
DefaultContext.addFunction(String name,
BiFunction<Object[],org.apache.sling.api.resource.Resource,Object> functionImpl) |
Context |
Context.addFunction(String name,
BiFunction<Object[],org.apache.sling.api.resource.Resource,Object> functionImpl)
Adds a Function to the script to allow for customization.
|
Context |
DefaultContext.addParameter(String name,
Object object) |
Context |
Context.addParameter(String name,
Object object)
Allows an object to be represented in the script for evaluation.
|
Context |
DefaultContext.removeFunction(String name) |
Context |
Context.removeFunction(String name)
Remove the function with the given name from the context.
|
Context |
DefaultContext.replaceParameterMap(Map<String,Object> params) |
Context |
Context.replaceParameterMap(Map<String,Object> params)
Replaces the underlying parameter Map with the one provided
|
Constructor and Description |
---|
ComparisonVisitor(Context context) |
LogicVisitor(Context context) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.