org.geotools.data.wfs.v1_1_0
Class ReprojectingFilterVisitor.FunctionReprojector

Object
  extended by ReprojectingFilterVisitor.FunctionReprojector
All Implemented Interfaces:
Expression, Function
Enclosing class:
ReprojectingFilterVisitor

protected class ReprojectingFilterVisitor.FunctionReprojector
extends Object
implements Function

Makes sure that the result of a function gets reprojected to the specified CRS, should it be a Geometry

Author:
Justin DeOliveira - TOPP

Field Summary
 
Fields inherited from interface Expression
NIL
 
Constructor Summary
protected ReprojectingFilterVisitor.FunctionReprojector(CoordinateReferenceSystem propertyCrs, Function delegate)
           
 
Method Summary
 Object accept(ExpressionVisitor visitor, Object extraData)
           
 Object evaluate(Object object)
           
<T> T
evaluate(Object object, Class<T> context)
           
 Literal getFallbackValue()
           
 String getName()
           
 List<Expression> getParameters()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReprojectingFilterVisitor.FunctionReprojector

protected ReprojectingFilterVisitor.FunctionReprojector(CoordinateReferenceSystem propertyCrs,
                                                        Function delegate)
Method Detail

getName

public String getName()
Specified by:
getName in interface Function

getParameters

public List<Expression> getParameters()
Specified by:
getParameters in interface Function

accept

public Object accept(ExpressionVisitor visitor,
                     Object extraData)
Specified by:
accept in interface Expression

evaluate

public Object evaluate(Object object)
Specified by:
evaluate in interface Expression

evaluate

public <T> T evaluate(Object object,
                      Class<T> context)
Specified by:
evaluate in interface Expression

getFallbackValue

public Literal getFallbackValue()
Specified by:
getFallbackValue in interface Function


Copyright © 1996-2009 Geotools. All Rights Reserved.