Package | Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
Accessor |
AccessorFactoryImpl.createFieldAccessor(Class bean,
Field field,
boolean readOnly)
Access a field of the class.
|
Accessor |
AccessorFactory.createFieldAccessor(Class bean,
Field f,
boolean readOnly)
Access a field of the class.
|
Accessor |
InternalAccessorFactory.createFieldAccessor(Class bean,
Field f,
boolean readOnly,
boolean supressWarnings)
Access a field of the class.
|
Accessor |
AccessorFactoryImpl.createFieldAccessor(Class bean,
Field field,
boolean readOnly,
boolean supressWarning)
Access a field of the class.
|
Accessor |
AccessorFactoryImpl.createPropertyAccessor(Class bean,
Method getter,
Method setter)
Access a property of the class.
|
Accessor |
AccessorFactory.createPropertyAccessor(Class bean,
Method getter,
Method setter)
Access a property of the class.
|
Modifier and Type | Method and Description |
---|---|
Accessor |
RuntimePropertyInfo.getAccessor()
Gets the
Accessor for this property. |
<BeanT> Accessor<BeanT,Map<QName,String>> |
RuntimeClassInfo.getAttributeWildcard()
If
ClassInfo.hasAttributeWildcard() is true,
returns the accessor to access the property. |
<BeanT> Accessor<BeanT,Locator> |
RuntimeClassInfo.getLocatorField()
If this JAXB bean has a property annotated with
XmlLocation ,
this method returns it. |
Modifier and Type | Method and Description |
---|---|
Accessor |
Property.getElementPropertyAccessor(String nsUri,
String localName)
If this property is mapped to the specified element,
return an accessor to it.
|
Modifier and Type | Class and Description |
---|---|
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 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 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. |
Modifier and Type | Field and Description |
---|---|
protected Accessor<BeanT,ValueT> |
TransducedAccessor.CompositeTransducedAccessorImpl.acc |
static Accessor<JAXBElement,Object> |
Accessor.JAXB_ELEMENT_VALUE
|
Modifier and Type | Method and 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 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) |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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<?,Map<QName,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.
|
Constructor and Description |
---|
LeafPropertyXsiLoader(Loader defaultLoader,
TransducedAccessor xacc,
Accessor acc) |
Single(Loader l,
Accessor acc) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.