Package org.hibernate.boot.jaxb.spi
Interface Binder<T>
- All Known Implementing Classes:
AbstractBinder,ConfigurationBinder,MappingBinder
public interface Binder<T>
Contract for performing JAXB binding.
-
Method Summary
-
Method Details
-
bind
Bind from an XML source.- Parameters:
source- The XML source.origin- The descriptor of the source origin- Returns:
- The bound JAXB model
-
bind
Bind from an InputStream- Parameters:
stream- The InputStream containing XMLorigin- The descriptor of the stream origin- Returns:
- The bound JAXB model
-