|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
Comment |
getReferencedComment()
Get the comment referenced by TranslationOf. |
Text |
getTranslationOf()
Get the identifier of another comment translated by this one. |
Methods inherited from interface org.newsml.toolkit.Text |
setBoolean, setInt, setString, toBoolean, toInt, toString |
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 |
Methods inherited from interface org.newsml.toolkit.LanguageNode |
getLang |
Method Detail |
public Text getTranslationOf()
getReferencedComment()
public Comment getReferencedComment() throws IOException
NewsMLException
- if the referenced node is not a comment.getTranslationOf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |