Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.sdo.helper
Class DefaultSchemaLocationResolver

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.DefaultSchemaLocationResolver

All Implemented Interfaces:
SchemaLocationResolver

public class DefaultSchemaLocationResolver
extends java.lang.Object
implements SchemaLocationResolver

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

See Also:
SchemaLocationResolver

Field Summary
private  java.util.Map schemaLocationMap
           

 

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

 

Field Detail

schemaLocationMap

private java.util.Map schemaLocationMap

Constructor Detail

DefaultSchemaLocationResolver

public DefaultSchemaLocationResolver(java.util.Map schemaLocationMap)

Method Detail

resolveSchemaLocation

public java.lang.String resolveSchemaLocation(Type sourceType,
                                              Type targetType)
Return the value for the schemaLocation attribute of the generated Import
Specified by:
resolveSchemaLocation in interface SchemaLocationResolver
Parameters:
sourceType - the source type
targetType - the target type
Returns:
the value for the schemaLocation attribute of the generated Import

setMap

public void setMap(java.util.Map schemaLocations)
Set the map of schemaLocations keyed on QName of the target SDO Type
Parameters:
schemaLocations - Map keyed on QName of the target SDO Type

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.