EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.sdo.helper
Interface SchemaResolver

All Superinterfaces:
org.xml.sax.EntityResolver
All Known Implementing Classes:
DefaultSchemaResolver

public interface SchemaResolver
extends org.xml.sax.EntityResolver

Purpose: Interface that can be optionally implemented to resolve imported and included schemas.

Responsibilities:

See Also:
DefaultSchemaResolver

Method Summary
 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
 
Methods inherited from interface org.xml.sax.EntityResolver
resolveEntity
 

Method Detail

resolveSchema

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

Parameters:
sourceXSD - The Source object of the source schema
namespace - The namespace portion of the import/include
schemaLocation - The schemaLocation portion of the import/include
Returns:
Source for the referenced Schema or null if processing the referenced schema should be skipped

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference