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>
-
-
Field Summary
Fields Modifier and Type Field Description ClassDeclT
adapterType
The adapter class.TypeT
customType
The type that is stored in memory.TypeT
defaultType
The type that the JAXB can handle natively.
-
Constructor Summary
Constructors Constructor Description Adapter(ClassDeclT adapterType, Navigator<TypeT,ClassDeclT,?,?> nav)
Adapter(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter spec, AnnotationReader<TypeT,ClassDeclT,?,?> reader, Navigator<TypeT,ClassDeclT,?,?> nav)
-
-
-
Field Detail
-
adapterType
public final ClassDeclT adapterType
The adapter class. Always non-null. A class that derives fromXmlAdapter
.
-
defaultType
public final TypeT defaultType
The type that the JAXB can handle natively. TheDefault
parameter ofXmlAdapter<Default,Custom>
. Always non-null.
-
customType
public final TypeT customType
The type that is stored in memory. TheCustom
parameter ofXmlAdapter<Default,Custom>
.
-
-
Constructor Detail
-
Adapter
public Adapter(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter spec, AnnotationReader<TypeT,ClassDeclT,?,?> reader, Navigator<TypeT,ClassDeclT,?,?> nav)
-
Adapter
public Adapter(ClassDeclT adapterType, Navigator<TypeT,ClassDeclT,?,?> nav)
-
-