Top Description Inners Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.reflect

pack-priv final Class PrimitiveArrayListerByte<BeanT>

extends Lister<BeanT, byte[], Byte, PrimitiveArrayListerByte.ByteArrayPack>
Class Inheritance
Imports
org.glassfish.jaxb.runtime.api.AccessorException, org.glassfish.jaxb.runtime.v2.runtime.XMLSerializer

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 and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Inherited from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister:
ERRORprimitiveArrayListers

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
addToPack(PrimitiveArrayListerByte.ByteArrayPack objects, Byte o)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.addToPack.

Once the startPacking is called, you can add values to the pack by using this method.

public void
endPacking(PrimitiveArrayListerByte.ByteArrayPack pack, BeanT bean, Accessor<BeanT, byte[]> acc)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.endPacking.

Finally, call this method to wraps up the pack.

public ListIterator<Byte>
iterator(final byte[] objects, XMLSerializer context)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.iterator.

Iterates values of a multi-value property.

pack-priv static void
public void
reset(BeanT o, Accessor<BeanT, byte[]> acc)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.reset.

Clears the values of the property.

public PrimitiveArrayListerByte.ByteArrayPack
startPacking(BeanT current, Accessor<BeanT, byte[]> acc)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.startPacking.

Setting values to a multi-value property starts by creating a transient object called "pack" from the current field.

Inherited from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister:
creategetErrorInstance

Constructor Detail

PrimitiveArrayListerByteback to summary
private PrimitiveArrayListerByte()

Method Detail

addToPackback to summary
public void addToPack(PrimitiveArrayListerByte.ByteArrayPack objects, Byte o)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.addToPack.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.addToPack.

Once the startPacking is called, you can add values to the pack by using this method.

Annotations
@Override
endPackingback to summary
public void endPacking(PrimitiveArrayListerByte.ByteArrayPack pack, BeanT bean, Accessor<BeanT, byte[]> acc) throws AccessorException

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.endPacking.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.endPacking.

Finally, call this method to wraps up the pack. This method may update the field of the given bean.

Annotations
@Override
iteratorback to summary
public ListIterator<Byte> iterator(final byte[] objects, XMLSerializer context)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.iterator.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.iterator.

Iterates values of a multi-value property.

Annotations
@Override
registerback to summary
pack-priv static void register()
resetback to summary
public void reset(BeanT o, Accessor<BeanT, byte[]> acc) throws AccessorException

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.reset.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.reset.

Clears the values of the property.

Annotations
@Override
startPackingback to summary
public PrimitiveArrayListerByte.ByteArrayPack startPacking(BeanT current, Accessor<BeanT, byte[]> acc)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.startPacking.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.startPacking.

Setting values to a multi-value property starts by creating a transient object called "pack" from the current field.

Annotations
@Override
org.glassfish.jaxb.runtime.v2.runtime.reflect back to summary

pack-priv final Class PrimitiveArrayListerByte.ByteArrayPack

extends Object
Class Inheritance
  • java.lang.Object
  • org.glassfish.jaxb.runtime.v2.runtime.reflect.PrimitiveArrayListerByte.ByteArrayPack

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
add(Byte b)

pack-priv byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufback to summary
pack-priv byte[] buf
sizeback to summary
pack-priv int size

Constructor Detail

ByteArrayPackback to summary
pack-priv ByteArrayPack()

Method Detail

addback to summary
pack-priv void add(Byte b)
buildback to summary
pack-priv byte[] build()