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.
DefaultSchemaLocationResolver| Modifier and Type | Method and Description |
|---|---|
String |
resolveSchemaLocation(Type sourceType,
Type targetType)
Return the value for the schemaLocation attribute of the generated Import
|
String resolveSchemaLocation(Type sourceType, Type targetType)
sourceType - the source typetargetType - the target typeCopyright © 2017–2020 Eclipse.org - EclipseLink Project. All rights reserved.