org.newsml.toolkit
Interface Label

All Superinterfaces:
BaseNode, IdNode

public interface Label
extends BaseNode, IdNode

A generic label for a news item.

Version:
2.0
Author:
Reuters PLC

Method Summary
 IdText getLabelText()
          Get the contents of the generic label.
 FormalName getLabelType()
          Get the type of the generic label.
 
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.IdNode
getDuid, getEuid
 

Method Detail

getLabelType

public FormalName getLabelType()
Get the type of the generic label.
Returns:
A formal name representing the label type (not null).

getLabelText

public IdText getLabelText()
Get the contents of the generic label.
Returns:
A Text object representing the label's contents.