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

java.lang.Object
  extended by org.geotools.data.wfs.v1_1_0.ReprojectingFilterVisitor.FunctionReprojector
All Implemented Interfaces:
org.opengis.filter.expression.Expression, org.opengis.filter.expression.Function
Enclosing class:
ReprojectingFilterVisitor

protected class ReprojectingFilterVisitor.FunctionReprojector
extends java.lang.Object
implements org.opengis.filter.expression.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 org.opengis.filter.expression.Expression
NIL
 
Constructor Summary
protected ReprojectingFilterVisitor.FunctionReprojector(org.opengis.referencing.crs.CoordinateReferenceSystem propertyCrs, org.opengis.filter.expression.Function delegate)
           
 
Method Summary
 java.lang.Object accept(org.opengis.filter.expression.ExpressionVisitor visitor, java.lang.Object extraData)
           
 java.lang.Object evaluate(java.lang.Object object)
           
<T> T
evaluate(java.lang.Object object, java.lang.Class<T> context)
           
 org.opengis.filter.expression.Literal getFallbackValue()
           
 java.lang.String getName()
           
 java.util.List<org.opengis.filter.expression.Expression> getParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReprojectingFilterVisitor.FunctionReprojector

protected ReprojectingFilterVisitor.FunctionReprojector(org.opengis.referencing.crs.CoordinateReferenceSystem propertyCrs,
                                                        org.opengis.filter.expression.Function delegate)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.opengis.filter.expression.Function

getParameters

public java.util.List<org.opengis.filter.expression.Expression> getParameters()
Specified by:
getParameters in interface org.opengis.filter.expression.Function

accept

public java.lang.Object accept(org.opengis.filter.expression.ExpressionVisitor visitor,
                               java.lang.Object extraData)
Specified by:
accept in interface org.opengis.filter.expression.Expression

evaluate

public java.lang.Object evaluate(java.lang.Object object)
Specified by:
evaluate in interface org.opengis.filter.expression.Expression

evaluate

public <T> T evaluate(java.lang.Object object,
                      java.lang.Class<T> context)
Specified by:
evaluate in interface org.opengis.filter.expression.Expression

getFallbackValue

public org.opengis.filter.expression.Literal getFallbackValue()
Specified by:
getFallbackValue in interface org.opengis.filter.expression.Function


Copyright © 1996-2010 Geotools. All Rights Reserved.