Top Description Methods
org.hibernate.boot.jaxb.spi

public Interface Binder<T>

Known Direct Implementers
org.hibernate.boot.jaxb.internal.AbstractBinder
Imports
java.io.InputStream, javax.xml.transform.Source, org.hibernate.boot.jaxb.Origin

Contract for performing JAXB binding.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public <X extends T> Binding<X>

Returns:

The bound JAXB model
bind
(Source
The XML source.
source
,
Origin
The descriptor of the source origin
origin
)

Bind from an XML source.

public <X extends T> Binding<X>

Returns:

The bound JAXB model
bind
(InputStream
The InputStream containing XML
stream
,
Origin
The descriptor of the stream origin
origin
)

Bind from an InputStream

Method Detail

bindback to summary
public <X extends T> Binding<X> bind(Source source, Origin origin)

Bind from an XML source.

Parameters
source:Source

The XML source.

origin:Origin

The descriptor of the source origin

Returns:Binding<X>

The bound JAXB model

bindback to summary
public <X extends T> Binding<X> bind(InputStream stream, Origin origin)

Bind from an InputStream

Parameters
stream:InputStream

The InputStream containing XML

origin:Origin

The descriptor of the stream origin

Returns:Binding<X>

The bound JAXB model