Adapter for use within XJC.
| Modifier and Type | Field and Description |
|---|---|
| private JClass | adapterClass1
If non-null, the same as |
| private Class | adapterClass2
If non-null, the same as |
| Access | Constructor and Description |
|---|---|
| public | CAdapter(Class<? extends XmlAdapter<ValueType, BoundType>> adapter, boolean
true to copy the adapter class into the user package,
or otherwise just refer to the class specified via the
adapter parameter. copy)When the adapter class is statically known to us. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JClass | |
| public Class | |
| pack-priv static NClass | |
| public boolean |
| adapterClass1 | back to summary |
|---|---|
| private JClass adapterClass1 If non-null, the same as | |
| adapterClass2 | back to summary |
|---|---|
| private Class<? extends XmlAdapter<ValueType, BoundType>> adapterClass2 If non-null, the same as | |
| CAdapter | back to summary |
|---|---|
| public CAdapter(Class<? extends XmlAdapter<ValueType, BoundType>> adapter, boolean copy) When the adapter class is statically known to us.
| |
| CAdapter | back to summary |
|---|---|
| public CAdapter(JClass adapter) | |
| getAdapterClass | back to summary |
|---|---|
| public JClass getAdapterClass(Outline o) | |
| getAdapterIfKnown | back to summary |
|---|---|
| public Class Returns the adapter class if the adapter type is statically known to XJC. This method is mostly for enabling certain optimized code generation. | |
| getRef | back to summary |
|---|---|
| pack-priv static NClass getRef(final Class<? extends XmlAdapter<ValueType, BoundType>> adapter, boolean copy) | |
| isWhitespaceAdapter | back to summary |
|---|---|
| public boolean isWhitespaceAdapter() Returns true if the adapter is for whitespace normalization. Such an adapter can be ignored when producing a list. | |