org.n52.oxf.valueDomains.filter
Class FilterValueDomain

java.lang.Object
  extended by org.n52.oxf.valueDomains.filter.FilterValueDomain
All Implemented Interfaces:
IDiscreteValueDomain<IFilter>, IValueDomain<IFilter>

public class FilterValueDomain
extends Object
implements IDiscreteValueDomain<IFilter>

ValueDomain for OGC Filter Implementation Specification 1.1.0 conform filters, containsValue()-method checks only the FilterType!

Author:
Arne Broering

Constructor Summary
FilterValueDomain()
           
 
Method Summary
 void addPossibleValue(IFilter possibleValue)
           
 boolean containsValue(IFilter filter)
          checks if a filter (exactly: only the filterType) is contained in the possible filters (or exactly: filterTypes)
 String getDomainDescription()
           
 List<IFilter> getPossibleValues()
           
 IFilter produceValue(String... stringArray)
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterValueDomain

public FilterValueDomain()
Method Detail

addPossibleValue

public void addPossibleValue(IFilter possibleValue)

getPossibleValues

public List<IFilter> getPossibleValues()
Specified by:
getPossibleValues in interface IDiscreteValueDomain<IFilter>
Returns:
possible filters (only filterType is initialized!!)

containsValue

public boolean containsValue(IFilter filter)
checks if a filter (exactly: only the filterType) is contained in the possible filters (or exactly: filterTypes)

Specified by:
containsValue in interface IValueDomain<IFilter>
Parameters:
filter - the filter which should be checked
Returns:
true, if the filter is contained

getDomainDescription

public String getDomainDescription()
Specified by:
getDomainDescription in interface IValueDomain<IFilter>
Returns:
domain description

toXML

public String toXML()
Specified by:
toXML in interface IValueDomain<IFilter>
Returns:
xml-string of this valueDomain

produceValue

public IFilter produceValue(String... stringArray)
Specified by:
produceValue in interface IValueDomain<IFilter>


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