Class MetadataSourceAdapter
java.lang.Object
org.eclipse.persistence.jaxb.metadata.MetadataSourceAdapter
- All Implemented Interfaces:
MetadataSource
- Direct Known Subclasses:
XMLMetadataSource
You may subclass this class rather than implement the MetadataSource
interface allowing insulation from future additions to the interface.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
MetadataSourceAdapter
public MetadataSourceAdapter()
-
-
Method Details
-
getXmlBindings
- Specified by:
getXmlBindings
in interfaceMetadataSource
- Parameters:
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext- Returns:
- the XmlBindings object representing the metadata
-