Search in sources :

Example 21 with FilterName

use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.

the class And method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("And", Boolean.class);
    filterName.addParameter(new FilterNameParameter("filter", ExpressionTypeEnum.FILTER, Filter.class));
    filterName.addParameter(new FilterNameParameter("filter", ExpressionTypeEnum.FILTER, Filter.class));
    return filterName;
}
Also used : Filter(org.opengis.filter.Filter) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 22 with FilterName

use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.

the class Not method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Not", Boolean.class);
    filterName.addParameter(new FilterNameParameter("filter", ExpressionTypeEnum.FILTER, Filter.class));
    return filterName;
}
Also used : Filter(org.opengis.filter.Filter) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 23 with FilterName

use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.

the class Or method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Or", Boolean.class);
    filterName.addParameter(new FilterNameParameter("filter", ExpressionTypeEnum.FILTER, Filter.class));
    filterName.addParameter(new FilterNameParameter("filter", ExpressionTypeEnum.FILTER, Filter.class));
    return filterName;
}
Also used : Filter(org.opengis.filter.Filter) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 24 with FilterName

use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.

the class IsLike method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Like", Boolean.class);
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, String.class));
    filterName.addParameter(new FilterNameParameter("pattern", ExpressionTypeEnum.LITERAL, String.class));
    filterName.addParameter(new FilterNameParameter("wildcardMulti", ExpressionTypeEnum.LITERAL, String.class));
    filterName.addParameter(new FilterNameParameter("wildcardSingle", ExpressionTypeEnum.LITERAL, String.class));
    filterName.addParameter(new FilterNameParameter("escape", ExpressionTypeEnum.LITERAL, String.class));
    filterName.addParameter(new FilterNameParameter("matchCase", ExpressionTypeEnum.LITERAL, Boolean.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 25 with FilterName

use of com.sldeditor.filter.v2.function.FilterName in project sldeditor by robward-scisys.

the class IsLessThanEqualTo method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("PropertyIsLessThanEqualTo", 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;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Aggregations

FilterName (com.sldeditor.filter.v2.function.FilterName)33 FilterNameParameter (com.sldeditor.filter.v2.function.FilterNameParameter)30 Geometry (com.vividsolutions.jts.geom.Geometry)9 Date (java.util.Date)6 Filter (org.opengis.filter.Filter)4 Test (org.junit.Test)3 ExpressionPanelv2 (com.sldeditor.filter.v2.expression.ExpressionPanelv2)1 FilterNode (com.sldeditor.filter.v2.expression.FilterNode)1 FilterConfigInterface (com.sldeditor.filter.v2.function.FilterConfigInterface)1 List (java.util.List)1 BinaryComparisonAbstract (org.geotools.filter.BinaryComparisonAbstract)1 LogicFilterImpl (org.geotools.filter.LogicFilterImpl)1 Not (org.opengis.filter.Not)1 PropertyIsBetween (org.opengis.filter.PropertyIsBetween)1 PropertyIsLike (org.opengis.filter.PropertyIsLike)1 PropertyIsNull (org.opengis.filter.PropertyIsNull)1 BinarySpatialOperator (org.opengis.filter.spatial.BinarySpatialOperator)1 BinaryTemporalOperator (org.opengis.filter.temporal.BinaryTemporalOperator)1 BoundingBox (org.opengis.geometry.BoundingBox)1