org.newsml.toolkit
Interface Label
- All Superinterfaces:
- BaseNode, IdNode
- public interface Label
- extends BaseNode, IdNode
A generic label for a news item.
- 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 |
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.