static class NestedCollection.ArrayLoad extends NestedCollection.CollectionLoad
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
m_itemType |
Array item type.
|
private java.lang.Object |
m_slotHandle |
Handle for referencing loop counter local variable.
|
Constructor | Description |
---|---|
ArrayLoad(java.lang.String itype,
boolean doubword) |
Constructor.
|
Modifier and Type | Method | 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 BranchWrapper |
genLoadItem(ContextMethodBuilder mb) |
Generate code to load next item from collection.
|
appendPOP, appendSWAP
private final java.lang.String m_itemType
private java.lang.Object m_slotHandle
ArrayLoad(java.lang.String itype, boolean doubword)
itype
- array item typedoubword
- double word value flagprotected void genLoadInit(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionLoad
NestedCollection.CollectionLoad.genLoadItem(org.jibx.binding.classes.ContextMethodBuilder)
method. The base class implementation does nothing.genLoadInit
in class NestedCollection.CollectionLoad
mb
- method builderJiBXException
- if error in configurationprotected BranchWrapper genLoadItem(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionLoad
NestedCollection.CollectionLoad.genLoadInit(org.jibx.binding.classes.ContextMethodBuilder)
method must be called before
calling this method, and the NestedCollection.CollectionLoad.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.genLoadItem
in class NestedCollection.CollectionLoad
mb
- method builderJiBXException
- if error in configurationprotected void genLoadDone(ContextMethodBuilder mb) throws JiBXException
NestedCollection.CollectionLoad
NestedCollection.CollectionLoad.genLoadItem(org.jibx.binding.classes.ContextMethodBuilder)
. The base class
implementation does nothing.genLoadDone
in class NestedCollection.CollectionLoad
mb
- method builderJiBXException
- if error in configuration