static class NestedCollection.IndexedStore extends NestedCollection.CollectionStore
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_isReturned
Flag for method returns result.
|
private ClassItem |
m_setMethod
Method used to set items by index in collection.
|
| Constructor and Description |
|---|
NestedCollection.IndexedStore(ClassItem set,
boolean doubword,
boolean ret)
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, appendSWAPprivate final ClassItem m_setMethod
private final boolean m_isReturned
NestedCollection.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.CollectionStoreNestedCollection.CollectionStore.genStoreItem(org.jibx.binding.classes.ContextMethodBuilder) method.
The base class implementation does nothing.genStoreInit in class NestedCollection.CollectionStoremb - method builderJiBXException - if error in configurationprotected void genStoreItem(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionStoreNestedCollection.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.CollectionStoremb - method builderJiBXException - if error in configurationprotected void genStoreDone(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionStoreNestedCollection.CollectionStore.genStoreItem(org.jibx.binding.classes.ContextMethodBuilder). The base class
implementation does nothing.genStoreDone in class NestedCollection.CollectionStoremb - method builderJiBXException - if error in configuration