Package org.hibernate.boot.jaxb.internal
Class InputStreamAccessXmlSource
java.lang.Object
org.hibernate.boot.jaxb.internal.InputStreamAccessXmlSource
Support for processing mapping XML from a InputStreamAccess reference.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Binding
<? extends JaxbBindableMappingDescriptor> fromStreamAccess
(InputStreamAccess inputStreamAccess, MappingBinder mappingBinder) Create a mapping binding from an input stream.static Binding
<? extends JaxbBindableMappingDescriptor> fromStreamAccess
(InputStreamAccess inputStreamAccess, Origin origin, MappingBinder mappingBinder) Create a mapping binding from an input stream.
-
Constructor Details
-
InputStreamAccessXmlSource
public InputStreamAccessXmlSource()
-
-
Method Details
-
fromStreamAccess
public static Binding<? extends JaxbBindableMappingDescriptor> fromStreamAccess(InputStreamAccess inputStreamAccess, MappingBinder mappingBinder) Create a mapping binding from an input stream.- API Note:
- This method does not close the given
inputStream
.
-
fromStreamAccess
public static Binding<? extends JaxbBindableMappingDescriptor> fromStreamAccess(InputStreamAccess inputStreamAccess, Origin origin, MappingBinder mappingBinder) Create a mapping binding from an input stream.- API Note:
- This method does not close the given
inputStream
.
-