com.sun.tools.xjc.api.impl.s2j
abstract class ElementAdapter extends Object implements FieldOutline
That means if a value is requested, we unwrap JAXBElement and give it to them. If a value is set, we wrap that into JAXBElement, etc.
This can be used only with CReferencePropertyInfo
(or else it won't be JAXBElement),
with one CElementInfo (or else we can't infer the tag name.)
Nested Class Summary | |
---|---|
protected abstract class | ElementAdapter.FieldAccessorImpl |
Field Summary | |
---|---|
protected FieldOutline | core |
protected CElementInfo | ei
The only one CElementInfo that can be in the property. |
Constructor Summary | |
---|---|
ElementAdapter(FieldOutline core, CElementInfo ei) |
Method Summary | |
---|---|
protected JCodeModel | codeModel() |
CPropertyInfo | getPropertyInfo() |
protected Outline | outline() |
ClassOutline | parent() |