abstract static class NestedCollection.CollectionStore extends NestedCollection.CollectionBase
Modifier | Constructor and Description |
---|---|
protected |
CollectionStore(boolean doubword)
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 abstract void |
genStoreItem(ContextMethodBuilder mb)
Generate code to store next item to collection.
|
appendPOP, appendSWAP
protected CollectionStore(boolean doubword)
doubword
- double word value flagprotected void genStoreInit(ContextMethodBuilder mb) throws JiBXException
genStoreItem(org.jibx.binding.classes.ContextMethodBuilder)
method.
The base class implementation does nothing.mb
- method builderJiBXException
- if error in configurationprotected abstract void genStoreItem(ContextMethodBuilder mb) throws JiBXException
genStoreInit(org.jibx.binding.classes.ContextMethodBuilder)
method must be called
before calling this method, and the 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.mb
- method builderJiBXException
- if error in configurationprotected void genStoreDone(ContextMethodBuilder mb) throws JiBXException
genStoreItem(org.jibx.binding.classes.ContextMethodBuilder)
. The base class
implementation does nothing.mb
- method builderJiBXException
- if error in configuration