Package | Description |
---|---|
org.apache.sling.resource.filter.impl | |
org.apache.sling.resource.filter.impl.node |
Modifier and Type | Class and Description |
---|---|
class |
ComparisonVisitor |
class |
LogicVisitor
Visitor implementation that handles the high level handling of logic between
statements that define the comparisons that would be performed.
|
Modifier and Type | Method and Description |
---|---|
Visitor<Function<org.apache.sling.api.resource.Resource,Object>> |
DefaultContext.getComparisonVisitor() |
Visitor<Function<org.apache.sling.api.resource.Resource,Object>> |
Context.getComparisonVisitor()
Retrieve the currently defined Comparison Visitor
|
Visitor<Predicate<org.apache.sling.api.resource.Resource>> |
DefaultContext.getLogicVisitor() |
Visitor<Predicate<org.apache.sling.api.resource.Resource>> |
Context.getLogicVisitor()
Retrieve the currently defined Logic Visitor
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultContext.setComparionVisitor(Visitor<Function<org.apache.sling.api.resource.Resource,Object>> comparisonVisitor) |
void |
Context.setComparionVisitor(Visitor<Function<org.apache.sling.api.resource.Resource,Object>> comparisonVisitor)
Replaces the existing Comparison Visitor, if present, with the provided Visitor
|
void |
DefaultContext.setLogicVisitor(Visitor<Predicate<org.apache.sling.api.resource.Resource>> logicVisitor) |
void |
Context.setLogicVisitor(Visitor<Predicate<org.apache.sling.api.resource.Resource>> logicVisitor)
Replaces the existing Logic Visitor, if present, with the provided Visitor
|
Modifier and Type | Method and Description |
---|---|
<R> R |
Node.accept(Visitor<R> visitor) |
<R> List<R> |
Node.visitChildren(Visitor<R> visitor) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.