|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.binding.def.NestedCollection.CollectionLoad
abstract static class NestedCollection.CollectionLoad
Base class for collection item load strategy. The implementation class must handle the appropriate form of code generation for the type of collection being used.
| Constructor Summary | |
|---|---|
NestedCollection.CollectionLoad()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
NestedCollection.CollectionLoad()
| Method Detail |
|---|
protected void genLoadInit(ContextMethodBuilder mb)
throws JiBXException
genLoadItem(org.jibx.binding.classes.ContextMethodBuilder)
method. The base class implementation does nothing.
mb - method builder
JiBXException - if error in configuration
protected 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 builder
JiBXException - if error in configuration
protected void genLoadDone(ContextMethodBuilder mb)
throws JiBXException
genLoadItem(org.jibx.binding.classes.ContextMethodBuilder). The base class
implementation does nothing.
mb - method builder
JiBXException - if error in configuration
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||