Copied from org.geotools.gml3 making use of addDependencies with our gml2.GML instance.
46474849505152
public static class GML2 extends GMLPPIO { public GML2(Class type,QName element) { super(type, "text/xml; subtype=gml/2.1.2",element); xml = new GMLConfiguration(); }
704705706707708709710
substitutionGroup = "_Feature"; describeFeatureTypeParams = params("request", "DescribeFeatureType", "version", "1.0.0", "service", "WFS"); gmlPrefix = "gml"; xmlConfiguration = new GMLConfiguration(); }
34533454345534563457345834593460
protected XSDSchema buildSchema() throws IOException { XSDSchema schema = super.buildSchema(); schema.resolveElementDeclaration(NAMESPACE, "_Feature").eAdapters() .add(new SubstitutionGroupLeakPreventer()); schema.eAdapters().add(new ReferencingDirectiveLeakPreventer()); return schema; }
27512752275327542755275627572758
} })); // leak prevention schema.resolveElementDeclaration(NAMESPACE, "_Feature").eAdapters() .add(new SubstitutionGroupLeakPreventer()); schema.eAdapters().add(new ReferencingDirectiveLeakPreventer()); return schema; }
345234533454345534563457345834593460
@Override protected XSDSchema buildSchema() throws IOException { XSDSchema schema = super.buildSchema(); schema.resolveElementDeclaration(NAMESPACE, "_Feature").eAdapters() .add(new SubstitutionGroupLeakPreventer()); schema.eAdapters().add(new ReferencingDirectiveLeakPreventer()); return schema; }
275027512752275327542755275627572758
} } })); // leak prevention schema.resolveElementDeclaration(NAMESPACE, "_Feature").eAdapters() .add(new SubstitutionGroupLeakPreventer()); schema.eAdapters().add(new ReferencingDirectiveLeakPreventer()); return schema; }
33343536373839
* * @source $URL$ */ public class GMLAbstractFeatureTypeBindingTest extends GMLTestSupport { protected Configuration createConfiguration() { return new TestConfiguration(); }
81828384858687
this(GML.getInstance()); } public GML3EncodingUtils(XSD gml) { this.gml = gml; e = new GMLEncodingUtils(gml); }