Package org.geotools.appschema.filter
Class AsMultiGeometryFunctionExpression
- Object
-
- ExpressionAbstract
-
- DefaultExpression
-
- FunctionExpressionImpl
-
- AsMultiGeometryFunctionExpression
-
- All Implemented Interfaces:
Expression
,Function
,FunctionExpression
,Factory
public class AsMultiGeometryFunctionExpression extends FunctionExpressionImpl
Function which wraps an instance of geometry in its associatd multi geometry type.- Point -> MultiPoint
- LineString -> MultiLineString
- Polygon -> MultiPolygon
This function takes a single argument expression which must evaluate to an instanceofGeometry
.- Author:
- Justin Deoliveira (The Open Planning Project)
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionName
NAME
-
Fields inherited from class FunctionExpressionImpl
fallback, functionName, name, params
-
Fields inherited from interface Expression
NIL
-
-
Constructor Summary
Constructors Constructor Description AsMultiGeometryFunctionExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Object obj)
Subclass should override, default implementation returns null.-
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toString
-
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
-
Methods inherited from class ExpressionAbstract
evaluate
-
Methods inherited from interface Expression
evaluate
-
-
-
-
Field Detail
-
NAME
public static FunctionName NAME
-
-
Method Detail
-
evaluate
public Object evaluate(Object obj)
Description copied from class:ExpressionAbstract
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionExpressionImpl
- Returns:
- default implementation returns null
-
-