org.newsml.toolkit
Interface Comment

All Superinterfaces:
BaseNode, IdNode, LanguageNode, Text

public interface Comment
extends Text, LanguageNode

A comment node in a NewsML document.

Many different element types in a NewsML document can have prose comments attached, possibly in multiple languages. These are not to be confused with XML comments (<!-- ... -->), which are discarded during import.

Version:
1.0
Author:
Reuters PLC

Method Summary
 java.lang.String getTranslationOf()
          Get the identifier of another comment translated by this one.
 
Methods inherited from interface org.newsml.toolkit.Text
getValue, toString
 
Methods inherited from interface org.newsml.toolkit.BaseNode
getSession, getXMLName
 
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
 
Methods inherited from interface org.newsml.toolkit.LanguageNode
getLang
 

Method Detail

getTranslationOf

public java.lang.String getTranslationOf()
Get the identifier of another comment translated by this one.
Returns:
The Duid of the original for this comment.