|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Accessor | |
---|---|
com.sun.xml.bind | |
com.sun.xml.bind.v2.model.runtime | The specialization of com.sun.xml.bind.v2.model.core for 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 | |
---|---|
Accessor |
AccessorFactory.createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field f,
boolean readOnly)
Access a field of the class. |
Accessor |
AccessorFactoryImpl.createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field field,
boolean readOnly)
Access a field of the class. |
Accessor |
AccessorFactory.createPropertyAccessor(java.lang.Class bean,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Access a property of the class. |
Accessor |
AccessorFactoryImpl.createPropertyAccessor(java.lang.Class bean,
java.lang.reflect.Method getter,
java.lang.reflect.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 | ||
---|---|---|
Accessor |
RuntimePropertyInfo.getAccessor()
Gets the Accessor for this property. |
|
|
RuntimeClassInfo.getAttributeWildcard()
If ClassInfo.hasAttributeWildcard() is true,
returns the accessor to access the property. |
|
|
RuntimeClassInfo.getLocatorField()
If this JAXB bean has a property annotated with XmlLocation ,
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 | |
---|---|
Accessor |
Property.getElementPropertyAccessor(java.lang.String nsUri,
java.lang.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 | |
---|---|
static class |
Accessor.FieldReflection<BeanT,ValueT>
Accessor that uses Java reflection to access a field. |
static class |
Accessor.GetterOnlyReflection<BeanT,ValueT>
A version of Accessor.GetterSetterReflection thaat doesn't have any setter. |
static class |
Accessor.GetterSetterReflection<BeanT,ValueT>
Accessor that uses Java reflection to access a getter and a setter. |
static class |
Accessor.ReadOnlyFieldReflection<BeanT,ValueT>
Read-only access to Field . |
static class |
Accessor.SetterOnlyReflection<BeanT,ValueT>
A version of Accessor.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 Accessor | |
---|---|
protected Accessor<BeanT,ValueT> |
TransducedAccessor.CompositeTransducedAccessorImpl.acc
|
static Accessor<javax.xml.bind.JAXBElement,java.lang.Object> |
Accessor.JAXB_ELEMENT_VALUE
Accessor for JAXBElement.getValue() . |
Methods in com.sun.xml.bind.v2.runtime.reflect that return Accessor | ||
---|---|---|
|
Accessor.adapt(Adapter<java.lang.reflect.Type,java.lang.Class> adapter)
|
|
|
Accessor.adapt(java.lang.Class<T> targetType,
java.lang.Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter<T,ValueT>> adapter)
Wraps this Accessor into another Accessor
and performs the type adaption as necessary. |
|
static
|
Accessor.getErrorInstance()
Gets the special Accessor used to recover from errors. |
|
Accessor<BeanT,ValueT> |
Accessor.optimize(JAXBContextImpl context)
Returns the optimized version of the same accessor. |
|
Accessor<BeanT,ValueT> |
Accessor.FieldReflection.optimize(JAXBContextImpl context)
|
|
Accessor<BeanT,ValueT> |
Accessor.ReadOnlyFieldReflection.optimize(JAXBContextImpl context)
|
|
Accessor<BeanT,ValueT> |
Accessor.GetterSetterReflection.optimize(JAXBContextImpl context)
|
Methods in com.sun.xml.bind.v2.runtime.reflect with parameters of type Accessor | |
---|---|
abstract void |
Lister.endPacking(PackT pack,
BeanT bean,
Accessor<BeanT,PropT> acc)
Finally, call this method to wraps up the pack . |
void |
Lister.CollectionLister.endPacking(T collection,
BeanT bean,
Accessor<BeanT,T> acc)
|
abstract void |
Lister.reset(BeanT o,
Accessor<BeanT,PropT> acc)
Clears the values of the property. |
void |
Lister.CollectionLister.reset(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. |
T |
Lister.CollectionLister.startPacking(BeanT bean,
Accessor<BeanT,T> acc)
|
Constructors in com.sun.xml.bind.v2.runtime.reflect with parameters of type Accessor | |
---|---|
ListTransducedAccessorImpl(Transducer<ItemT> xducer,
Accessor<BeanT,ListT> acc,
Lister<BeanT,ListT,ItemT,PackT> lister)
|
|
NullSafeAccessor(Accessor<B,V> core,
Lister<B,V,?,P> lister)
|
|
TransducedAccessor.CompositeTransducedAccessorImpl(JAXBContextImpl context,
Transducer<ValueT> xducer,
Accessor<BeanT,ValueT> acc)
|
Uses of Accessor in com.sun.xml.bind.v2.runtime.reflect.opt |
---|
Subclasses of Accessor in com.sun.xml.bind.v2.runtime.reflect.opt | |
---|---|
class |
FieldAccessor_Boolean
Template Accessor for boolean fields. |
class |
FieldAccessor_Byte
Template Accessor for byte fields. |
class |
FieldAccessor_Character
Template Accessor for char fields. |
class |
FieldAccessor_Double
Template Accessor for double fields. |
class |
FieldAccessor_Float
Template Accessor for float fields. |
class |
FieldAccessor_Integer
Template Accessor for int fields. |
class |
FieldAccessor_Long
Template Accessor for long fields. |
class |
FieldAccessor_Ref
Template Accessor for reference type fields. |
class |
FieldAccessor_Short
Template Accessor for short fields. |
class |
MethodAccessor_Boolean
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Byte
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Character
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Double
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Float
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Integer
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Long
Template Accessor for boolean getter/setter. |
class |
MethodAccessor_Ref
Template Accessor for reference types getter/setter. |
class |
MethodAccessor_Short
Template Accessor for boolean getter/setter. |
Methods in com.sun.xml.bind.v2.runtime.reflect.opt that return Accessor | ||
---|---|---|
static
|
OptimizedAccessorFactory.get(java.lang.reflect.Field field)
Gets the optimizd Accessor that accesses the given field. |
|
static
|
OptimizedAccessorFactory.get(java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Gets the optimized Accessor that 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 | |
---|---|
void |
Scope.add(Accessor<BeanT,PropT> acc,
Lister<BeanT,PropT,ItemT,PackT> lister,
ItemT value)
Adds a new item to this packing scope. |
void |
StructureLoader.init(JAXBContextImpl context,
ClassBeanInfoImpl beanInfo,
Accessor<?,java.util.Map<javax.xml.namespace.QName,java.lang.String>> attWildcard)
Completes the initialization. |
void |
Scope.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 | |
---|---|
LeafPropertyXsiLoader(Loader defaultLoader,
TransducedAccessor xacc,
Accessor acc)
|
|
XsiNilLoader.Single(Loader l,
Accessor acc)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |