com.sun.xml.bind.v2.model.core
Class Adapter<TypeT,ClassDeclT>
java.lang.Object
com.sun.xml.bind.v2.model.core.Adapter<TypeT,ClassDeclT>
public class Adapter<TypeT,ClassDeclT>
- extends Object
Adapter that wraps XmlJavaTypeAdapter.
- Author:
- Kohsuke Kawaguchi
|
Constructor Summary |
Adapter(ClassDeclT adapterType,
Navigator<TypeT,ClassDeclT,?,?> nav)
|
Adapter(XmlJavaTypeAdapter spec,
AnnotationReader<TypeT,ClassDeclT,?,?> reader,
Navigator<TypeT,ClassDeclT,?,?> nav)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adapterType
public final ClassDeclT adapterType
- The adapter class. Always non-null.
A class that derives from
XmlAdapter.
defaultType
public final TypeT defaultType
- The type that the JAXB can handle natively.
The Default parameter of XmlAdapter<Default,Custom>.
Always non-null.
customType
public final TypeT customType
- The type that is stored in memory.
The Custom parameter of XmlAdapter<Default,Custom>.
Adapter
public Adapter(XmlJavaTypeAdapter spec,
AnnotationReader<TypeT,ClassDeclT,?,?> reader,
Navigator<TypeT,ClassDeclT,?,?> nav)
Adapter
public Adapter(ClassDeclT adapterType,
Navigator<TypeT,ClassDeclT,?,?> nav)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.