软件包 | 描述 |
---|---|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
javax.xml.bind.annotation.adapters |
XmlAdapter 及其规格定义子类允许任意的java类可以使用JAXB。
|
javax.xml.bind.helpers |
只有使用JAXB提供商:一些的
javax.xml.bind接口提供了部分的默认实现。
|
Modifier and Type | Method and Description |
---|---|
<A extends XmlAdapter> |
Unmarshaller.getAdapter(类<A> type)
获取与指定类型关联的适配器。
|
<A extends XmlAdapter> |
Marshaller.getAdapter(类<A> type)
获取与指定类型关联的适配器。
|
<A extends XmlAdapter> |
Unmarshaller.setAdapter(类<A> type, A adapter)
联想
XmlAdapter 这个配置的配置实例。
|
<A extends XmlAdapter> |
Marshaller.setAdapter(类<A> type, A adapter)
联想的配置实例
XmlAdapter 这个指挥。
|
Modifier and Type | Method and Description |
---|---|
void |
Unmarshaller.setAdapter(XmlAdapter adapter)
联想
XmlAdapter 这个配置的配置实例。
|
void |
Marshaller.setAdapter(XmlAdapter adapter)
联想的配置实例
XmlAdapter 这个指挥。
|
Modifier and Type | Class and Description |
---|---|
class |
CollapsedStringAdapter
内置
XmlAdapter 处理
xs:token及其派生类型。
|
class |
HexBinaryAdapter
XmlAdapter 为
xs:hexBinary。
|
class |
NormalizedStringAdapter
XmlAdapter 处理
xs:normalizedString。
|
Modifier and Type | Method and Description |
---|---|
<A extends XmlAdapter> |
AbstractUnmarshallerImpl.getAdapter(类<A> type) |
<A extends XmlAdapter> |
AbstractMarshallerImpl.getAdapter(类<A> type) |
<A extends XmlAdapter> |
AbstractUnmarshallerImpl.setAdapter(类<A> type, A adapter) |
<A extends XmlAdapter> |
AbstractMarshallerImpl.setAdapter(类<A> type, A adapter) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUnmarshallerImpl.setAdapter(XmlAdapter adapter) |
void |
AbstractMarshallerImpl.setAdapter(XmlAdapter adapter) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.