org.newsml.toolkit
Interface FormalNameDecl

All Superinterfaces:
BaseNode, IdNode, IdText, Text

public interface FormalNameDecl
extends IdText

The declaration of a local name and scheme for a topic.

When a TopicSet represents a vocabulary, this element can declare a local name (the value of this text node) and optional scheme for a topic. Note that in the NewsML XML markup, the element is named simply "FormalName". The combination of local name and scheme will be unique among all topics in the topic set.

Note that a single topic may have zero or more formal names declared.

Version:
2.0
Author:
Reuters PLC
See Also:
FormalName

Method Summary
 Text getScheme()
          Get a topic's declared scheme.
 
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
 

Method Detail

getScheme

public Text getScheme()
Get a topic's declared scheme.
Returns:
Text containing the vocabulary scheme, or null if none was provided.
See Also:
FormalName.getScheme()