org.deegree.graphics.sld
Interface ParameterValueType

All Known Implementing Classes:
ParameterValueType_Impl

public interface ParameterValueType

The ParameterValueType element is a combination of text nodes and Filter-Expression element nodes.

Version:
$Revision: 1.4 $ $Date: 2004/01/12 14:48:13 $
Author:
Markus Schneider

Method Summary
 void addComponent(java.lang.Object component)
          Concatenates a component (a String or an Expression-object) to this ParameterValueType.
 java.lang.String evaluate(Feature feature)
          Returns the actual String value of this object.
 java.lang.Object[] getComponents()
          Returns the contents (mix of String/Expression-objects) of this ParameterValueType.
 void removeComponent(java.lang.Object component)
          Removes a component (a String or an Expression-object) from this ParameterValueType.
 void setComponents(java.lang.Object[] components)
          Sets the contents (mix of String/Expression-objects) of this ParameterValueType.
 

Method Detail

getComponents

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

Returns:
mix of String and 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/Expression-objects

addComponent

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

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

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 extual representation, ready to be printed
Throws:
FilterEvaluationException - if the evaluation fails