deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.graphics.sld
Class ParameterValueType

java.lang.Object
  extended by org.deegree.graphics.sld.ParameterValueType
All Implemented Interfaces:
Serializable, Marshallable

public class ParameterValueType
extends Object
implements Serializable, Marshallable

Version:
$Revision: 12167 $, $Revision: 12167 $
Author:
Andreas Poth, last edited by: $Author: aschmitz $
See Also:
Serialized Form

Constructor Summary
ParameterValueType(Object[] components)
          Constructs a new ParameterValueType.
 
Method Summary
 void addComponent(Object component)
          Concatenates a component (aString or an Expression -object) to this ParameterValueType.
 String evaluate(Feature feature)
          Returns the actual String value of this object.
 String exportAsXML()
          Exports the content of the ParameterValueType as an XML formatted String.
 Object[] getComponents()
          Returns the contents (mix of String/Expression -objects) of this ParameterValueType.
 void removeComponent(Object component)
          Removes a component (aString or an Expression -object) from this ParameterValueType.
 void setComponents(Object[] components)
          Sets the contents (mix of String/Expression -objects) of this ParameterValueType.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterValueType

public ParameterValueType(Object[] components)
Constructs a new ParameterValueType.

Parameters:
components - Strings/Expression s that make up the contents of the ParameterValueType
Method Detail

getComponents

public Object[] getComponents()
Returns the contents (mix of String/Expression -objects) of this ParameterValueType.

Returns:
mix of String/Expression -objects

setComponents

public void setComponents(Object[] components)
Sets the contents (mix of String/Expression -objects) of this ParameterValueType.

Parameters:
components - mix of String and Expression -objects

addComponent

public void addComponent(Object component)
Concatenates a component (aString or an Expression -object) to this ParameterValueType.

Parameters:
component - either a String or an Expression -object

removeComponent

public void removeComponent(Object component)
Removes a component (aString or an Expression -object) from this ParameterValueType.

Parameters:
component - either a String or an Expression -object

evaluate

public String evaluate(Feature feature)
                throws FilterEvaluationException
Returns the actual String value of this object. Expressions are evaluated according to the given Feature -instance.

Parameters:
feature - used for the evaluation of the underlying 'wfs:Expression'-elements
Returns:
the (evaluated) String value
Throws:
FilterEvaluationException - if the evaluation fails

exportAsXML

public String exportAsXML()
Exports the content of the ParameterValueType as an XML formatted String.

Specified by:
exportAsXML in interface Marshallable
Returns:
xml representation of the ParameterValueType

toString

public String toString()
Overrides:
toString in class Object

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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