| com.sun.tools.internal.xjc.model.CAdapter
CAdapter | final public class CAdapter extends Adapter (Code) | | Extended
Adapter for use within XJC.
author: Kohsuke Kawaguchi |
Constructor Summary | |
public | CAdapter(Class<? extends XmlAdapter> adapter, boolean copy) When the adapter class is statically known to us. | public | CAdapter(JClass adapter) |
CAdapter | public CAdapter(Class<? extends XmlAdapter> adapter, boolean copy)(Code) | | 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 theadapter parameter. |
CAdapter | public CAdapter(JClass adapter)(Code) | | |
getAdapterIfKnown | public Class<? extends XmlAdapter> getAdapterIfKnown()(Code) | | Returns the adapter class if the adapter type is statically known to XJC.
This method is mostly for enabling certain optimized code generation.
|
isWhitespaceAdapter | public boolean isWhitespaceAdapter()(Code) | | Returns true if the adapter is for whitespace normalization.
Such an adapter can be ignored when producing a list.
|
|
|