public class XMLMetadataSource extends MetadataSourceAdapter
Constructor and Description |
---|
XMLMetadataSource(java.io.File xmlBindings)
The XML bindings metadata will be loaded from a File.
|
XMLMetadataSource(org.xml.sax.InputSource xmlBindings)
The XML bindings metadata will be loaded from an InputSource.
|
XMLMetadataSource(java.io.InputStream xmlBindings)
The XML bindings metadata will be loaded from an InputStream.
|
XMLMetadataSource(org.w3c.dom.Node xmlBindings)
The XML bindings metadata will be loaded from a Node.
|
XMLMetadataSource(java.io.Reader xmlBindings)
The XML bindings metadata will be loaded from Reader.
|
XMLMetadataSource(javax.xml.transform.Source xmlBindings)
The XML bindings metadata will be loaded from a Source.
|
XMLMetadataSource(java.lang.String xmlBindings)
XML bindings metatdata will be loaded either as a URL or as a classpath reference
|
XMLMetadataSource(java.net.URL xmlBindings)
The XML bindings metadata will be loaded from a URL.
|
XMLMetadataSource(javax.xml.stream.XMLEventReader xmlBindings)
The XML bindings metadata will be loaded from an XMLEventReader.
|
XMLMetadataSource(javax.xml.stream.XMLStreamReader xmlBindings)
The XML bindings metadata will be loaded from an XMLStreamReader.
|
Modifier and Type | Method and Description |
---|---|
XmlBindings |
getXmlBindings(java.util.Map<java.lang.String,?> properties,
java.lang.ClassLoader classLoader) |
public XMLMetadataSource(java.io.File xmlBindings)
public XMLMetadataSource(java.io.InputStream xmlBindings)
public XMLMetadataSource(java.io.Reader xmlBindings)
public XMLMetadataSource(java.net.URL xmlBindings)
public XMLMetadataSource(javax.xml.stream.XMLEventReader xmlBindings)
public XMLMetadataSource(javax.xml.stream.XMLStreamReader xmlBindings)
public XMLMetadataSource(javax.xml.transform.Source xmlBindings)
public XMLMetadataSource(org.w3c.dom.Node xmlBindings)
public XMLMetadataSource(org.xml.sax.InputSource xmlBindings)
public XMLMetadataSource(java.lang.String xmlBindings)
public XmlBindings getXmlBindings(java.util.Map<java.lang.String,?> properties, java.lang.ClassLoader classLoader)
getXmlBindings
in interface MetadataSource
getXmlBindings
in class MetadataSourceAdapter
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext