return factory.scalarCapabilities(comparison, arithmetic, logical);
}
public Object getProperty(Object object, QName name)
throws Exception {
ScalarCapabilities scalar = (ScalarCapabilities) object;
if ((OGC.Logical_Operators.equals(name)
|| org.geotools.filter.v1_1.OGC.LogicalOperators.equals(name))
&& scalar.hasLogicalOperators()) {
return new Object();
}
if ("Comparison_Operators".equals(name.getLocalPart())
|| "ComparisonOperators".equals(name.getLocalPart()) /* 1.1 */) {
return scalar.getComparisonOperators();
}
if ("Arithmetic_Operators".equals(name.getLocalPart())
|| "ArithmeticOperators".equals(name.getLocalPart()) /* 1.1 */) {
return scalar.getArithmeticOperators();
}
return null;
}