|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ValueReference s 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 null
filter
- filter expression, can be null
propName
- 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)
ValueReference
s contained in the given Filter
(taking nesting into account).
filter
- filter to be traversed, must not be null
ValueReference
s found on any nodes of the Filter
, can be empty, but never null
public 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
Geometry
s 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 null
crs
- crs to set, must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |