Uses of Class
com.sun.xml.bind.v2.runtime.reflect.Accessor
-
Packages that use Accessor Package Description com.sun.xml.bind com.sun.xml.bind.v2.model.runtime The specialization ofcom.sun.xml.bind.v2.model.corefor the runtime.com.sun.xml.bind.v2.runtime.property com.sun.xml.bind.v2.runtime.reflect Abstraction around accessing data of actual objects.com.sun.xml.bind.v2.runtime.reflect.opt com.sun.xml.bind.v2.runtime.unmarshaller -
-
Uses of Accessor in com.sun.xml.bind
Methods in com.sun.xml.bind that return Accessor Modifier and Type Method Description AccessorAccessorFactory. createFieldAccessor(Class bean, Field f, boolean readOnly)Access a field of the class.AccessorAccessorFactoryImpl. createFieldAccessor(Class bean, Field field, boolean readOnly)Access a field of the class.AccessorAccessorFactoryImpl. createFieldAccessor(Class bean, Field field, boolean readOnly, boolean supressWarning)Access a field of the class.AccessorInternalAccessorFactory. createFieldAccessor(Class bean, Field f, boolean readOnly, boolean supressWarnings)Access a field of the class.AccessorAccessorFactory. createPropertyAccessor(Class bean, Method getter, Method setter)Access a property of the class.AccessorAccessorFactoryImpl. 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 Accessor Modifier and Type Method Description AccessorRuntimePropertyInfo. getAccessor()Gets theAccessorfor this property.<BeanT> Accessor<BeanT,Map<QName,String>>RuntimeClassInfo. getAttributeWildcard()IfClassInfo.hasAttributeWildcard()is true, returns the accessor to access the property.<BeanT> Accessor<BeanT,Locator>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 Accessor Modifier and Type Method Description AccessorProperty. 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.reflect Modifier and Type Class Description static 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 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 Accessor Modifier and Type Field Description protected Accessor<BeanT,ValueT>TransducedAccessor.CompositeTransducedAccessorImpl. accstatic Accessor<JAXBElement,Object>Accessor. JAXB_ELEMENT_VALUEMethods in com.sun.xml.bind.v2.runtime.reflect that return Accessor Modifier and Type Method Description <T> Accessor<BeanT,T>Accessor. adapt(Adapter<Type,Class> adapter)<T> Accessor<BeanT,T>Accessor. adapt(Class<T> targetType, Class<? extends XmlAdapter<T,ValueT>> adapter)static <A,B>
Accessor<A,B>Accessor. getErrorInstance()Gets the specialAccessorused to recover from errors.Accessor<BeanT,ValueT>Accessor.FieldReflection. optimize(JAXBContextImpl context)Accessor<BeanT,ValueT>Accessor.GetterSetterReflection. optimize(JAXBContextImpl context)Accessor<BeanT,ValueT>Accessor. optimize(JAXBContextImpl context)Returns the optimized version of the same accessor.Accessor<BeanT,ValueT>Accessor.ReadOnlyFieldReflection. optimize(JAXBContextImpl context)Methods in com.sun.xml.bind.v2.runtime.reflect with parameters of type Accessor Modifier and Type Method Description voidLister.CollectionLister. endPacking(T collection, BeanT bean, Accessor<BeanT,T> acc)abstract voidLister. endPacking(PackT pack, BeanT bean, Accessor<BeanT,PropT> acc)Finally, call this method to wraps up thepack.voidLister.CollectionLister. reset(BeanT bean, Accessor<BeanT,T> acc)abstract voidLister. reset(BeanT o, Accessor<BeanT,PropT> acc)Clears the values of the property.TLister.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 Accessor Constructor Description CompositeTransducedAccessorImpl(JAXBContextImpl context, Transducer<ValueT> xducer, Accessor<BeanT,ValueT> acc)ListTransducedAccessorImpl(Transducer<ItemT> xducer, Accessor<BeanT,ListT> acc, Lister<BeanT,ListT,ItemT,PackT> lister)NullSafeAccessor(Accessor<B,V> core, Lister<B,V,?,P> lister) -
Uses of Accessor in com.sun.xml.bind.v2.runtime.reflect.opt
Subclasses of Accessor in com.sun.xml.bind.v2.runtime.reflect.opt Modifier and Type Class Description classFieldAccessor_BooleanTemplateAccessorfor boolean fields.classFieldAccessor_ByteTemplateAccessorfor byte fields.classFieldAccessor_CharacterTemplateAccessorfor char fields.classFieldAccessor_DoubleTemplateAccessorfor double fields.classFieldAccessor_FloatTemplateAccessorfor float fields.classFieldAccessor_IntegerTemplateAccessorfor int fields.classFieldAccessor_LongTemplateAccessorfor long fields.classFieldAccessor_RefTemplateAccessorfor reference type fields.classFieldAccessor_ShortTemplateAccessorfor short fields.classMethodAccessor_BooleanTemplateAccessorfor boolean getter/setter.classMethodAccessor_ByteTemplateAccessorfor boolean getter/setter.classMethodAccessor_CharacterTemplateAccessorfor boolean getter/setter.classMethodAccessor_DoubleTemplateAccessorfor boolean getter/setter.classMethodAccessor_FloatTemplateAccessorfor boolean getter/setter.classMethodAccessor_IntegerTemplateAccessorfor boolean getter/setter.classMethodAccessor_LongTemplateAccessorfor boolean getter/setter.classMethodAccessor_RefTemplateAccessorfor reference types getter/setter.classMethodAccessor_ShortTemplateAccessorfor boolean getter/setter.Methods in com.sun.xml.bind.v2.runtime.reflect.opt that return Accessor Modifier and Type Method Description static <B,V>
Accessor<B,V>OptimizedAccessorFactory. get(Field field)Gets the optimizedAccessorthat accesses the given field.static <B,V>
Accessor<B,V>OptimizedAccessorFactory. get(Method getter, Method setter)Gets the optimizedAccessorthat accesses the given 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 Accessor Modifier and Type Method Description voidScope. add(Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister, ItemT value)Adds a new item to this packing scope.voidStructureLoader. init(JAXBContextImpl context, ClassBeanInfoImpl beanInfo, Accessor<?,Map<QName,String>> attWildcard)Completes the initialization.voidScope. start(Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister)Starts the packing scope, without adding any item.Constructors in com.sun.xml.bind.v2.runtime.unmarshaller with parameters of type Accessor Constructor Description LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)Single(Loader l, Accessor acc)
-