|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Information about a news component's content.
Descriptive metadata provides information about the language, genre, subject matter, and intended audience for news information.
Method Summary | |
AssignedFormalName |
getGenre()
Get the genre of the news component. |
AssignedFormalName[] |
getLanguage()
Get all Language children in an array. |
AssignedFormalName |
getLanguage(int index)
Get one of the languages of the news component. |
int |
getLanguageCount()
Count the languages present. |
OfInterestTo[] |
getOfInterestTo()
Get all OfInterestTo children in an array. |
OfInterestTo |
getOfInterestTo(int index)
Get an indication of the intended audience for a news component. |
int |
getOfInterestToCount()
Count the OfInterestTo members. |
SubjectCode[] |
getSubjectCode()
Get all SubjectCode children in an array. |
SubjectCode |
getSubjectCode(int index)
Get a subject code for the news component. |
int |
getSubjectCodeCount()
Count the subject codes present. |
TopicOccurrence[] |
getTopicOccurrence()
Get all TopicOccurrence children in an array. |
TopicOccurrence |
getTopicOccurrence(int index)
Get a topic associated with a news component. |
int |
getTopicOccurrenceCount()
Count the topic occurrences present. |
Methods inherited from interface org.newsml.toolkit.AssignmentNode |
getAssignedBy, getAssignmentDateAndTime, getConfidence, getHowPresent, getImportance |
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.CatalogNode |
getCatalog |
Methods inherited from interface org.newsml.toolkit.IdNode |
getDuid, getEuid |
Methods inherited from interface org.newsml.toolkit.PropertyNode |
getProperty, getProperty, getPropertyCount |
Method Detail |
public int getLanguageCount()
public AssignedFormalName getLanguage(int index)
It is unclear from NewsML documentation how this value is
meant to interact with the language property (the
xml:lang
attribute) for the news component itself
(see NewsComponent
), so programmers should use this
property with caution.
index
- The index of the language, zero-based, numbered
sequentially.public AssignedFormalName[] getLanguage()
public AssignedFormalName getGenre()
public int getSubjectCodeCount()
public SubjectCode getSubjectCode(int index)
index
- The index of the subject code, zero-based, numbered
sequentially.public SubjectCode[] getSubjectCode()
public int getOfInterestToCount()
public OfInterestTo getOfInterestTo(int index)
index
- The index of the information, zero-based, numbered
sequentially.public OfInterestTo[] getOfInterestTo()
public int getTopicOccurrenceCount()
public TopicOccurrence getTopicOccurrence(int index)
index
- The index of the information, zero-based, numbered
sequentially.public TopicOccurrence[] getTopicOccurrence()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |