01: package org.geotools.xs;
02:
03: import org.geotools.xml.BindingConfiguration;
04: import org.geotools.xml.Configuration;
05: import org.geotools.xs.bindings.XS;
06: import org.geotools.xs.bindings.XSBindingConfiguration;
07:
08: /**
09: * Parser configuration for xml schema schema.
10: *
11: * @author Justin Deoliveira, The Open Planning Project
12: *
13: */
14: public class XSConfiguration extends Configuration {
15:
16: public String getNamespaceURI() {
17: return XS.NAMESPACE;
18: }
19:
20: public String getSchemaFileURL() {
21: return getClass().getResource("XMLSchema.xsd").toString();
22: }
23:
24: public BindingConfiguration getBindingConfiguration() {
25: return new XSBindingConfiguration();
26: }
27: }
|