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:
2.0
Author:
Reuters PLC

Method Summary
 RevisionStatus[] getRevisionStatus()
          Get all RevisionStatus children in an array.
 RevisionStatus getRevisionStatus(int index)
          Get the effect of this revision on previous revisions.
 int getRevisionStatusCount()
          Count the revision status structures present.
 
Methods inherited from interface org.newsml.toolkit.FormalName
getScheme
 
Methods inherited from interface org.newsml.toolkit.BaseNode
getAttr, getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, insertAfter, insertAfter, insertAfter, insertAfter, insertAfterDuid, insertAfterDuid, insertBefore, insertBefore, insertBefore, insertBefore, insertBeforeDuid, insertBeforeDuid, insertChild, insertChild, insertFirst, insertFirst, insertLast, insertLast, removeChild, removeChild, removeSelf, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, setAttr, setAttr, toXML, toXML, unsetAttr, unsetAttr, writeXML, writeXML
 
Methods inherited from interface org.newsml.toolkit.FormalNameNode
findTopic, getDefaultScheme, getDefaultVocabulary, getName, getTopicSet, getVocabulary, toString, toString
 
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
 

Method Detail

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.