public XSDSchema build( FeatureTypeInfo[] featureTypeInfos, String baseUrl, boolean resolveAppSchemaImports, boolean scheduleSchemaCleanup) throws IOException { // build the schema and make sure to schedule it for destruction at the end of the request XSDSchema schema = buildSchemaInternal(featureTypeInfos, baseUrl, resolveAppSchemaImports); if (schema != null && scheduleSchemaCleanup) { SchemaCleanerCallback.addSchema(schema); } return schema; }
protected GeometryTranslator createGeometryTranslator( ContentHandler handler, int numDecimals, boolean padWithZeros, boolean forceDecimalEncoding) { return new GML3GeometryTranslator( handler, numDecimals, padWithZeros, forceDecimalEncoding); }
protected XSDSchema gmlSchema() { if (gml3Schema == null) { gml3Schema = createGml3Schema(); } return gml3Schema; }
GML3OutputFormat producer() { FeatureTypeSchemaBuilder sb = new FeatureTypeSchemaBuilder.GML3(getGeoServer()); WFSConfiguration configuration = new WFSConfiguration(getGeoServer(), sb, new WFS(sb)); return new GML3OutputFormat(getGeoServer(), configuration); }
public XSDSchema build( FeatureTypeInfo[] featureTypeInfos, String baseUrl, int resolveAppSchemaImports) throws IOException { return build(featureTypeInfos, baseUrl, resolveAppSchemaImports != 0, true); }
static void init(InitStrategy strategy) { if (!DISABLED) { initAddresses(strategy); initAliases(); initLog(); } }
public V11(GeoServer gs) { super("text/xml; subtype=gml/3.1.1", gs, new FeatureTypeSchemaBuilder.GML3(gs)); } }
Object createTypeMappingProfile() { return new GML3Profile(); }
public ApplicationSchemaConfiguration(ApplicationSchemaXSD xsd, WFSConfiguration config) { super(xsd); addDependency(config); } }
protected FeatureTranslator createTranslator( ContentHandler handler, String prefix, String ns, FeatureTypeNamespaces featureTypeNamespaces, SchemaLocationSupport schemaLocationSupport) { return new GML3FeatureTranslator( handler, prefix, ns, featureTypeNamespaces, schemaLocationSupport); }
/** * Converts the schema to a gml2 schema. * * @param baseUrl is the prefix-base to use for self-referencing urls. */ public FeatureTypeSchema toGML2() { if (this instanceof GML2) { return this; } return new GML2(featureType, wfs, catalog); }
public ApplicationSchemaConfiguration2(ApplicationSchemaXSD2 xsd, Configuration config) { super(xsd); addDependency(config); } }
/** Converts the schema to a gml3 schema. */ public FeatureTypeSchema toGML3() { if (this instanceof GML3) { return this; } return new GML3(featureType, wfs, catalog); }
protected XSDSchema gmlSchema() { if (gml32Schema == null) { gml32Schema = createGml32Schema(); } return gml32Schema; };
public String toString() { return getQualifiedTypeDefName(prefix); }
Name findTypeName(Class binding) { return typeMappingProfile.name(binding); } }
protected void encodeNullBounds() { element("Null", null); } }
public SrsSyntax getSrsSyntax() { return WFSXmlUtils.getSrsSyntax(this); }
/** @return The {@link XSDSchema} representation of the schema. */ public XSDSchema schema(String baseUrl) throws IOException { return builder.build(new FeatureTypeInfo[] {featureType}, baseUrl); }
protected GeometryTranslator createGeometryTranslator( ContentHandler handler, int numDecimals, boolean padWithZeros, boolean forceDecimalEncoding, boolean useDummyZ) { return new GML3GeometryTranslator( handler, numDecimals, padWithZeros, forceDecimalEncoding, useDummyZ); }