Class MetadataSourceAdapter

  • All Implemented Interfaces:
    MetadataSource
    Direct Known Subclasses:
    XMLMetadataSource

    public abstract class MetadataSourceAdapter
    extends Object
    implements MetadataSource
    You may subclass this class rather than implement the MetadataSource interface allowing insulation from future additions to the interface.
    See Also:
    MetadataSource
    • Constructor Detail

      • MetadataSourceAdapter

        public MetadataSourceAdapter()
    • Method Detail

      • getXmlBindings

        public XmlBindings getXmlBindings​(Map<String,​?> properties,
                                          ClassLoader classLoader)
        Specified by:
        getXmlBindings in interface MetadataSource
        Parameters:
        properties - - The properties passed in to create the JAXBContext
        classLoader - - The ClassLoader passed in to create the JAXBContext
        Returns:
        the XmlBindings object representing the metadata