deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.filter.function.se
Class Substring

java.lang.Object
  extended by org.deegree.filter.expression.Function
      extended by org.deegree.filter.function.se.Substring
All Implemented Interfaces:
Expression

public class Substring
extends Function

Substring

Version:
$Revision: 20558 $, $Date: 2009-11-04 13:20:57 +0100 (Mi, 04 Nov 2009) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.filter.Expression
Expression.Type
 
Constructor Summary
Substring()
           
 
Method Summary
 Object[] evaluate(MatchableObject f)
          Determines the values of the expression for the given MatchableObject.
 void parse(XMLStreamReader in)
           
 
Methods inherited from class org.deegree.filter.expression.Function
getName, getParameters, getParams, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Substring

public Substring()
Method Detail

evaluate

public Object[] evaluate(MatchableObject f)
Description copied from interface: Expression
Determines the values of the expression for the given MatchableObject.

Note that this returns an Object[], as an expression may evaluate to multiple values, e.g. a PropertyName that targets a multi property of a feature.

Specified by:
evaluate in interface Expression
Overrides:
evaluate in class Function
Parameters:
f - object that the expression is evaluated upon
Returns:
the values of the expression, may be empty (and even contain null values), but never null

parse

public void parse(XMLStreamReader in)
           throws XMLStreamException
Parameters:
in -
Throws:
XMLStreamException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>