/** * Checks to see if passed type is geometry. * * @param expressionType Type of expression for check. * @return Whether or not this is a geometry expression type. */ public static boolean isExpression(short expressionType) { return (isMathExpression(expressionType) || isAttributeExpression(expressionType) || isLiteralExpression(expressionType)) || isFunctionExpression(expressionType); }
if (DefaultExpression.isMathExpression(convertType)) { expFactory = new ExpressionSAXParser(schema); switch (convertType) {
public void setExpression1(org.opengis.filter.expression.Expression leftValue) { //Checks if this is math filter or not and handles appropriately if (isMathFilter(filterType)) { if (DefaultExpression.isMathExpression(leftValue) || permissiveConstruction) { this.expression1 = leftValue; } else { throw new IllegalFilterException( "Attempted to add non-math expression to math filter." ); } } else { this.expression1 = leftValue; } }
public void setExpression1(org.opengis.filter.expression.Expression leftValue) { //Checks if this is math filter or not and handles appropriately if (isMathFilter(filterType)) { if (DefaultExpression.isMathExpression(leftValue) || permissiveConstruction) { this.expression1 = leftValue; } else { throw new IllegalFilterException( "Attempted to add non-math expression to math filter." ); } } else { this.expression1 = leftValue; } }
public void setExpression2(org.opengis.filter.expression.Expression rightValue) { // Checks if this is math filter or not and handles appropriately if (isMathFilter(filterType)) { if (DefaultExpression.isMathExpression(rightValue) || permissiveConstruction) { this.expression2 = rightValue; } else { throw new IllegalFilterException( "Attempted to add non-math expression to math filter." ); } } else { this.expression2 = rightValue; } } /**
public void setExpression2(org.opengis.filter.expression.Expression rightValue) { // Checks if this is math filter or not and handles appropriately if (isMathFilter(filterType)) { if (DefaultExpression.isMathExpression(rightValue) || permissiveConstruction) { this.expression2 = rightValue; } else { throw new IllegalFilterException( "Attempted to add non-math expression to math filter." ); } } else { this.expression2 = rightValue; } } /**
/** * Checks to see if passed type is geometry. * * @param expressionType Type of expression for check. * * @return Whether or not this is a geometry expression type. */ protected static boolean isExpression(short expressionType) { return (isMathExpression(expressionType) || isAttributeExpression(expressionType) || isLiteralExpression(expressionType)) || isFunctionExpression(expressionType); }
/** * Checks to see if passed type is geometry. * * @param expressionType Type of expression for check. * * @return Whether or not this is a geometry expression type. */ protected static boolean isExpression(short expressionType) { return (isMathExpression(expressionType) || isAttributeExpression(expressionType) || isLiteralExpression(expressionType)) || isFunctionExpression(expressionType); }
if (DefaultExpression.isMathExpression(convertType(declaredType))) { expFactory = new ExpressionSAXParser(schema); curExprssn = ff.createMathExpression(convertType(
if (DefaultExpression.isMathExpression(convertType(declaredType))) { expFactory = new ExpressionSAXParser(schema); curExprssn = ff.createMathExpression(convertType(