org.newsml.toolkit
Interface Instruction
- All Superinterfaces:
- BaseNode, FormalName, FormalNameNode, IdNode
- public interface Instruction
- extends FormalName
An instruction from a news provider.
Instructions are available through the NewsManagement
information for a NewsItem
.
- Version:
- 1.1beta
- Author:
- Reuters PLC
Methods inherited from interface org.newsml.toolkit.BaseNode |
getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, removeSelf, toXML, toXML, writeXML, writeXML |
getRevisionStatusCount
public int getRevisionStatusCount()
- Count the revision status structures present.
- Returns:
- The number of revision status structures.
getRevisionStatus
public RevisionStatus getRevisionStatus(int index)
- Get the effect of this revision on previous revisions.
- Parameters:
index
- The index of the revision status object, zero-based,
numbered sequentially.- Returns:
- The RevisionStatus object, or null if none was provided
at the specified index.
getRevisionStatus
public RevisionStatus[] getRevisionStatus()
- Get all RevisionStatus children in an array.
- Returns:
- A (possibly-empty) array of RevisionStatus children.