use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.
the class Intersects method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("Intersects", 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.FilterNameParameter in project sldeditor by robward-scisys.
the class Touches method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("Touches", 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.FilterNameParameter in project sldeditor by robward-scisys.
the class BBox method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("BBOX", Boolean.class);
filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, BoundingBox.class));
filterName.addParameter(new FilterNameParameter("boundingbox", ExpressionTypeEnum.LITERAL, BoundingBox.class));
return filterName;
}
use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.
the class Contains method getFilterConfiguration.
/**
* Gets the filter configuration.
*
* @return the filter configuration
*/
@Override
public FilterName getFilterConfiguration() {
FilterName filterName = new FilterName("Contains", 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.FilterNameParameter in project sldeditor by robward-scisys.
the class FilterNode method setFilterParameter.
/**
* Sets the filter.
*
* @param childFilter the new filter
* @param parameter the parameter
*/
private void setFilterParameter(Filter childFilter, FilterNameParameter parameter) {
FilterNode childNode = new FilterNode();
childNode.setType(parameter.getDataType());
FilterConfigInterface localFilterConfig = FilterManager.getInstance().getFilterConfig(childFilter);
childNode.setFilter(childFilter, localFilterConfig);
this.insert(childNode, this.getChildCount());
}
Aggregations