deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.sld
Class ParameterValueType

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

public class ParameterValueType
extends java.lang.Object
implements java.io.Serializable, Marshallable

Version:
$Revision: 18332 $, $Revision: 18332 $
Author:
Andreas Poth, last edited by: $Author: lbuesching $
See Also:
Serialized Form

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

Constructor Detail

ParameterValueType

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

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

getComponents

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

Returns:
mix of String/Expression -objects

setComponents

public void setComponents(java.lang.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(java.lang.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(java.lang.Object component)
Removes a component (aString or an Expression -object) from this ParameterValueType.

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

getValueAsPropertyName

public PropertyName getValueAsPropertyName()
Returns the value of the ParameterValueType as an PropertyName.

Returns:
the value of the parameter as an PropertyName

evaluate

public java.lang.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 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

deegree 2.5 (2011/06/29 09:44 build-8-official)

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