abstract static class NestedCollection.CollectionLoad extends NestedCollection.CollectionBase
Modifier | Constructor and Description |
---|---|
protected |
NestedCollection.CollectionLoad(boolean doubword)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
genLoadDone(ContextMethodBuilder mb)
Generate code to clean up after loading items from collection.
|
protected void |
genLoadInit(ContextMethodBuilder mb)
Generate code to initialize collection for loading items.
|
protected abstract BranchWrapper |
genLoadItem(ContextMethodBuilder mb)
Generate code to load next item from collection.
|
appendPOP, appendSWAP
protected NestedCollection.CollectionLoad(boolean doubword)
doubword
- double word value flagprotected void genLoadInit(ContextMethodBuilder mb) throws JiBXException
genLoadItem(org.jibx.binding.classes.ContextMethodBuilder)
method. The base class implementation does nothing.mb
- method builderJiBXException
- if error in configurationprotected abstract BranchWrapper genLoadItem(ContextMethodBuilder mb) throws JiBXException
genLoadInit(org.jibx.binding.classes.ContextMethodBuilder)
method must be called before
calling this method, and the genLoadDone(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 genLoadDone(ContextMethodBuilder mb) throws JiBXException
genLoadItem(org.jibx.binding.classes.ContextMethodBuilder)
. The base class
implementation does nothing.mb
- method builderJiBXException
- if error in configuration