static class NestedCollection.AddStore extends NestedCollection.CollectionStore
Modifier and Type | Field | Description |
---|---|---|
private ClassItem |
m_addMethod |
Method used to add item to collection.
|
private boolean |
m_isReturned |
Flag for method returns result.
|
Constructor | Description |
---|---|
AddStore(ClassItem add,
boolean doubword,
boolean ret) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
genStoreItem(ContextMethodBuilder mb) |
Generate code to store next item to collection.
|
appendPOP, appendSWAP
genStoreDone, genStoreInit
private final ClassItem m_addMethod
private final boolean m_isReturned
AddStore(ClassItem add, boolean doubword, boolean ret)
add
- method used to add item to collectiondoubword
- double word value flagret
- value returned by add flagprotected 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 configuration