Package com.sun.tools.xjc.model
Class CAdapter
Extended
Adapter
for use within XJC.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.glassfish.jaxb.core.v2.model.core.Adapter
adapterType, customType, defaultType
-
Constructor Summary
ConstructorDescriptionCAdapter
(Class<? extends XmlAdapter> adapter, boolean copy) When the adapter class is statically known to us. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends XmlAdapter>
Returns the adapter class if the adapter type is statically known to XJC.boolean
Returns true if the adapter is for whitespace normalization.
-
Constructor Details
-
CAdapter
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
-
-
Method Details
-
getAdapterClass
-
isWhitespaceAdapter
public boolean isWhitespaceAdapter()Returns true if the adapter is for whitespace normalization. Such an adapter can be ignored when producing a list. -
getAdapterIfKnown
Returns the adapter class if the adapter type is statically known to XJC.This method is mostly for enabling certain optimized code generation.
-