use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.
the class FilterNode method addFilter.
/**
* Adds the filter.
*/
public void addFilter() {
if (filterConfig != null) {
FilterName filterName = filterConfig.getFilterConfiguration();
setFilterParameter(null, filterName.getParameter(0));
}
}
use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.
the class Crosses method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("Crosses", Boolean.class);
filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
return filterName;
}
use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.
the class DWithin method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("DWithin", Boolean.class);
filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
return filterName;
}
use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.
the class Equals method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("Equals", Boolean.class);
filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
return filterName;
}
use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.
the class IsNotEqualTo method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("PropertyIsNotEqualTo", Boolean.class);
filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Object.class));
filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Object.class));
filterName.addParameter(new FilterNameParameter("matchCase", ExpressionTypeEnum.LITERAL, Boolean.class));
return filterName;
}
Aggregations