/** * Constructor with schema and path to the attribute. * * @param schema The initial (required) sub filter. * @param attPath the xpath to the attribute. * * @throws IllegalFilterException If the attribute path is not in the * schema. */ protected AttributeExpressionImpl(SimpleFeatureType schema, String attPath) throws IllegalFilterException { this.schema = schema; this.expressionType = ATTRIBUTE; setAttributePath(attPath); }
/** * Constructor with schema and path to the attribute. * * @param schema The initial (required) sub filter. * @param attPath the xpath to the attribute. * * @throws IllegalFilterException If the attribute path is not in the * schema. */ protected AttributeExpressionImpl(FeatureType schema, String attPath) throws IllegalFilterException { this.schema = schema; this.expressionType = ATTRIBUTE; setAttributePath(attPath); }