|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.reflect.Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
com.sun.xml.bind.v2.runtime.reflect.PrimitiveArrayListerByte<BeanT>
final class PrimitiveArrayListerByte<BeanT>
Lister
for primitive type arrays.
B y t e ArrayLister is used as the master to generate the rest of the lister classes. Do not modify the generated copies.
Nested Class Summary | |
---|---|
(package private) static class |
PrimitiveArrayListerByte.ByteArrayPack
|
Nested classes/interfaces inherited from class com.sun.xml.bind.v2.runtime.reflect.Lister |
---|
Lister.CollectionLister<BeanT,T extends Collection>, Lister.IDREFSIterator, Lister.Pack<ItemT> |
Field Summary |
---|
Fields inherited from class com.sun.xml.bind.v2.runtime.reflect.Lister |
---|
ERROR, primitiveArrayListers |
Method Summary | |
---|---|
void |
addToPack(PrimitiveArrayListerByte.ByteArrayPack objects,
Byte o)
Once the Lister.startPacking(BeanT, com.sun.xml.bind.v2.runtime.reflect.Accessor is called, you can
add values to the pack by using this method. |
void |
endPacking(PrimitiveArrayListerByte.ByteArrayPack pack,
BeanT bean,
Accessor<BeanT,byte[]> acc)
Finally, call this method to wraps up the pack . |
ListIterator<Byte> |
iterator(byte[] objects,
XMLSerializer context)
Iterates values of a multi-value property. |
(package private) static void |
register()
|
void |
reset(BeanT o,
Accessor<BeanT,byte[]> acc)
Clears the values of the property. |
PrimitiveArrayListerByte.ByteArrayPack |
startPacking(BeanT current,
Accessor<BeanT,byte[]> acc)
Setting values to a multi-value property starts by creating a transient object called "pack" from the current field. |
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.Lister |
---|
create, getErrorInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
static void register()
public ListIterator<Byte> iterator(byte[] objects, XMLSerializer context)
Lister
iterator
in class Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
context
- This parameter is used to support ID/IDREF handling.public PrimitiveArrayListerByte.ByteArrayPack startPacking(BeanT current, Accessor<BeanT,byte[]> acc)
Lister
startPacking
in class Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
public void addToPack(PrimitiveArrayListerByte.ByteArrayPack objects, Byte o)
Lister
Lister.startPacking(BeanT, com.sun.xml.bind.v2.runtime.reflect.Accessor)
is called, you can
add values to the pack by using this method.
addToPack
in class Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
public void endPacking(PrimitiveArrayListerByte.ByteArrayPack pack, BeanT bean, Accessor<BeanT,byte[]> acc) throws AccessorException
Lister
pack
. This method may update the field of
the given bean.
endPacking
in class Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
AccessorException
public void reset(BeanT o, Accessor<BeanT,byte[]> acc) throws AccessorException
Lister
reset
in class Lister<BeanT,byte[],Byte,PrimitiveArrayListerByte.ByteArrayPack>
AccessorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |