static class NestedCollection.IndexedStore extends NestedCollection.CollectionStore
Modifier and Type | Field | Description |
---|---|---|
private boolean |
m_isReturned |
Flag for method returns result.
|
private ClassItem |
m_setMethod |
Method used to set items by index in collection.
|
Constructor | Description |
---|---|
IndexedStore(ClassItem set,
boolean doubword,
boolean ret) |
Constructor.
|
Modifier and Type | Method | 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
private final ClassItem m_setMethod
private final boolean m_isReturned
IndexedStore(ClassItem set, boolean doubword, boolean ret)
set
- method used to store items by index in collectiondoubword
- double word value flagret
- value returned by add 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