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>
Adapter that wraps XmlJavaTypeAdapter.- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ClassDeclTThe adapter class.final TypeTThe type that is stored in memory.final TypeTThe type that the JAXB can handle natively. -
Constructor Summary
ConstructorsConstructorDescriptionAdapter(ClassDeclT adapterType, Navigator<TypeT, ClassDeclT, ?, ?> nav) Adapter(javax.xml.bind.annotation.adapters.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. TheDefaultparameter ofXmlAdapter<Default,Custom>. Always non-null. -
customType
The type that is stored in memory. TheCustomparameter ofXmlAdapter<Default,Custom>.
-
-
Constructor Details