org.newsml.toolkit
Interface Update
- All Superinterfaces:
- IdNode
- public interface Update
- extends IdNode
Deltas for incremental updates.
- Version:
- 1.1beta
- Author:
- Reuters PLC
getDeltaCount
public int getDeltaCount()
- Count the deltas in this update.
- Returns:
- The number of deltas present.
- See Also:
getDelta(int)
getDelta
public Delta getDelta(int index)
- Get one of the deltas for the update.
The deltas include InsertBefore, InsertAfter, Replace, and
Delete.
- Parameters:
index
- The index of the delta to retrieve, zero-based, numbered
sequentially.- Returns:
- The delta requested, or null if the index is out of range.
- See Also:
getDeltaCount()
,
getDelta()
getDelta
public Delta[] getDelta()
- Get all of the deltas for the update.
- Returns:
- An array containing all of the delta nodes.
- See Also:
getDelta(int)