org.geotools.filter.function.string
Class ConcatenateFunction
Object
ExpressionAbstract
FunctionImpl
ConcatenateFunction
- All Implemented Interfaces:
- Expression, Function
public class ConcatenateFunction
- extends FunctionImpl
The function concatenates strings.
It is used to create concatenated strings as arguments of functions.
Implementation of Concatenate as defined by SE1.1.
- Author:
- Jody Garnett (Refractions Research, Inc.)
- Module:
modules/library/main (gt-main.jar)
Field Summary |
static FunctionName |
NAME
Make the instance of FunctionName available in
a consistent spot. |
Fields inherited from interface Expression |
NIL |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Expression |
evaluate |
NAME
public static final FunctionName NAME
- Make the instance of FunctionName available in
a consistent spot.
ConcatenateFunction
public ConcatenateFunction()
getName
public String getName()
- Description copied from class:
FunctionImpl
- Gets the name of this function.
- Specified by:
getName
in interface Function
- Overrides:
getName
in class FunctionImpl
- Returns:
- the name of the function.
getArgCount
public int getArgCount()
evaluate
public Object evaluate(Object feature)
- Description copied from class:
FunctionImpl
- Default implementation simply returns the fallbackValue.
Please override this method to produce a value based on the
provided arguments.
- Specified by:
evaluate
in interface Expression
- Overrides:
evaluate
in class FunctionImpl
- Parameters:
feature
- Object being evaluated; often a Feature
- Returns:
- value for the provided object
Copyright © 1996-2009 Geotools. All Rights Reserved.