adapterType, customType, defaultType| Constructor | Description |
|---|---|
CAdapter(com.sun.codemodel.JClass adapter) |
|
CAdapter(java.lang.Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter> adapter,
boolean copy) |
When the adapter class is statically known to us.
|
| Modifier and Type | Method | Description |
|---|---|---|
com.sun.codemodel.JClass |
getAdapterClass(Outline o) |
|
java.lang.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.
|
public CAdapter(java.lang.Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter> adapter,
boolean copy)
copy - true to copy the adapter class into the user package,
or otherwise just refer to the class specified via the
adapter parameter.public CAdapter(com.sun.codemodel.JClass adapter)
public com.sun.codemodel.JClass getAdapterClass(Outline o)
public boolean isWhitespaceAdapter()
public java.lang.Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter> getAdapterIfKnown()
This method is mostly for enabling certain optimized code generation.
Copyright © 2018 Oracle Corporation. All rights reserved.