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 theAccessorfor 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 classAccessor.FieldReflection<BeanT,ValueT> Accessorthat uses Java reflection to access a field.static classAccessor.GetterOnlyReflection<BeanT,ValueT> A version ofAccessor.GetterSetterReflectionthat doesn't have any setter.static classAccessor.GetterSetterReflection<BeanT,ValueT> Accessorthat uses Java reflection to access a getter and a setter.static final classAccessor.ReadOnlyFieldReflection<BeanT,ValueT> Read-only access toField.static classAccessor.SetterOnlyReflection<BeanT,ValueT> A version ofAccessor.GetterSetterReflectionthaat doesn't have any getter.classNullSafeAccessor<B,V, P> Accessorwrapper that replaces a null with an empty collection.Fields in com.sun.xml.bind.v2.runtime.reflect declared as AccessorModifier and TypeFieldDescriptionTransducedAccessor.CompositeTransducedAccessorImpl.accAccessor.JAXB_ELEMENT_VALUEAccessorforJAXBElement.getValue().Methods in com.sun.xml.bind.v2.runtime.reflect that return AccessorModifier and TypeMethodDescriptionAccessor.adapt(Class<T> targetType, Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter<T, ValueT>> adapter) static <A,B> Accessor<A, B> Accessor.getErrorInstance()Gets the specialAccessorused 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 TypeMethodDescriptionvoidabstract voidFinally, call this method to wraps up thepack.voidabstract voidClears the values of the property.Lister.CollectionLister.startPacking(BeanT bean, Accessor<BeanT, T> acc) abstract PackTLister.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 TypeClassDescriptionclassTemplateAccessorfor boolean fields.classTemplateAccessorfor byte fields.classTemplateAccessorfor char fields.classTemplateAccessorfor double fields.classTemplateAccessorfor float fields.classTemplateAccessorfor int fields.classTemplateAccessorfor long fields.classTemplateAccessorfor reference type fields.classTemplateAccessorfor short fields.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor boolean getter/setter.classTemplateAccessorfor reference types getter/setter.classTemplateAccessorfor 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 TypeMethodDescriptionvoidAdds a new item to this packing scope.voidStructureLoader.init(JAXBContextImpl context, ClassBeanInfoImpl beanInfo, Accessor<?, Map<QName, String>> attWildcard) Completes the initialization.voidStarts 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)