|
|||||||
| 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.ArrayStore
Collection item store strategy for array.
| Field Summary | |
private java.lang.String |
m_itemType
Array item type. |
| Constructor Summary | |
(package private) |
NestedCollection.ArrayStore(java.lang.String itype,
boolean doubword)
Constructor. |
| Method Summary | |
protected void |
appendPOP(MethodBuilder mb)
Append the appropriate instruction to pop the item value (which may be one or two words, as configured for this collection) from the top of the stack. |
protected void |
appendSWAP(MethodBuilder mb)
Append the appropriate instruction to swap the top of the stack (which must be a single-word value) with an item value (which may be one or two words, as configured for this collection). |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final java.lang.String m_itemType
| Constructor Detail |
NestedCollection.ArrayStore(java.lang.String itype,
boolean doubword)
itype - array item typedoubword - double word value 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 configurationprotected void appendSWAP(MethodBuilder mb)
mb - methodprotected void appendPOP(MethodBuilder mb)
mb - method
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||