This class works from a {@link org.geotools.xml.XSD} instance from which itresolves location on disk relative to.
Example usage:
XSD xsd = ... String namespaceURI = xsd.getNamesapceURI(); SchemaLocationResolver resolver = new SchemaLocationResolver( xsd ); String schemaLocation = locator.resolveSchemaLocation( null, namespaceURI, "mySchema.xsd" );
|
|
|
|
|
|
|
|