Property implementation for XmlValue properties.
This one works for both leaves and nodes, scalars and arrays.
| Modifier and Type | Field and Description |
|---|---|
| private final Accessor | |
| private final TransducedAccessor | xacc
Heart of the conversion logic. |
| Access | Constructor and Description |
|---|---|
| public |
| acc | back to summary |
|---|---|
| private final Accessor<BeanT, ?> acc | |
| xacc | back to summary |
|---|---|
| private final TransducedAccessor<BeanT> xacc Heart of the conversion logic. | |
| ValueProperty | back to summary |
|---|---|
| public ValueProperty(JAXBContextImpl context, RuntimeValuePropertyInfo prop) | |
| buildChildElementUnmarshallers | back to summary |
|---|---|
| public void buildChildElementUnmarshallers(UnmarshallerChain chainElem, QNameMap<ChildLoader> handlers) Implements org. Doc from org. Every Property class has an implementation of buildChildElementUnmarshallers
which will fill in the specified
| |
| 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
| |
| hasSerializeURIAction | back to summary |
|---|---|
| public boolean hasSerializeURIAction() Overrides org. Implements org. Doc from org. Returns true if
| |
| 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.
| |
| serializeURIs | back to summary |
|---|---|
| public void serializeURIs(BeanT o, XMLSerializer w) throws SAXException, AccessorException Overrides org. Implements org.
| |