Accessor#adapt
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Accessor | |
| private final AtomicReference | staticAdapterReference
Sometimes Adapters are used directly by JAX-WS outside any |
| Access | Constructor and Description |
|---|---|
| pack-priv | AdaptedAccessor(Class<OnWireValueT> targetType, Accessor<BeanT, InMemValueT> extThis, Class<? extends XmlAdapter<OnWireValueT, InMemValueT>> adapter)
|
| Modifier and Type | Method and Description |
|---|---|
| public OnWireValueT | get(BeanT bean)
Implements abstract org. Gets the value of the property of the given bean object. |
| private XmlAdapter | |
| public Object | getUnadapted(BeanT bean)
Overrides org. Sets the value without adapting the value. |
| public boolean | isAdapted()
Overrides org. Returns true if this accessor wraps an adapter. |
| public void | set(BeanT bean, OnWireValueT o)
Implements abstract org. Sets the value of the property of the given bean object. |
| public void | setUnadapted(BeanT bean, Object value)
Overrides org. Sets the value without adapting the value. |
| adapter | back to summary |
|---|---|
| private final Class<? extends XmlAdapter<OnWireValueT, InMemValueT>> adapter | |
| core | back to summary |
|---|---|
| private final Accessor<BeanT, InMemValueT> core | |
| staticAdapterReference | back to summary |
|---|---|
| private final AtomicReference<XmlAdapter<OnWireValueT, InMemValueT>> staticAdapterReference Sometimes Adapters are used directly by JAX-WS outside any | |
| AdaptedAccessor | back to summary |
|---|---|
| pack-priv AdaptedAccessor(Class<OnWireValueT> targetType, Accessor<BeanT, InMemValueT> extThis, Class<? extends XmlAdapter<OnWireValueT, InMemValueT>> adapter) | |
| get | back to summary |
|---|---|
| public OnWireValueT get(BeanT bean) throws AccessorException Implements abstract org. Doc from org. Gets the value of the property of the given bean object.
| |
| getAdapter | back to summary |
|---|---|
| private XmlAdapter | |
| getUnadapted | back to summary |
|---|---|
| public Object getUnadapted(BeanT bean) throws AccessorException Overrides org. Doc from org. Sets the value without adapting the value.
This ugly entry point is only used by JAX-WS.
See
| |
| isAdapted | back to summary |
|---|---|
| public boolean isAdapted() Overrides org. Doc from org. Returns true if this accessor wraps an adapter. This method needs to be used with care, but it helps some optimization.
| |
| set | back to summary |
|---|---|
| public void set(BeanT bean, OnWireValueT o) throws AccessorException Implements abstract org. Doc from org. Sets the value of the property of the given bean object.
| |
| setUnadapted | back to summary |
|---|---|
| public void setUnadapted(BeanT bean, Object value) throws AccessorException Overrides org. Doc from org. Sets the value without adapting the value.
This ugly entry point is only used by JAX-WS.
See
| |