- java.lang.Object
-
- com.sun.xml.bind.v2.model.core.Adapter<NType,NClass>
-
- com.sun.tools.xjc.model.CAdapter
-
-
Field Summary
-
Fields inherited from class com.sun.xml.bind.v2.model.core.Adapter
adapterType, customType, defaultType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JClass
getAdapterClass(Outline o)
Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter>
getAdapterIfKnown()
Returns the adapter class if the adapter type is statically known to XJC.boolean
isWhitespaceAdapter()
Returns true if the adapter is for whitespace normalization.
-
-
-
Constructor Detail
-
CAdapter
public CAdapter(Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter> adapter, boolean copy)
When the adapter class is statically known to us.- Parameters:
copy
- true to copy the adapter class into the user package, or otherwise just refer to the class specified via the adapter parameter.
-
CAdapter
public CAdapter(JClass adapter)
-
-
Method Detail
-
isWhitespaceAdapter
public boolean isWhitespaceAdapter()
Returns true if the adapter is for whitespace normalization. Such an adapter can be ignored when producing a list.
-
getAdapterIfKnown
public Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter> getAdapterIfKnown()
Returns the adapter class if the adapter type is statically known to XJC.This method is mostly for enabling certain optimized code generation.
-
-