Package org.jibx.runtime.impl
Class BackFillArray
java.lang.Object
org.jibx.runtime.impl.BackFillArray
- All Implemented Interfaces:
BackFillReference
Backfill reference item, used for filling in forward references as
members of arrays. Each item holds both the array containing the
reference and the offset in the array.
- Version:
- 1.0
- Author:
- Dennis M. Sosnoski
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_array
Array containing reference. -
m_index
private int m_indexReference offset within array.
-
-
Constructor Details
-
BackFillArray
Constructor. Saves the information for filling the reference once the associated object is defined.- Parameters:
index
- reference offset within arrayarray
- array containing the reference
-
-
Method Details
-
backfill
Define referenced object. This method is called by the framework when the forward-referenced item is defined.- Specified by:
backfill
in interfaceBackFillReference
- Parameters:
obj
- referenced object
-