public class AppSchemaLocationResolver extends SchemaLocationResolver
SchemaLocationResolver
that uses SchemaResolver
to locate schema resources in a
catalog, on the classpath, or in a cache..lookupDirectories, xsd
Constructor and Description |
---|
AppSchemaLocationResolver(SchemaResolver resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
resolveSchemaLocation(XSDSchema schema,
String uri,
String location)
Resolve imports and includes to local resources.
|
String |
toString()
We override this because the parent
toString() is horribly misleading. |
canHandle
public AppSchemaLocationResolver(SchemaResolver resolver)
resolver
- the resolver used to locate schemaspublic String resolveSchemaLocation(XSDSchema schema, String uri, String location)
resolveSchemaLocation
in interface XSDSchemaLocationResolver
resolveSchemaLocation
in class SchemaLocationResolver
schema
- the parent schema from which the import/include originatesuri
- the namespace of an import (ignored in this implementation)location
- the URL of the import or include (may be relative)SchemaLocationResolver.resolveSchemaLocation(org.eclipse.xsd.XSDSchema,
java.lang.String, java.lang.String)
public String toString()
toString()
is horribly misleading.toString
in class SchemaLocationResolver
SchemaLocationResolver.toString()
Copyright © 1996–2019 Geotools. All rights reserved.