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:
- 1.1beta
- Author:
- Reuters PLC
- See Also:
FormalName
Methods inherited from interface org.newsml.toolkit.BaseNode |
getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, removeSelf, toXML, toXML, writeXML, writeXML |
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()