|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.oxf.valueDomains.filter.LogicFilter
public class LogicFilter
Class represents a logical filter which is conform to OGC Filter Encoding Specification 1.1.0
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.n52.oxf.valueDomains.filter.IFilter |
---|
IFilter.ComparisonOperators |
Field Summary |
---|
Fields inherited from interface org.n52.oxf.valueDomains.filter.IFilter |
---|
AND, NOT, OR |
Constructor Summary | |
---|---|
LogicFilter(String filterType)
Constructor with filterType as parameter |
|
LogicFilter(String filterType,
IFilter leftFilter)
Constructor only useable for NOT Filters |
|
LogicFilter(String filterType,
IFilter leftFilter,
ArrayList<IFilter> rightFilters)
Constructor with all parameters, should be used as constructor for AND and OR filters |
Method Summary | |
---|---|
String |
getFilterType()
returns the type of this logical filter |
IFilter |
getLeftFilter()
|
ArrayList<IFilter> |
getRightFilters()
|
String |
toXML()
creates a string representation of the logical filter (without |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogicFilter(String filterType)
filterType
- one of the three logical filter typespublic LogicFilter(String filterType, IFilter leftFilter, ArrayList<IFilter> rightFilters)
filterType
- type of this LogicFilter (AND or OR)leftFilter
- firstFilter of the LogicFilterrightFilters
- second and following filters of the logical filterpublic LogicFilter(String filterType, IFilter leftFilter)
filterType
- logical filtertype (only NOT!!)leftFilter
- Filter which should be applied of a NOT FilterMethod Detail |
---|
public String getFilterType()
getFilterType
in interface IFilter
public IFilter getLeftFilter()
public ArrayList<IFilter> getRightFilters()
public String toXML()
toXML
in interface IFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |