Uses of Class
javax.xml.bind.annotation.adapters.XmlAdapter
-
Packages that use XmlAdapter 软件包 描述 javax.xml.bind 为客户端应用程序提供运行时绑定框架,包括解组,编组和验证功能。javax.xml.bind.annotation.adapters XmlAdapter
及其规范定义的子类,允许任意Java类与JAXB一起使用。javax.xml.bind.helpers 仅限JAXB提供程序使用:为某些javax.xml.bind
接口提供部分默认实现。 -
-
Uses of XmlAdapter in javax.xml.bind
Methods in javax.xml.bind with type parameters of type XmlAdapter Modifier and Type 方法 描述 <A extends XmlAdapter>
AMarshaller. getAdapter(Class<A> type)
获取与指定类型相关联的适配器。<A extends XmlAdapter>
AUnmarshaller. getAdapter(Class<A> type)
获取与指定类型相关联的适配器。<A extends XmlAdapter>
voidMarshaller. setAdapter(Class<A> type, A adapter)
将配置的XmlAdapter
实例与此编组相关联。<A extends XmlAdapter>
voidUnmarshaller. setAdapter(Class<A> type, A adapter)
将已配置的XmlAdapter
实例与此解组器相关联。Methods in javax.xml.bind with parameters of type XmlAdapter Modifier and Type 方法 描述 void
Marshaller. setAdapter(XmlAdapter adapter)
将配置的XmlAdapter
实例与此编组相关联。void
Unmarshaller. setAdapter(XmlAdapter adapter)
将配置的XmlAdapter
实例与此解组器相关联。 -
Uses of XmlAdapter in javax.xml.bind.annotation.adapters
Subclasses of XmlAdapter in javax.xml.bind.annotation.adapters Modifier and Type Class 描述 class
CollapsedStringAdapter
内置XmlAdapter
处理xs:token
及其派生类型。class
HexBinaryAdapter
XmlAdapter
为xs:hexBinary
。class
NormalizedStringAdapter
XmlAdapter
处理xs:normalizedString
。 -
Uses of XmlAdapter in javax.xml.bind.helpers
Methods in javax.xml.bind.helpers with type parameters of type XmlAdapter Modifier and Type 方法 描述 <A extends XmlAdapter>
AAbstractMarshallerImpl. getAdapter(Class<A> type)
<A extends XmlAdapter>
AAbstractUnmarshallerImpl. getAdapter(Class<A> type)
<A extends XmlAdapter>
voidAbstractMarshallerImpl. setAdapter(Class<A> type, A adapter)
<A extends XmlAdapter>
voidAbstractUnmarshallerImpl. setAdapter(Class<A> type, A adapter)
Methods in javax.xml.bind.helpers with parameters of type XmlAdapter Modifier and Type 方法 描述 void
AbstractMarshallerImpl. setAdapter(XmlAdapter adapter)
void
AbstractUnmarshallerImpl. setAdapter(XmlAdapter adapter)
-