|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.SchemaResolverWrapper
public class SchemaResolverWrapper
Purpose: Allow the contained schema resolver to resolve a schema based on a given namespace and schema location, and return either the resolved schema source or null, depending on whether the schema had been processed previously.
Responsibilities:
SchemaResolver
,
DefaultSchemaResolver
Constructor Summary | |
---|---|
SchemaResolverWrapper(SchemaResolver resolver)
This constructor sets schemaResolver to the given value. |
Method Summary | |
---|---|
SchemaResolver |
getSchemaResolver()
Return the SchemaResolver for this wrapper instance. |
javax.xml.transform.Source |
resolveSchema(javax.xml.transform.Source sourceXSD)
Resolve the Source if only a system ID is specified. |
javax.xml.transform.Source |
resolveSchema(javax.xml.transform.Source sourceXSD,
java.lang.String namespace,
java.lang.String schemaLocation)
Allow the SchemaResolver implementation to attempt to return the referenced Schema based on given source schema, namespace and schemaLocation values from an import or include. |
javax.xml.transform.Source |
resolveSchema(java.lang.String systemId)
|
javax.xml.transform.Source |
resolveSchema(java.lang.String publicId,
java.lang.String systemId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaResolverWrapper(SchemaResolver resolver)
resolver
- the SchemaResolver implementation that will be used to resolve
imports/includes from a give source schema.Method Detail |
---|
public javax.xml.transform.Source resolveSchema(javax.xml.transform.Source sourceXSD)
public 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
public javax.xml.transform.Source resolveSchema(java.lang.String systemId)
public javax.xml.transform.Source resolveSchema(java.lang.String publicId, java.lang.String systemId)
public SchemaResolver getSchemaResolver()
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |