|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.reflect.Accessor<BeanT,ValueT>
com.sun.xml.bind.v2.runtime.reflect.Accessor.GetterSetterReflection<BeanT,ValueT>
com.sun.xml.bind.v2.runtime.reflect.Accessor.SetterOnlyReflection<BeanT,ValueT>
public static class Accessor.SetterOnlyReflection<BeanT,ValueT>
A version of Accessor.GetterSetterReflection
thaat doesn't have any getter.
This provides a user-friendly error message.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor |
---|
Accessor.FieldReflection<BeanT,ValueT>, Accessor.GetterOnlyReflection<BeanT,ValueT>, Accessor.GetterSetterReflection<BeanT,ValueT>, Accessor.ReadOnlyFieldReflection<BeanT,ValueT>, Accessor.SetterOnlyReflection<BeanT,ValueT> |
Field Summary |
---|
Fields inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor.GetterSetterReflection |
---|
getter, setter |
Fields inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor |
---|
JAXB_ELEMENT_VALUE, valueType |
Constructor Summary | |
---|---|
Accessor.SetterOnlyReflection(java.lang.reflect.Method setter)
|
Method Summary | |
---|---|
ValueT |
get(BeanT bean)
Gets the value of the property of the given bean object. |
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor.GetterSetterReflection |
---|
optimize, set |
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor |
---|
adapt, adapt, getErrorInstance, getUnadapted, getValueType, isAdapted, isValueTypeAbstractable, receive, setUnadapted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Accessor.SetterOnlyReflection(java.lang.reflect.Method setter)
Method Detail |
---|
public ValueT get(BeanT bean) throws AccessorException
Accessor
get
in class Accessor.GetterSetterReflection<BeanT,ValueT>
bean
- must not be null.
AccessorException
- if failed to set a value. For example, the getter method
may throw an exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |