static class NestedCollection.ArrayStore extends NestedCollection.CollectionStore
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
m_itemType
Array item type.
|
Constructor and Description |
---|
ArrayStore(java.lang.String itype,
boolean doubword)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
genStoreDone(ContextMethodBuilder mb)
Generate code to clean up after storing items to collection.
|
protected void |
genStoreInit(ContextMethodBuilder mb)
Generate code to initialize collection for storing items.
|
protected void |
genStoreItem(ContextMethodBuilder mb)
Generate code to store next item to collection.
|
appendPOP, appendSWAP
ArrayStore(java.lang.String itype, boolean doubword)
itype
- array item typedoubword
- double word value flagprotected void genStoreInit(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionStore
NestedCollection.CollectionStore.genStoreItem(org.jibx.binding.classes.ContextMethodBuilder)
method.
The base class implementation does nothing.genStoreInit
in class NestedCollection.CollectionStore
mb
- method builderJiBXException
- if error in configurationprotected void genStoreItem(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionStore
NestedCollection.CollectionStore.genStoreInit(org.jibx.binding.classes.ContextMethodBuilder)
method must be called
before calling this method, and the NestedCollection.CollectionStore.genStoreDone(org.jibx.binding.classes.ContextMethodBuilder)
method must
be called after the last call to this method. This method must be
overridden by each subclass.genStoreItem
in class NestedCollection.CollectionStore
mb
- method builderJiBXException
- if error in configurationprotected void genStoreDone(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionStore
NestedCollection.CollectionStore.genStoreItem(org.jibx.binding.classes.ContextMethodBuilder)
. The base class
implementation does nothing.genStoreDone
in class NestedCollection.CollectionStore
mb
- method builderJiBXException
- if error in configuration