|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.binding.def.NestedCollection.CollectionBase
org.jibx.binding.def.NestedCollection.CollectionStore
org.jibx.binding.def.NestedCollection.IndexedStore
static class NestedCollection.IndexedStore
Collection item store strategy for collection with items set by index number.
| Field Summary | |
|---|---|
private boolean |
m_isReturned
Flag for method returns result. |
private ClassItem |
m_setMethod
Method used to set items by index in collection. |
| Constructor Summary | |
|---|---|
NestedCollection.IndexedStore(ClassItem set,
boolean doubword,
boolean ret)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jibx.binding.def.NestedCollection.CollectionBase |
|---|
appendPOP, appendSWAP |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final ClassItem m_setMethod
private final boolean m_isReturned
| Constructor Detail |
|---|
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 flag| Method Detail |
|---|
protected 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 builder
JiBXException - if error in configuration
protected 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 builder
JiBXException - if error in configuration
protected 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 builder
JiBXException - if error in configuration
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||