use of net.opengis.fes.x20.FilterType in project ddf by codice.
the class CswFilterFactory method buildTouchesGeospatialFilter.
public FilterType buildTouchesGeospatialFilter(String propertyName, String wkt, BinarySpatialOperand geometryOrEnvelope) {
FilterType filter = new FilterType();
filter.setSpatialOps(createTouchesType(propertyName, wkt, geometryOrEnvelope));
return filter;
}
use of net.opengis.fes.x20.FilterType in project ddf by codice.
the class CswFilterFactory method buildPropertyIsNotEqualToFilter.
public FilterType buildPropertyIsNotEqualToFilter(String propertyName, Object literal, boolean isCaseSensitive) {
FilterType filter = new FilterType();
filter.setComparisonOps(createPropertyIsNotEqualTo(propertyName, literal, isCaseSensitive));
return filter;
}
use of net.opengis.fes.x20.FilterType in project ddf by codice.
the class CswFilterFactory method buildOverlapsGeospatialFilter.
public FilterType buildOverlapsGeospatialFilter(String propertyName, String wkt, BinarySpatialOperand geometryOrEnvelope) {
FilterType filter = new FilterType();
filter.setSpatialOps(createOverlapsType(propertyName, wkt, geometryOrEnvelope));
return filter;
}
use of net.opengis.fes.x20.FilterType in project ddf by codice.
the class CswFilterFactory method buildNotFilter.
public FilterType buildNotFilter(FilterType filter) {
FilterType returnFilter = new FilterType();
if (filter == null) {
return returnFilter;
}
UnaryLogicOpType notType = new UnaryLogicOpType();
if (filter.isSetComparisonOps()) {
notType.setComparisonOps(filter.getComparisonOps());
} else if (filter.isSetLogicOps()) {
notType.setLogicOps(filter.getLogicOps());
} else if (filter.isSetSpatialOps()) {
notType.setSpatialOps(filter.getSpatialOps());
} else {
return returnFilter;
}
returnFilter.setLogicOps(filterObjectFactory.createNot(notType));
return returnFilter;
}
use of net.opengis.fes.x20.FilterType in project ddf by codice.
the class CswFilterFactory method buildPropertyIsFuzzyFilter.
public FilterType buildPropertyIsFuzzyFilter(String propertyName, Object literal) {
FilterType filter = new FilterType();
filter.setComparisonOps(createPropertyIsFuzzy(propertyName, literal));
return filter;
}
Aggregations