|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.sdo.helper.DefaultSchemaResolver
public class DefaultSchemaResolver
Purpose: Default implementation of the org.eclipse.persistence.sdo.helper.SchemaResolver interface
Responsibilities:
SchemaResolver
Constructor Summary | |
---|---|
DefaultSchemaResolver()
|
Method Summary | |
---|---|
String |
getBaseSchemaLocation()
|
InputSource |
resolveEntity(String publicId,
String systemId)
Satisfy EntityResolver interface implementation. |
Source |
resolveSchema(Source sourceXSD,
String namespace,
String schemaLocation)
Given the source schema and namespace and schemaLocation values from an import or include return the referenced Schema. |
void |
setBaseSchemaLocation(String baseSchemaLocation)
Optional baseSchemaLocation can be specified If set, all schemaLocations passed into the resolveSchema methods will be resolved against this base location according to the java.net.URI API |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSchemaResolver()
Method Detail |
---|
public Source resolveSchema(Source sourceXSD, String namespace, String schemaLocation)
resolveSchema
in interface SchemaResolver
sourceXSD
- The Source object of the source schemanamespace
- The namespace portion of the import/includeschemaLocation
- The schemaLocation portion of the import/include
public InputSource resolveEntity(String publicId, String systemId)
resolveEntity
in interface EntityResolver
publicId
- systemId
-
public void setBaseSchemaLocation(String baseSchemaLocation)
baseSchemaLocation
- optional baseSchemaLocationpublic String getBaseSchemaLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |