Examples of ifLiteral()


Examples of org.geomajas.sld.filter.PropertyIsNullTypeInfo.ifLiteral()

        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 ";
        } else {
          String propertyName = isNull.getPropertyName().getValue();
          return propertyName + " IS NULL ";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.