|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.wfs.FilterAnd
Implementation of OGC Filter encoding specification for "And".
| Constructor Summary | |
FilterAnd()
Creates a new FilterAnd object. |
|
FilterAnd(Filter filter1,
Filter filter2)
Creates a new FilterAnd object combining two filters. |
|
FilterAnd(Filter filter1,
Filter filter2,
boolean isNot)
Creates a new FilterAnd object combining two filters. |
|
| Method Summary | |
void |
add(Filter filter)
Adds a filter to the FilterAnd object. |
FilterAnd |
and(Filter anotherFilter)
Combines two filters in an And element. |
int |
getFilterType()
Gets an enumerated value indicating the type of filter this is. |
java.lang.String |
getKvpRequestString()
Returns the FILTER= string to request features using this filter. |
java.lang.String |
getKvpRequestString(boolean useOgcNamespaces)
Returns the FILTER= string to request features using this filter. |
java.lang.String |
getXmlRequestString()
Returns the XML WFS request representing this filter. |
java.lang.String |
getXmlRequestString(boolean useOgcNamespaces)
Returns the XML WFS request representing this filter. |
boolean |
isValid()
Returns an indicator of whether this filter is valid. |
Filter |
not()
Negates the filter (encloses it in a not element). |
FilterOr |
or(Filter anotherFilter)
Combines two filters in an Or element. |
java.lang.String |
toString()
Displays this object as a text string. |
java.lang.String |
toString(boolean useOgcNamespaces)
Displays this object as a text string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FilterAnd()
public FilterAnd(Filter filter1,
Filter filter2)
filter1 - One of the filters.filter2 - One of the filters.
public FilterAnd(Filter filter1,
Filter filter2,
boolean isNot)
filter1 - One of the filters.filter2 - One of the filters.isNot - True if the filter should be negated (enclosed in a
<Not> element).| Method Detail |
public void add(Filter filter)
filter - The filter to add.public FilterAnd and(Filter anotherFilter)
and in interface FilteranotherFilter - The other filter.
public boolean isValid()
public FilterOr or(Filter anotherFilter)
or in interface Filterpublic Filter not()
not in interface Filterpublic java.lang.String toString()
toString in interface Filterpublic java.lang.String toString(boolean useOgcNamespaces)
toString in interface FilteruseOgcNamespaces - True if the string should contain OGC namespaces.
public java.lang.String getKvpRequestString()
getKvpRequestString in interface Filterpublic java.lang.String getKvpRequestString(boolean useOgcNamespaces)
getKvpRequestString in interface Filterpublic java.lang.String getXmlRequestString()
getXmlRequestString in interface Filterpublic java.lang.String getXmlRequestString(boolean useOgcNamespaces)
public int getFilterType()
getFilterType in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||