public interface SchemaResolver
extends org.xml.sax.EntityResolver
Purpose: Interface that can be optionally implemented to resolve imported and included schemas.
Responsibilities:
DefaultSchemaResolver| Modifier and Type | Method and Description |
|---|---|
javax.xml.transform.Source |
resolveSchema(javax.xml.transform.Source sourceXSD,
java.lang.String namespace,
java.lang.String schemaLocation)
Given the source schema and namespace and schemaLocation values from an import or include return the referenced Schema
|
javax.xml.transform.Source resolveSchema(javax.xml.transform.Source sourceXSD,
java.lang.String namespace,
java.lang.String schemaLocation)
sourceXSD - The Source object of the source schemanamespace - The namespace portion of the import/includeschemaLocation - The schemaLocation portion of the import/include