com.sun.tools.xjc.model
public final class CAdapter extends Adapter<NType,NClass>
Constructor Summary | |
---|---|
CAdapter(Class<? extends XmlAdapter> adapter, boolean copy)
When the adapter class is statically known to us.
| |
CAdapter(JClass adapter) |
Method Summary | |
---|---|
JClass | getAdapterClass(Outline o) |
Class<? extends XmlAdapter> | getAdapterIfKnown()
Returns the adapter class if the adapter type is statically known to XJC.
|
static NClass | getRef(Class<? extends XmlAdapter> adapter, boolean copy) |
boolean | isWhitespaceAdapter()
Returns true if the adapter is for whitespace normalization.
|
Parameters: copy true to copy the adapter class into the user package, or otherwise just refer to the class specified via the adapter parameter.
This method is mostly for enabling certain optimized code generation.