public void addName( String name ){
if( name == null ){
return;
}
else if( spatialNames.containsValue( name )){
SpatialOperatorsImpl operators = contents.getSpatialCapabilities().getSpatialOperators();
if( operators.getOperator( name ) == null ){
SpatialOperatorImpl operator = new SpatialOperatorImpl(name);
// default JTS?
operator.getGeometryOperands().add( GeometryOperand.LineString );
operator.getGeometryOperands().add( GeometryOperand.Point );
operator.getGeometryOperands().add( GeometryOperand.Polygon );
operators.getOperators().add( operator );
}
}
else if( scalarNames.containsValue( name )){
ComparisonOperatorsImpl operators = contents.getScalarCapabilities().getComparisonOperators();
if( operators.getOperator( name ) == null ){
OperatorImpl operator = new OperatorImpl( name );
operators.getOperators().add( operator );
}
}
else if( arithmaticNames.containsValue( name )){
ArithmeticOperatorsImpl operators = contents.getScalarCapabilities().getArithmeticOperators();
operators.setSimpleArithmetic(true);
}
else if( logicalNames.containsValue( name )){
contents.getScalarCapabilities().setLogicalOperators(true);
}
else if( "Id".equals(name)){