public class Adapter<TypeT,ClassDeclT>
extends java.lang.Object
Adapter
that wraps XmlJavaTypeAdapter
.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 | Description |
---|---|
Adapter(ClassDeclT adapterType,
Navigator<TypeT,ClassDeclT,?,?> nav) |
|
Adapter(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter spec,
AnnotationReader<TypeT,ClassDeclT,?,?> reader,
Navigator<TypeT,ClassDeclT,?,?> nav) |
public final ClassDeclT adapterType
XmlAdapter
.public final TypeT defaultType
Default
parameter of XmlAdapter<Default,Custom>
.
Always non-null.public final TypeT customType
Custom
parameter of XmlAdapter<Default,Custom>
.public Adapter(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter spec, AnnotationReader<TypeT,ClassDeclT,?,?> reader, Navigator<TypeT,ClassDeclT,?,?> nav)
public Adapter(ClassDeclT adapterType, Navigator<TypeT,ClassDeclT,?,?> nav)
Copyright © 2018 Oracle Corporation. All rights reserved.