public abstract class RawAccessor<B,V>
extends java.lang.Object
This interface allows JAX-RPC to access an element property of a JAXB bean.
Subject to change without notice.
Constructor and Description |
---|
RawAccessor() |
public abstract V get(B bean) throws AccessorException
bean
- must not be null.AccessorException
- if failed to set a value. For example, the getter method
may throw an exception.public abstract void set(B bean, V value) throws AccessorException
bean
- must not be null.value
- the value to be set. Setting value to null means resetting
to the VM default value (even for primitive properties.)AccessorException
- if failed to set a value. For example, the setter method
may throw an exception.