Uses of Class
org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor
-
Packages that use Accessor Package Description org.glassfish.jaxb.runtime org.glassfish.jaxb.runtime.v2.model.runtime The specialization oforg.glassfish.jaxb.core.v2.model.corefor the runtime.org.glassfish.jaxb.runtime.v2.runtime.reflect Abstraction around accessing data of actual objects.org.glassfish.jaxb.runtime.v2.runtime.unmarshaller -
-
Uses of Accessor in org.glassfish.jaxb.runtime
Methods in org.glassfish.jaxb.runtime 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 org.glassfish.jaxb.runtime.v2.model.runtime
Methods in org.glassfish.jaxb.runtime.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 org.glassfish.jaxb.runtime.v2.runtime.reflect
Subclasses of Accessor in org.glassfish.jaxb.runtime.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 org.glassfish.jaxb.runtime.v2.runtime.reflect declared as Accessor Modifier and Type Field Description protected Accessor<BeanT,ValueT>TransducedAccessor.CompositeTransducedAccessorImpl. accstatic Accessor<jakarta.xml.bind.JAXBElement,Object>Accessor. JAXB_ELEMENT_VALUEAccessorforJAXBElement.getValue().Methods in org.glassfish.jaxb.runtime.v2.runtime.reflect that return Accessor Modifier and Type Method Description <T> Accessor<BeanT,T>Accessor. adapt(Class<T> targetType, Class<? extends jakarta.xml.bind.annotation.adapters.XmlAdapter<T,ValueT>> adapter)<T> Accessor<BeanT,T>Accessor. adapt(Adapter<Type,Class> 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 org.glassfish.jaxb.runtime.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 org.glassfish.jaxb.runtime.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 org.glassfish.jaxb.runtime.v2.runtime.unmarshaller
Methods in org.glassfish.jaxb.runtime.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 org.glassfish.jaxb.runtime.v2.runtime.unmarshaller with parameters of type Accessor Constructor Description LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)Single(Loader l, Accessor acc)
-