@Override public XSD getSchema() { return GML.getInstance(); }
List locators = Arrays.asList(GML.getInstance().createSchemaLocator()); XSDSchema schema = null; try {
@Override protected Schema buildTypeMappingProfile(Schema typeSchema) { Set profile = new LinkedHashSet(); profile.add(name(GML.PointPropertyType)); profile.add(name(GML.MultiPointPropertyType)); profile.add(name(GML.LineStringPropertyType)); profile.add(name(GML.MultiLineStringPropertyType)); profile.add(name(GML.PolygonPropertyType)); profile.add(name(GML.MultiPolygonPropertyType)); profile.add(name(GML.GeometryPropertyType)); return typeSchema.profile(profile); }
protected void addDependencies(Set dependencies) { dependencies.add(GML.getInstance()); }
protected void addDependencies(Set dependencies) { dependencies.add(GML.getInstance()); }
/** Creates the new gml configuration, with a depenendency on {@link XLINKConfiguration} */ public GMLConfiguration() { super(GML.getInstance()); // add xlink cdependency addDependency(new XLINKConfiguration()); // add the parse unknown attributes property, this is mostly for // the "fid" attribute getProperties().add(Parser.Properties.PARSE_UNKNOWN_ELEMENTS); getProperties().add(Parser.Properties.PARSE_UNKNOWN_ATTRIBUTES); }
protected void addDependencies(Set dependencies) { dependencies.add(GML.getInstance()); }
/** Adds dependencies on the filter and gml schemas. */ protected void addDependencies(Set dependencies) { dependencies.add(OGC.getInstance()); dependencies.add(GML.getInstance()); }
/** * Creates the new gml configuration, with a depenendency * on {@link XLINKConfiguration} */ public GMLConfiguration() { super(GML.getInstance()); //add xlink cdependency addDependency(new XLINKConfiguration()); //add the parse unknown attributes property, this is mostly for // the "fid" attribute getProperties().add(Parser.Properties.PARSE_UNKNOWN_ELEMENTS); getProperties().add(Parser.Properties.PARSE_UNKNOWN_ATTRIBUTES); }