Uses of Class
com.sun.xml.bind.v2.runtime.reflect.Accessor
Packages that use Accessor
Package
Description
The specialization of
com.sun.xml.bind.v2.model.core
for the runtime.Abstraction around accessing data of actual objects.
-
Uses of Accessor in com.sun.xml.bind
Methods in com.sun.xml.bind that return AccessorModifier and TypeMethodDescriptionAccessorFactory.createFieldAccessor
(Class bean, Field f, boolean readOnly) Access a field of the class.AccessorFactoryImpl.createFieldAccessor
(Class bean, Field field, boolean readOnly) Access a field of the class.AccessorFactoryImpl.createFieldAccessor
(Class bean, Field field, boolean readOnly, boolean supressWarning) Access a field of the class.InternalAccessorFactory.createFieldAccessor
(Class bean, Field f, boolean readOnly, boolean supressWarnings) Access a field of the class.AccessorFactory.createPropertyAccessor
(Class bean, Method getter, Method setter) Access a property of the class.AccessorFactoryImpl.createPropertyAccessor
(Class bean, Method getter, Method setter) Access a property of the class. -
Uses of Accessor in com.sun.xml.bind.v2.model.runtime
Methods in com.sun.xml.bind.v2.model.runtime that return AccessorModifier and TypeMethodDescriptionRuntimePropertyInfo.getAccessor()
Gets theAccessor
for this property.RuntimeClassInfo.getAttributeWildcard()
IfClassInfo.hasAttributeWildcard()
is true, returns the accessor to access the property.RuntimeClassInfo.getLocatorField()
If this JAXB bean has a property annotated withXmlLocation
, this method returns it. -
Uses of Accessor in com.sun.xml.bind.v2.runtime.property
Methods in com.sun.xml.bind.v2.runtime.property that return AccessorModifier and TypeMethodDescriptionProperty.getElementPropertyAccessor
(String nsUri, String localName) If this property is mapped to the specified element, return an accessor to it. -
Uses of Accessor in com.sun.xml.bind.v2.runtime.reflect
Subclasses of Accessor in com.sun.xml.bind.v2.runtime.reflectModifier and TypeClassDescriptionstatic class
Accessor.FieldReflection<BeanT,
ValueT> Accessor
that uses Java reflection to access a field.static class
Accessor.GetterOnlyReflection<BeanT,
ValueT> A version ofAccessor.GetterSetterReflection
that doesn't have any setter.static class
Accessor.GetterSetterReflection<BeanT,
ValueT> Accessor
that uses Java reflection to access a getter and a setter.static final class
Accessor.ReadOnlyFieldReflection<BeanT,
ValueT> Read-only access toField
.static class
Accessor.SetterOnlyReflection<BeanT,
ValueT> A version ofAccessor.GetterSetterReflection
thaat doesn't have any getter.class
NullSafeAccessor<B,
V, P> Accessor
wrapper that replaces a null with an empty collection.Fields in com.sun.xml.bind.v2.runtime.reflect declared as AccessorModifier and TypeFieldDescriptionTransducedAccessor.CompositeTransducedAccessorImpl.acc
static final Accessor<JAXBElement,
Object> Accessor.JAXB_ELEMENT_VALUE
Methods in com.sun.xml.bind.v2.runtime.reflect that return AccessorModifier and TypeMethodDescriptionAccessor.adapt
(Class<T> targetType, Class<? extends XmlAdapter<T, ValueT>> adapter) static <A,
B> Accessor<A, B> Accessor.getErrorInstance()
Gets the specialAccessor
used to recover from errors.Accessor.FieldReflection.optimize
(JAXBContextImpl context) Accessor.GetterSetterReflection.optimize
(JAXBContextImpl context) Accessor.optimize
(JAXBContextImpl context) Returns the optimized version of the same accessor.Accessor.ReadOnlyFieldReflection.optimize
(JAXBContextImpl context) Methods in com.sun.xml.bind.v2.runtime.reflect with parameters of type AccessorModifier and TypeMethodDescriptionvoid
abstract void
Finally, call this method to wraps up thepack
.void
abstract void
Clears the values of the property.Lister.CollectionLister.startPacking
(BeanT bean, Accessor<BeanT, T> acc) abstract PackT
Lister.startPacking
(BeanT bean, Accessor<BeanT, PropT> acc) Setting values to a multi-value property starts by creating a transient object called "pack" from the current field.Constructors in com.sun.xml.bind.v2.runtime.reflect with parameters of type AccessorModifierConstructorDescriptionCompositeTransducedAccessorImpl
(JAXBContextImpl context, Transducer<ValueT> xducer, Accessor<BeanT, ValueT> acc) ListTransducedAccessorImpl
(Transducer<ItemT> xducer, Accessor<BeanT, ListT> acc, Lister<BeanT, ListT, ItemT, PackT> lister) -
Uses of Accessor in com.sun.xml.bind.v2.runtime.reflect.opt
Subclasses of Accessor in com.sun.xml.bind.v2.runtime.reflect.optModifier and TypeClassDescriptionclass
TemplateAccessor
for boolean fields.class
TemplateAccessor
for byte fields.class
TemplateAccessor
for char fields.class
TemplateAccessor
for double fields.class
TemplateAccessor
for float fields.class
TemplateAccessor
for int fields.class
TemplateAccessor
for long fields.class
TemplateAccessor
for reference type fields.class
TemplateAccessor
for short fields.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for boolean getter/setter.class
TemplateAccessor
for reference types getter/setter.class
TemplateAccessor
for boolean getter/setter. -
Uses of Accessor in com.sun.xml.bind.v2.runtime.unmarshaller
Methods in com.sun.xml.bind.v2.runtime.unmarshaller with parameters of type AccessorModifier and TypeMethodDescriptionvoid
Adds a new item to this packing scope.void
StructureLoader.init
(JAXBContextImpl context, ClassBeanInfoImpl beanInfo, Accessor<?, Map<QName, String>> attWildcard) Completes the initialization.void
Starts the packing scope, without adding any item.Constructors in com.sun.xml.bind.v2.runtime.unmarshaller with parameters of type AccessorModifierConstructorDescriptionLeafPropertyXsiLoader
(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)