org.jibx.runtime.impl
Class BackFillArray
java.lang.Object
org.jibx.runtime.impl.BackFillArray
- All Implemented Interfaces:
- BackFillReference
public class BackFillArray
- extends Object
- implements 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackFillArray
public BackFillArray(int index,
Object[] array)
- Constructor. Saves the information for filling the reference
once the associated object is defined.
- Parameters:
index - reference offset within arrayarray - array containing the reference
backfill
public void backfill(Object obj)
- Define referenced object. This method is called by the framework
when the forward-referenced item is defined.
- Specified by:
backfill in interface BackFillReference
- Parameters:
obj - referenced object
Copyright © 2005-2011 jibx.org. All Rights Reserved.