public interface Binder
Contract for performing JAXB binding.
Modifier and Type | Method and Description |
---|---|
Binding |
bind(InputStream stream,
Origin origin)
Bind from an InputStream
|
Binding |
bind(Source source,
Origin origin)
Bind from an XML source.
|
Binding bind(Source source, Origin origin)
Bind from an XML source.
source
- The XML source.origin
- The descriptor of the source originBinding bind(InputStream stream, Origin origin)
Bind from an InputStream
stream
- The InputStream containing XMLorigin
- The descriptor of the stream originCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.