Package com.sun.xml.bind.v2.model.core
Class Adapter<TypeT,ClassDeclT>
java.lang.Object
com.sun.xml.bind.v2.model.core.Adapter<TypeT,ClassDeclT>
- Direct Known Subclasses:
CAdapter
Adapter
that wraps XmlJavaTypeAdapter
.- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ClassDeclT
The adapter class.final TypeT
The type that is stored in memory.final TypeT
The type that the JAXB can handle natively. -
Constructor Summary
ConstructorsConstructorDescriptionAdapter
(ClassDeclT adapterType, Navigator<TypeT, ClassDeclT, ?, ?> nav) Adapter
(XmlJavaTypeAdapter spec, AnnotationReader<TypeT, ClassDeclT, ?, ?> reader, Navigator<TypeT, ClassDeclT, ?, ?> nav) -
Method Summary
-
Field Details
-
adapterType
The adapter class. Always non-null. A class that derives fromXmlAdapter
. -
defaultType
The type that the JAXB can handle natively. TheDefault
parameter ofXmlAdapter<Default,Custom>
. Always non-null. -
customType
The type that is stored in memory. TheCustom
parameter ofXmlAdapter<Default,Custom>
.
-
-
Constructor Details