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

public Interface Binder

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 Binding<T>

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 Binding<T>

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 Binding<T> 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<T>

The bound JAXB model

bindback to summary
public Binding<T> 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<T>

The bound JAXB model