|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.wfs.FilterDWithin
Implementation of OGC Filter encoding specification for "Within".
| Field Summary |
| Fields inherited from interface com.moximedia.ows.types.MeasureUnitsType |
MEASURE_UNITS_DECIMAL_DEGREES, MEASURE_UNITS_FEET, MEASURE_UNITS_IMPERIAL, MEASURE_UNITS_METERS, MEASURE_UNITS_METRES, MEASURE_UNITS_METRIC, MEASURE_UNITS_UNKNOWN, MEASURE_UNITS_US, MEASURE_UNITS_YARDS |
| Constructor Summary | |
protected |
FilterDWithin()
Creates a new spatial filter object. |
|
FilterDWithin(java.lang.String wfsGeometryFieldName,
Geometry geometry,
double distance)
Creates a new spatial filter object. |
|
FilterDWithin(java.lang.String wfsGeometryFieldName,
Geometry geometry,
double distance,
boolean isNot)
Creates a new spatial filter object. |
| Method Summary | |
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. |
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 |
protected FilterDWithin()
public FilterDWithin(java.lang.String wfsGeometryFieldName,
Geometry geometry,
double distance)
wfsGeometryFieldName - The name of the geometry field.geometry - The spatial filter geometry.distance - The distance.
public FilterDWithin(java.lang.String wfsGeometryFieldName,
Geometry geometry,
double distance,
boolean isNot)
wfsGeometryFieldName - The name of the geometry field.geometry - The spatial filter geometry.distance - The distance.isNot - True if the filter should be negated (enclosed in a
<Not> element).| Method Detail |
public FilterAnd and(Filter anotherFilter)
and in interface Filterpublic 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 | |||||||||