Package org.hibernate.boot.jaxb.spi
Interface Binder
-
public interface Binder
Contract for performing JAXB binding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Binding
bind(InputStream stream, Origin origin)
Bind from an InputStreamBinding
bind(Source source, Origin origin)
Bind from an XML source.
-
-
-
Method Detail
-
bind
Binding bind(Source source, Origin origin)
Bind from an XML source.- Parameters:
source
- The XML source.origin
- The descriptor of the source origin- Returns:
- The bound JAXB model
-
bind
Binding bind(InputStream stream, Origin origin)
Bind from an InputStream- Parameters:
stream
- The InputStream containing XMLorigin
- The descriptor of the stream origin- Returns:
- The bound JAXB model
-
-