|
||||||||||
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.FieldReflection<BeanT,ValueT>
com.sun.xml.bind.v2.runtime.reflect.Accessor.ReadOnlyFieldReflection<BeanT,ValueT>
public static final class Accessor.ReadOnlyFieldReflection<BeanT,ValueT>
Read-only access to Field
. Used to handle a static field.
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.FieldReflection |
---|
f |
Fields inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor |
---|
JAXB_ELEMENT_VALUE, valueType |
Constructor Summary | |
---|---|
Accessor.ReadOnlyFieldReflection(java.lang.reflect.Field f)
|
Method Summary | |
---|---|
Accessor<BeanT,ValueT> |
optimize(JAXBContextImpl context)
Returns the optimized version of the same accessor. |
void |
set(BeanT bean,
ValueT value)
Sets the value of the property of the given bean object. |
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor.FieldReflection |
---|
get |
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.ReadOnlyFieldReflection(java.lang.reflect.Field f)
Method Detail |
---|
public void set(BeanT bean, ValueT value)
Accessor
set
in class Accessor.FieldReflection<BeanT,ValueT>
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.)public Accessor<BeanT,ValueT> optimize(JAXBContextImpl context)
Accessor
optimize
in class Accessor.FieldReflection<BeanT,ValueT>
context
- The JAXBContextImpl
that owns the whole thing.
(See RuntimeModelBuilder.context
.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |