|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.api.RawAccessor<B,V>
public abstract class RawAccessor<B,V>
Accesses a particular property of a bean.
This interface allows JAX-RPC to access an element property of a JAXB bean.
Subject to change without notice.
| Constructor Summary | |
|---|---|
RawAccessor()
|
|
| Method Summary | |
|---|---|
abstract V |
get(B bean)
Gets the value of the property of the given bean object. |
abstract void |
set(B bean,
V value)
Sets the value of the property of the given bean object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RawAccessor()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||