org.n52.oxf.ows.capabilities
Interface IValueDomain<T>

Type Parameters:
T - T is the type of the values that are contained in and can be added to this IValueDomain.
All Known Subinterfaces:
IBoundingBox, IDiscreteValueDomain<T>, IRangeValueDomain<T>
All Known Implementing Classes:
BoundingBox, BoundingBox2D, BoundingBox3D, DoubleDiscreteValueDomain, DoubleRangeValueDomain, FilterValueDomain, IntegerDiscreteValueDomain, IntegerRangeValueDomain, ObjectValueDomain, OpenValueDomain, SpatialDomain, StringOpenValueDomain, StringValueDomain, TemporalValueDomain

public interface IValueDomain<T>

This class can be seen as a special container. It is used by the class Parameter to lay down the domain of values which can be associated with the Parameter.
A central point of this class is the containsVaue(T t) method which can be used by the client to proof whether a value is contained by the domain or not. Some remarks on implementing this interface: Please don�t allow empty constructors. Because empty constructors dont make sense for the framework.

Author:
Arne Broering
See Also:
IRangeValueDomain, IDiscreteValueDomain

Method Summary
 boolean containsValue(T t)
           
 String getDomainDescription()
           
 T produceValue(String... stringArray)
           
 String toXML()
           
 

Method Detail

containsValue

boolean containsValue(T t)
Returns:
if the value t is part of this value domain.

getDomainDescription

String getDomainDescription()
Returns:
plain text description of this valueDomain.

toXML

String toXML()
Returns:
a XML representation of this ValueDomain.

produceValue

T produceValue(String... stringArray)


Copyright © 2012-2013 52north.org. All Rights Reserved.