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
Interface SchemaLocationResolver

All Known Implementing Classes:
DefaultSchemaLocationResolver

public interface SchemaLocationResolver

Purpose: Interface that can be optionally implemented to resolve the value for the schemaLocation attribute of generated imports and includes when generating schemas. Provides a more flexible solution than the optional namespaceToSchemaLocation Map that can be given to the generate method.

See Also:
DefaultSchemaLocationResolver

Method Summary
 java.lang.String resolveSchemaLocation(Type sourceType, Type targetType)
          Return the value for the schemaLocation attribute of the generated Import

 

Method Detail

resolveSchemaLocation

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

Skip navigation links

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