|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.Filters
public class Filters
Various static methods for performing standard tasks on Filter objects.
Filter| Constructor Summary | |
|---|---|
Filters()
|
|
| Method Summary | |
|---|---|
static Filter |
addBBoxConstraint(Envelope bbox,
Filter filter,
ValueReference propName)
Adds a bounding box constraint to the given Filter. |
static Geometry[] |
getGeometries(Filter filter)
Returns all Geometry-values contained in the given Filter (taking nesting into account). |
static ValueReference[] |
getPropertyNames(Filter filter)
Returns all ValueReferences contained in the given Filter (taking nesting into account). |
static void |
setDefaultCRS(Filter filter,
ICRS crs)
Sets the CRS for all geometries contained in the given Filter that do not have crs information. |
static Pair<Filter,Envelope> |
splitOffBBoxConstraint(Filter filter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filters()
| Method Detail |
|---|
public static Filter addBBoxConstraint(Envelope bbox,
Filter filter,
ValueReference propName)
Filter.
bbox - bounding box, can be nullfilter - filter expression, can be nullpropName - can be null
null (if bbox and filter are null)public static Pair<Filter,Envelope> splitOffBBoxConstraint(Filter filter)
filter - can be null
public static ValueReference[] getPropertyNames(Filter filter)
ValueReferences contained in the given Filter (taking nesting into account).
filter - filter to be traversed, must not be null
ValueReferences found on any nodes of the Filter, can be empty, but never nullpublic static Geometry[] getGeometries(Filter filter)
Geometry-values contained in the given Filter (taking nesting into account).
filter - filter to be traversed, must not be null
Geometrys found on any nodes of the Filter, can be empty, but never null
public static void setDefaultCRS(Filter filter,
ICRS crs)
CRS for all geometries contained in the given Filter that do not have crs information.
filter - filter to process, must not be nullcrs - crs to set, must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||