Interface IdNode

All Known Subinterfaces:
AdministrativeMetadata, AssignedFormalName, AssignedOriginText, AssignedText, BasisForChoice, Catalog, Characteristics, Comment, ContentItem, Copyright, DataContent, DefaultVocabularyFor, Delta, Description, DescriptiveMetadata, Encoding, FormalName, FormalNameDecl, Identification, IdText, Instruction, Label, Metadata, NewsComponent, NewsEnvelope, NewsItem, NewsItemRef, NewsLine, NewsLines, NewsManagement, NewsML, OfInterestTo, Origin, OriginNode, OriginText, Party, PartyList, Property, Resource, RevisionHistory, RevisionId, RevisionStatus, RightsMetadata, SourceList, StatusWillChange, SubjectCode, Topic, TopicOccurrence, TopicSet, TopicSetRef, TransmissionId, Update, UsageRights

public interface IdNode

Base node for identifiable NewsML objects.

Most NewsML objects can have a Duid (document-unique identifiers) and/or Euid (element-unique identifier) attached. All such objects are derived from this class.

Reuters PLC

Method Summary
 Text getDuid()
          Get the Duid for this element.
 Text getEuid()
          Get the Euid for this element.

Method Detail


public Text getDuid()
Get the Duid for this element. The Duid, or Document-Unique Identifier, is a string identifier guaranteed to be unique within this NewsML package. Duids are heavily used for cross-referencing.
Text containing the document-unique identifier for the underlying XML element, or null if none was specified.


public Text getEuid()
Get the Euid for this element. The Euid, or Element-Unique Identifier is not likely to be used widely -- it's an identifier that unique only among elements with the same type and parent (and thus, is virtually useless for cross-referencing). This toolkit includes access to the Euid simply for the sake of completeness, but all of its retrieval and cross-referencing support is based on the Duid. Note that this method will always return null for instances of the NewsIdentifier, RevisionId, and TopicUse classes.
Text containing the element-unique identifier for the underlying XML element, or null if none was specified.