接口 Binder
-
- 所有已知实现类:
AbstractBinder,MappingBinder
public interface BinderContract for performing JAXB binding.- 作者:
- Steve Ebersole
-
-
方法详细资料
-
bind
Binding bind(Source source, Origin origin)
Bind from an XML source.- 参数:
source- The XML source.origin- The descriptor of the source origin- 返回:
- The bound JAXB model
-
bind
Binding bind(InputStream stream, Origin origin)
Bind from an InputStream- 参数:
stream- The InputStream containing XMLorigin- The descriptor of the stream origin- 返回:
- The bound JAXB model
-
-