Package org.geomajas.sld.filter

Examples of org.geomajas.sld.filter.PropertyIsLikeTypeInfo


        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() + "'";
      } else if (coOps instanceof PropertyIsNullTypeInfo) {
        PropertyIsNullTypeInfo isNull = (PropertyIsNullTypeInfo) coOps;
        if (isNull.ifLiteral()) {
          String literal = isNull.getLiteral().getValue();
          return "'" + literal + "' IS NULL ";
View Full Code Here

TOP

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

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.