public abstract class SchemaImportResolver extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SchemaImportResolver.SchemaResource
Used to supply a schema resource with an optional associated
expected-namespace-URI and original-location-URL.
|
Constructor and Description |
---|
SchemaImportResolver() |
Modifier and Type | Method and Description |
---|---|
abstract SchemaImportResolver.SchemaResource |
lookupResource(String nsURI,
String URL)
Called when the ImportLoader wishes to resolve the
given import.
|
abstract void |
reportActualNamespace(SchemaImportResolver.SchemaResource resource,
String actualNamespace)
Called to notify that the expected namespace is different from the
actual namespace, or if no namespace is known, to report the
discovered namespace.
|
protected void |
resolveImports(SchemaImportResolver.SchemaResource[] resources) |
public abstract SchemaImportResolver.SchemaResource lookupResource(String nsURI, String URL)
public abstract void reportActualNamespace(SchemaImportResolver.SchemaResource resource, String actualNamespace)
protected final void resolveImports(SchemaImportResolver.SchemaResource[] resources)