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>
- All Implemented Interfaces:
Receiver
- Direct Known Subclasses:
Accessor.ReadOnlyFieldReflection
Accessor
that uses Java reflection to access a 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
FieldsFields inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor
JAXB_ELEMENT_VALUE, valueType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the property of the given bean object.optimize
(JAXBContextImpl context) Returns the optimized version of the same accessor.void
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 Details
-
f
-
-
Constructor Details
-
FieldReflection
-
FieldReflection
-
-
Method Details
-
get
Description copied from class:Accessor
Gets the value of the property of the given bean object. -
set
Description copied from class:Accessor
Sets the value of the property of the given bean object. -
optimize
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
.
-