|
EclipseLink 2.2.0, build 'v20110202-r8913' 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.DefaultSchemaLocationResolver
public class DefaultSchemaLocationResolver
Purpose: Default implementation of the org.eclipse.persistence.sdo.helper.SchemaLocationResolver interface By default set a Map keyed on QName of types and value is the schemaLocation
SchemaLocationResolver
Constructor Summary | |
---|---|
DefaultSchemaLocationResolver(java.util.Map schemaLocationMap)
|
Method Summary | |
---|---|
java.lang.String |
resolveSchemaLocation(Type sourceType,
Type targetType)
Return the value for the schemaLocation attribute of the generated Import |
void |
setMap(java.util.Map schemaLocations)
Set the map of schemaLocations keyed on QName of the target SDO Type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSchemaLocationResolver(java.util.Map schemaLocationMap)
Method Detail |
---|
public java.lang.String resolveSchemaLocation(Type sourceType, Type targetType)
resolveSchemaLocation
in interface SchemaLocationResolver
sourceType
- the source typetargetType
- the target type
public void setMap(java.util.Map schemaLocations)
schemaLocations
- Map keyed on QName of the target SDO Type
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |