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.voidSets 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:AccessorGets the value of the property of the given bean object. -
set
Description copied from class:AccessorSets the value of the property of the given bean object. -
optimize
Description copied from class:AccessorReturns the optimized version of the same accessor.- Overrides:
optimizein classAccessor<BeanT,ValueT> - Parameters:
context- TheJAXBContextImplthat owns the whole thing. (SeeRuntimeModelBuilder.context.)- Returns:
- At least the implementation can return
this.
-