org.newsml.toolkit
Interface BaseNode

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

public interface BaseNode

Base interface for all NewsML objects.

Version:
1.0
Author:
Reuters PLC

Method Summary
 NewsMLSession getSession()
          Get the NewsML session associated with the package.
 java.lang.String getXMLName()
          Get the XML element name associated with the node.
 

Method Detail

getXMLName

public java.lang.String getXMLName()
Get the XML element name associated with the node.
Returns:
The XML element name associated with the node, or null if there is none.

getSession

public NewsMLSession getSession()
Get the NewsML session associated with the package.
Returns:
The session (not null).