Class Accessor.FieldReflection<BeanT,ValueT>
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.reflect.Accessor<BeanT,ValueT>
-
- com.sun.xml.bind.v2.runtime.reflect.Accessor.FieldReflection<BeanT,ValueT>
-
-
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 Modifier and Type Field Description Field
f
-
Fields inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor
JAXB_ELEMENT_VALUE, valueType
-
-
Constructor Summary
Constructors Constructor Description FieldReflection(Field f)
FieldReflection(Field f, boolean supressAccessorWarnings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueT
get(BeanT bean)
Gets the value of the property of the given bean object.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
adapt, adapt, getErrorInstance, getUnadapted, getValueType, isAbstractable, isAdapted, isValueTypeAbstractable, receive, setUnadapted
-
-
-
-
Field Detail
-
f
public final Field f
-
-
Method Detail
-
get
public ValueT get(BeanT bean)
Description copied from class:Accessor
Gets the value of the property of the given bean object.
-
set
public void set(BeanT bean, ValueT value)
Description copied from class:Accessor
Sets the value of the property of the given bean object.
-
optimize
public Accessor<BeanT,ValueT> optimize(JAXBContextImpl context)
Description copied from class:Accessor
Returns the optimized version of the same accessor.- Overrides:
optimize
in classAccessor<BeanT,ValueT>
- Parameters:
context
- TheJAXBContextImpl
that owns the whole thing. (SeeRuntimeModelBuilder.context
.)- Returns:
- At least the implementation can return
this
.
-
-