Uses of Class
javax.xml.bind.annotation.adapters.XmlAdapter
-
Packages that use XmlAdapter Package Description javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.bind.annotation.adapters XmlAdapter
and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB. -
-
Uses of XmlAdapter in javax.xml.bind
Methods in javax.xml.bind with type parameters of type XmlAdapter Modifier and Type Method Description <A extends XmlAdapter>
AMarshaller. getAdapter(Class<A> type)
Gets the adapter associated with the specified type.<A extends XmlAdapter>
AUnmarshaller. getAdapter(Class<A> type)
Gets the adapter associated with the specified type.<A extends XmlAdapter>
voidMarshaller. setAdapter(Class<A> type, A adapter)
Associates a configured instance ofXmlAdapter
with this marshaller.<A extends XmlAdapter>
voidUnmarshaller. setAdapter(Class<A> type, A adapter)
Associates a configured instance ofXmlAdapter
with this unmarshaller.Methods in javax.xml.bind with parameters of type XmlAdapter Modifier and Type Method Description void
Marshaller. setAdapter(XmlAdapter adapter)
Associates a configured instance ofXmlAdapter
with this marshaller.void
Unmarshaller. setAdapter(XmlAdapter adapter)
Associates a configured instance ofXmlAdapter
with this unmarshaller. -
Uses of XmlAdapter in javax.xml.bind.annotation.adapters
Subclasses of XmlAdapter in javax.xml.bind.annotation.adapters Modifier and Type Class Description class
CollapsedStringAdapter
Built-inXmlAdapter
to handlexs:token
and its derived types.class
HexBinaryAdapter
XmlAdapter
forxs:hexBinary
.class
NormalizedStringAdapter
XmlAdapter
to handlexs:normalizedString
.Methods in javax.xml.bind.annotation.adapters that return types with arguments of type XmlAdapter Modifier and Type Method Description Class<? extends XmlAdapter>
value()
Points to the class that converts a value type to a bound type or vice versa.
-