public class NamespaceAwareAttributeRenameVisitor extends DuplicatingFilterVisitor
ff
Constructor and Description |
---|
NamespaceAwareAttributeRenameVisitor(String sourceProperty,
String targetProperty) |
Modifier and Type | Method and Description |
---|---|
Expression |
visit(NestedAttributeExpression expression,
Object extraData)
Creates a copy of the input
NestedAttributeExpression with renamed attributes. |
Object |
visit(PropertyName expression,
Object extraData)
Creates a copy of the input
PropertyName expression with renamed attributes. |
getFactory, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitNullFilter
public Expression visit(NestedAttributeExpression expression, Object extraData)
NestedAttributeExpression
with renamed attributes.expression
- the expression to visitextraData
- if an instance of FilterFactory2
is passed, it is used to build the
returned expressionNestedAttributeExpression
expression with renamed attributespublic Object visit(PropertyName expression, Object extraData)
PropertyName
expression with renamed attributes.visit
in interface ExpressionVisitor
visit
in class DuplicatingFilterVisitor
expression
- the expression to visitextraData
- if an instance of FilterFactory2
is passed, it is used to build the
returned expressionPropertyName
expression with renamed attributesCopyright © 1996–2019 Geotools. All rights reserved.