Package org.geomajas.sld.filter

Examples of org.geomajas.sld.filter.PropertyIsBetweenTypeInfo


      } else if (binary instanceof PropertyIsNotEqualToInfo) {
        return propertyName + " != " + propertyValue;
      }
    } else {
      if (coOps instanceof PropertyIsBetweenTypeInfo) {
        PropertyIsBetweenTypeInfo isBetween = (PropertyIsBetweenTypeInfo) coOps;
        String lower = isBetween.getLowerBoundary().getExpression().getValue();
        String upper = isBetween.getUpperBoundary().getExpression().getValue();
        String propertyName = isBetween.getExpression().getValue();
        return propertyName + " BETWEEN " + lower + " AND " + upper;
      } else if (coOps instanceof PropertyIsLikeTypeInfo) {
        PropertyIsLikeTypeInfo isLike = (PropertyIsLikeTypeInfo) coOps;
        String propertyName = isLike.getPropertyName().getValue();
        return propertyName + " LIKE '" + isLike.getLiteral().getValue() + "'";
View Full Code Here

TOP

Related Classes of org.geomajas.sld.filter.PropertyIsBetweenTypeInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.