Examples of BinaryLogicOpTypeInfo


Examples of org.geomajas.sld.filter.BinaryLogicOpTypeInfo

      } else if (unary.ifSpatialOps()) {
        return "NOT " + toSpatial(unary.getSpatialOps());
      }

    } else if (logicOps instanceof BinaryLogicOpTypeInfo) {
      BinaryLogicOpTypeInfo binary = (BinaryLogicOpTypeInfo) logicOps;
      String[] expressions = new String[2];
      for (int i = 0; i < 2; i++) {
        if (binary.getChoiceList().get(i).ifComparisonOps()) {
          expressions[i] = toComparison(binary.getChoiceList().get(i).getComparisonOps(), featureInfo);
        } else if (binary.getChoiceList().get(i).ifLogicOps()) {
          expressions[i] = toLogic(binary.getChoiceList().get(i).getLogicOps(), featureInfo);
        } else if (binary.getChoiceList().get(i).ifSpatialOps()) {
          expressions[i] = toSpatial(binary.getChoiceList().get(i).getSpatialOps());
        }
      }
      if (binary instanceof OrInfo) {
        return "(" + expressions[0] + ") OR (" + expressions[1] + ")";
      } else if (binary instanceof AndInfo) {
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.