public class Adapter<TypeT,ClassDeclT> extends Object
Adapter that wraps XmlJavaTypeAdapter.| Modifier and Type | Field and 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 and Description |
|---|
Adapter(ClassDeclT adapterType,
Navigator<TypeT,ClassDeclT,?,?> nav) |
Adapter(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(XmlJavaTypeAdapter spec, AnnotationReader<TypeT,ClassDeclT,?,?> reader, Navigator<TypeT,ClassDeclT,?,?> nav)
public Adapter(ClassDeclT adapterType, Navigator<TypeT,ClassDeclT,?,?> nav)
Copyright © 2018 JBoss by Red Hat. All rights reserved.