Property that contains a leaf value.
| Modifier and Type | Field and Description |
|---|---|
| private final Accessor | |
| private final String | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final Name | |
| private final TransducedAccessor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | buildChildElementUnmarshallers(UnmarshallerChain chain, QNameMap<ChildLoader> handlers)
Implements org. Every Property class has an implementation of buildChildElementUnmarshallers
which will fill in the specified |
| public Accessor | getElementPropertyAccessor(String nsUri, String localName)
Overrides org. Implements org. If this property is mapped to the specified element, return an accessor to it. |
| public String | getIdValue(BeanT bean)
Implements org. Gets the value of the property. |
| public PropertyKind | getKind()
Implements org. Gets the Kind of property |
| private boolean | isNillableAbstract(BeanT bean, JAXBContextImpl context, Object value, Class<T> valueTypeClass)
Checks if element is nillable and represented by abstract class. |
| public void | reset(BeanT o)
Implements org. Resets the property value on the given object. |
| public void | serializeBody(BeanT o, XMLSerializer w, Object outerPeer)
Overrides org. Implements org.
|
| private boolean | xsiTypeNeeded(BeanT bean, XMLSerializer w, Object value, Class<T> valueTypeClass)
Checks if xsi type needed to be specified |
| acc | back to summary |
|---|---|
| private final Accessor<BeanT, ValueT> acc | |
| defaultValue | back to summary |
|---|---|
| private final String defaultValue | |
| idRef | back to summary |
|---|---|
| private final boolean idRef | |
| improvedXsiTypeHandling | back to summary |
|---|---|
| private final boolean improvedXsiTypeHandling | |
| nillable | back to summary |
|---|---|
| private final boolean nillable | |
| tagName | back to summary |
|---|---|
| private final Name tagName | |
| xacc | back to summary |
|---|---|
| private final TransducedAccessor<BeanT> xacc | |
| SingleElementLeafProperty | back to summary |
|---|---|
| public SingleElementLeafProperty(JAXBContextImpl context, RuntimeElementPropertyInfo prop) | |
| buildChildElementUnmarshallers | back to summary |
|---|---|
| public void buildChildElementUnmarshallers(UnmarshallerChain chain, QNameMap<ChildLoader> handlers) Implements org. Doc from org. Every Property class has an implementation of buildChildElementUnmarshallers
which will fill in the specified
| |
| getElementPropertyAccessor | back to summary |
|---|---|
| public Accessor Overrides org. Implements org. Doc from org. If this property is mapped to the specified element, return an accessor to it.
| |
| getIdValue | back to summary |
|---|---|
| public String getIdValue(BeanT bean) throws AccessorException, SAXException Implements org. Doc from org. Gets the value of the property.
This method is only used when the corresponding
| |
| getKind | back to summary |
|---|---|
| public PropertyKind getKind() Implements org. Doc from org. Gets the Kind of property
| |
| isNillableAbstract | back to summary |
|---|---|
| private boolean isNillableAbstract(BeanT bean, JAXBContextImpl context, Object value, Class<T> valueTypeClass) Checks if element is nillable and represented by abstract class. | |
| reset | back to summary |
|---|---|
| public void reset(BeanT o) throws AccessorException Implements org. Doc from org. Resets the property value on the given object. ... for example by setting 0 or null.
| |
| serializeBody | back to summary |
|---|---|
| public void serializeBody(BeanT o, XMLSerializer w, Object outerPeer) throws SAXException, AccessorException, IOException, XMLStreamException Overrides org. Implements org.
| |
| xsiTypeNeeded | back to summary |
|---|---|
| private boolean xsiTypeNeeded(BeanT bean, XMLSerializer w, Object value, Class<T> valueTypeClass) Checks if xsi type needed to be specified | |