if ( version.compareTo( new Version( 1, 1, 0 ) ) != 0 ) { throw new IllegalArgumentException( "Only WFS-GetGmlObject 1.1.0 serialization is supported by this encoder" );
if ( version.compareTo( new Version( 1, 1, 0 ) ) != 0 ) { throw new IllegalArgumentException( "Only WFS-GetFeature 1.1.0 serialization is supported by this encoder" );