org.newsml.toolkit.dom
Class DOMNewsMLFactory

java.lang.Object
  |
  +--org.newsml.toolkit.dom.DOMNewsMLFactory
All Implemented Interfaces:
NewsMLFactory

public class DOMNewsMLFactory
extends Object
implements NewsMLFactory

DOM implementation of NewsMLFactory.

This implementation uses yet another factory class, DOMFactory, to allow the user to plug in different DOM implementations. A default XercesDOMFactory is included with this distribution.

Author:
Reuters PLC

Constructor Summary
DOMNewsMLFactory()
          Default constructor (uses Xerces).
DOMNewsMLFactory(DOMFactory factory)
          Constructor.
DOMNewsMLFactory(DOMFactory factory, boolean validation)
          Constructor.
 
Method Summary
 AdministrativeMetadata createAdministrativeMetadata()
          Create a new, empty AdministrativeMetadata element.
 AdministrativeMetadata createAdministrativeMetadata(AdministrativeMetadata node)
          Copy an existing AdministrativeMetadata element.
 Text createAllowedValuesAttr()
          Create a new, empty AllowedValues attribute.
 Text createAllowedValuesAttr(Text node)
          Copy an existing AllowedValues attribute.
 Text createAssignedByAttr()
          Create a new, empty AssignedBy attribute.
 Text createAssignedByAttr(Text node)
          Copy an existing AssignedBy attribute.
 NewsItemRef createAssociatedWith()
          Create a new, empty AssociatedWith element.
 NewsItemRef createAssociatedWith(NewsItemRef node)
          Copy an existing AssociatedWith element.
 BasisForChoice createBasisForChoice()
          Create a new, empty BasisForChoice element.
 BasisForChoice createBasisForChoice(BasisForChoice node)
          Copy an existing BasisForChoice element.
 OriginText createByLine()
          Create a new, empty ByLine element.
 OriginText createByLine(OriginText node)
          Copy an existing ByLine element.
 Catalog createCatalog()
          Create a new, empty Catalog element.
 Catalog createCatalog(Catalog node)
          Copy an existing Catalog element.
 Characteristics createCharacteristics()
          Create a new, empty Characteristics element.
 Characteristics createCharacteristics(Characteristics node)
          Copy an existing Characteristics element.
 Comment createComment()
          Create a new, empty Comment element.
 Comment createComment(Comment node)
          Copy an existing Comment element.
 Text createConfidenceAttr()
          Create a new, empty Confidence attribute.
 Text createConfidenceAttr(Text node)
          Copy an existing Confidence attribute.
 ContentItem createContentItem()
          Create a new, empty ContentItem element.
 ContentItem createContentItem(ContentItem node)
          Copy an existing ContentItem element.
 Text createContextAttr()
          Create a new, empty Context attribute.
 Text createContextAttr(Text node)
          Copy an existing Context attribute.
 PartyList createContributor()
          Create a new, empty Contributor element.
 PartyList createContributor(PartyList node)
          Copy an existing Contributor element.
 Copyright createCopyright()
          Create a new, empty Copyright element.
 Copyright createCopyright(Copyright node)
          Copy an existing Copyright element.
 OriginText createCopyrightDate()
          Create a new, empty CopyrightDate element.
 OriginText createCopyrightDate(OriginText node)
          Copy an existing CopyrightDate element.
 OriginText createCopyrightHolder()
          Create a new, empty CopyrightHolder element.
 OriginText createCopyrightHolder(OriginText node)
          Copy an existing CopyrightHolder element.
 OriginText createCopyrightLine()
          Create a new, empty CopyrightLine element.
 OriginText createCopyrightLine(OriginText node)
          Copy an existing CopyrightLine element.
 PartyList createCreator()
          Create a new, empty Creator element.
 PartyList createCreator(PartyList node)
          Copy an existing Creator element.
 OriginText createCreditLine()
          Create a new, empty CreditLine element.
 OriginText createCreditLine(OriginText node)
          Copy an existing CreditLine element.
 DataContent createDataContent()
          Create a new, empty DataContent element.
 DataContent createDataContent(DataContent node)
          Copy an existing DataContent element.
 IdText createDateAndTime()
          Create a new, empty DateAndTime element.
 IdText createDateAndTime(IdText node)
          Copy an existing DateAndTime element.
 Text createDateAndTimeAttr()
          Create a new, empty DateAndTime attribute.
 Text createDateAndTimeAttr(Text node)
          Copy an existing DateAndTime attribute.
 Text createDateId()
          Create a new, empty DateId element.
 Text createDateId(Text node)
          Copy an existing DateId element.
 IdText createDateLabel()
          Create a new, empty DateLabel element.
 IdText createDateLabel(IdText node)
          Copy an existing DateLabel element.
 OriginText createDateLine()
          Create a new, empty DateLine element.
 OriginText createDateLine(OriginText node)
          Copy an existing DateLine element.
 DefaultVocabularyFor createDefaultVocabularyFor()
          Create a new, empty DefaultVocabularyFor element.
 DefaultVocabularyFor createDefaultVocabularyFor(DefaultVocabularyFor node)
          Copy an existing DefaultVocabularyFor element.
 Delta createDelete()
          Create a new, empty Delete element.
 Delta createDelete(Delta node)
          Copy an existing Delete element.
 NewsItemRef createDerivedFrom()
          Create a new, empty DerivedFrom element.
 NewsItemRef createDerivedFrom(NewsItemRef node)
          Copy an existing DerivedFrom element.
 Description createDescription()
          Create a new, empty Description element.
 Description createDescription(Description node)
          Copy an existing Description element.
 DescriptiveMetadata createDescriptiveMetadata()
          Create a new, empty DescriptiveMetadata element.
 DescriptiveMetadata createDescriptiveMetadata(DescriptiveMetadata node)
          Copy an existing DescriptiveMetadata element.
 Text createDetailsAttr()
          Create a new, empty Details attribute.
 Text createDetailsAttr(Text node)
          Copy an existing Details attribute.
 Text createDuidAttr()
          Create a new, empty Duid attribute.
 Text createDuidAttr(Text node)
          Copy an existing Duid attribute.
 Text createDuidRefAttr()
          Create a new, empty DuidRef attribute.
 Text createDuidRefAttr(Text node)
          Copy an existing DuidRef attribute.
 Encoding createEncoding()
          Create a new, empty Encoding element.
 Encoding createEncoding(Encoding node)
          Copy an existing Encoding element.
 AssignedOriginText createEndDate()
          Create a new, empty EndDate element.
 AssignedOriginText createEndDate(AssignedOriginText node)
          Copy an existing EndDate element.
 Text createEquivalentsListAttr()
          Create a new, empty EquivalentsList attribute.
 Text createEquivalentsListAttr(Text node)
          Copy an existing EquivalentsList attribute.
 Text createEssentialAttr()
          Create a new, empty Essential attribute.
 Text createEssentialAttr(Text node)
          Copy an existing Essential attribute.
 Text createEuidAttr()
          Create a new, empty Euid attribute.
 Text createEuidAttr(Text node)
          Copy an existing Euid attribute.
 IdText createFileName()
          Create a new, empty FileName element.
 IdText createFileName(IdText node)
          Copy an existing FileName element.
 IdText createFirstCreated()
          Create a new, empty FirstCreated element.
 IdText createFirstCreated(IdText node)
          Copy an existing FirstCreated element.
 FormalNameDecl createFormalName()
          Create a new, empty FormalName element.
 FormalNameDecl createFormalName(FormalNameDecl node)
          Copy an existing FormalName element.
 Text createFormalNameAttr()
          Create a new, empty FormalName attribute.
 Text createFormalNameAttr(Text node)
          Copy an existing FormalName attribute.
 FormalName createFormat()
          Create a new, empty Format element.
 FormalName createFormat(FormalName node)
          Copy an existing Format element.
 FormalName createFutureStatus()
          Create a new, empty FutureStatus element.
 FormalName createFutureStatus(FormalName node)
          Copy an existing FutureStatus element.
 AssignedFormalName createGenre()
          Create a new, empty Genre element.
 AssignedFormalName createGenre(AssignedFormalName node)
          Copy an existing Genre element.
 AssignedOriginText createGeography()
          Create a new, empty Geography element.
 AssignedOriginText createGeography(AssignedOriginText node)
          Copy an existing Geography element.
 OriginText createHeadLine()
          Create a new, empty HeadLine element.
 OriginText createHeadLine(OriginText node)
          Copy an existing HeadLine element.
 Text createHowPresentAttr()
          Create a new, empty HowPresent attribute.
 Text createHowPresentAttr(Text node)
          Copy an existing HowPresent attribute.
 Text createHrefAttr()
          Create a new, empty Href attribute.
 Text createHrefAttr(Text node)
          Copy an existing Href attribute.
 Identification createIdentification()
          Create a new, empty Identification element.
 Identification createIdentification(Identification node)
          Copy an existing Identification element.
 Text createImportanceAttr()
          Create a new, empty Importance attribute.
 Text createImportanceAttr(Text node)
          Copy an existing Importance attribute.
 Delta createInsertAfter()
          Create a new, empty InsertAfter element.
 Delta createInsertAfter(Delta node)
          Copy an existing InsertAfter element.
 Delta createInsertBefore()
          Create a new, empty InsertBefore element.
 Delta createInsertBefore(Delta node)
          Copy an existing InsertBefore element.
 Instruction createInstruction()
          Create a new, empty Instruction element.
 Instruction createInstruction(Instruction node)
          Copy an existing Instruction element.
 OriginText createKeywordLine()
          Create a new, empty KeywordLine element.
 OriginText createKeywordLine(OriginText node)
          Copy an existing KeywordLine element.
 Label createLabel()
          Create a new, empty Label element.
 Label createLabel(Label node)
          Copy an existing Label element.
 IdText createLabelText()
          Create a new, empty LabelText element.
 IdText createLabelText(IdText node)
          Copy an existing LabelText element.
 FormalName createLabelType()
          Create a new, empty LabelType element.
 FormalName createLabelType(FormalName node)
          Copy an existing LabelType element.
 AssignedFormalName createLanguage()
          Create a new, empty Language element.
 AssignedFormalName createLanguage(AssignedFormalName node)
          Copy an existing Language element.
 AssignedOriginText createLimitations()
          Create a new, empty Limitations element.
 AssignedOriginText createLimitations(AssignedOriginText node)
          Copy an existing Limitations element.
 FormalName createMediaType()
          Create a new, empty MediaType element.
 FormalName createMediaType(FormalName node)
          Copy an existing MediaType element.
 Metadata createMetadata()
          Create a new, empty Metadata element.
 Metadata createMetadata(Metadata node)
          Copy an existing Metadata element.
 FormalName createMetadataType()
          Create a new, empty MetadataType element.
 FormalName createMetadataType(FormalName node)
          Copy an existing MetadataType element.
 FormalName createMimeType()
          Create a new, empty MimeType element.
 FormalName createMimeType(FormalName node)
          Copy an existing MimeType element.
 IdText createNameLabel()
          Create a new, empty NameLabel element.
 IdText createNameLabel(IdText node)
          Copy an existing NameLabel element.
 BaseNode createNewNode(BaseNode node)
          Copy an existing NewsML element node.
 BaseNode createNewNode(String name)
          Create a new, empty NewsML element node.
 Text createNewNodeAttr(String name)
          Create a new, empty NewsML attribute node.
 Text createNewNodeAttr(Text node)
          Copy an existing NewsML attribute node.
 NewsComponent createNewsComponent()
          Create a new, empty NewsComponent element.
 NewsComponent createNewsComponent(NewsComponent node)
          Copy an existing NewsComponent element.
 NewsEnvelope createNewsEnvelope()
          Create a new, empty NewsEnvelope element.
 NewsEnvelope createNewsEnvelope(NewsEnvelope node)
          Copy an existing NewsEnvelope element.
 NewsIdentifier createNewsIdentifier()
          Create a new, empty NewsIdentifier element.
 NewsIdentifier createNewsIdentifier(NewsIdentifier node)
          Copy an existing NewsIdentifier element.
 NewsItem createNewsItem()
          Create a new, empty NewsItem element.
 NewsItem createNewsItem(NewsItem node)
          Copy an existing NewsItem element.
 Text createNewsItemAttr()
          Create a new, empty NewsItem attribute.
 Text createNewsItemAttr(Text node)
          Copy an existing NewsItem attribute.
 NewsItemId createNewsItemId()
          Create a new, empty NewsItemId element.
 NewsItemId createNewsItemId(NewsItemId node)
          Copy an existing NewsItemId element.
 NewsItemRef createNewsItemRef()
          Create a new, empty NewsItemRef element.
 NewsItemRef createNewsItemRef(NewsItemRef node)
          Copy an existing NewsItemRef element.
 FormalName createNewsItemType()
          Create a new, empty NewsItemType element.
 FormalName createNewsItemType(FormalName node)
          Copy an existing NewsItemType element.
 NewsLine createNewsLine()
          Create a new, empty NewsLine element.
 NewsLine createNewsLine(NewsLine node)
          Copy an existing NewsLine element.
 NewsLines createNewsLines()
          Create a new, empty NewsLines element.
 NewsLines createNewsLines(NewsLines node)
          Copy an existing NewsLines element.
 OriginText createNewsLineText()
          Create a new, empty NewsLineText element.
 OriginText createNewsLineText(OriginText node)
          Copy an existing NewsLineText element.
 FormalName createNewsLineType()
          Create a new, empty NewsLineType element.
 FormalName createNewsLineType(FormalName node)
          Copy an existing NewsLineType element.
 NewsManagement createNewsManagement()
          Create a new, empty NewsManagement element.
 NewsManagement createNewsManagement(NewsManagement node)
          Copy an existing NewsManagement element.
 NewsML createNewsML()
          Create a new, empty NewsML element.
 NewsML createNewsML(NewsML node)
          Copy an existing NewsML element.
 NewsML createNewsML(Reader input, String baseURL)
          Create a top-level NewsML object from a character stream.
 NewsML createNewsML(String url)
          Create a top-level NewsML object from a URL.
 FormalName createNewsProduct()
          Create a new, empty NewsProduct element.
 FormalName createNewsProduct(FormalName node)
          Copy an existing NewsProduct element.
 FormalName createNewsService()
          Create a new, empty NewsService element.
 FormalName createNewsService(FormalName node)
          Copy an existing NewsService element.
 BaseNode createNode(Reader input, String baseURL)
          Create a NewsML node from a URL.
 BaseNode createNode(String url)
          Create a NewsML node from a URL.
 FormalName createNotation()
          Create a new, empty Notation element.
 FormalName createNotation(FormalName node)
          Copy an existing Notation element.
 Text createNotationAttr()
          Create a new, empty Notation attribute.
 Text createNotationAttr(Text node)
          Copy an existing Notation attribute.
 OfInterestTo createOfInterestTo()
          Create a new, empty OfInterestTo element.
 OfInterestTo createOfInterestTo(OfInterestTo node)
          Copy an existing OfInterestTo element.
 Origin createOrigin()
          Create a new, empty Origin element.
 Origin createOrigin(Origin node)
          Copy an existing Origin element.
 Party createParty()
          Create a new, empty Party element.
 Party createParty(Party node)
          Copy an existing Party element.
 Text createPreviousRevisionAttr()
          Create a new, empty PreviousRevision attribute.
 Text createPreviousRevisionAttr(Text node)
          Copy an existing PreviousRevision attribute.
 FormalName createPriority()
          Create a new, empty Priority element.
 FormalName createPriority(FormalName node)
          Copy an existing Priority element.
 Property createProperty()
          Create a new, empty Property element.
 Property createProperty(Property node)
          Copy an existing Property element.
 PartyList createProvider()
          Create a new, empty Provider element.
 PartyList createProvider(PartyList node)
          Copy an existing Provider element.
 ProviderId createProviderId()
          Create a new, empty ProviderId element.
 ProviderId createProviderId(ProviderId node)
          Copy an existing ProviderId element.
 Text createPublicIdentifier()
          Create a new, empty PublicIdentifier element.
 Text createPublicIdentifier(Text node)
          Copy an existing PublicIdentifier element.
 Text createRankAttr()
          Create a new, empty Rank attribute.
 Text createRankAttr(Text node)
          Copy an existing Rank attribute.
 AssignedFormalName createRelevance()
          Create a new, empty Relevance element.
 AssignedFormalName createRelevance(AssignedFormalName node)
          Copy an existing Relevance element.
 Text createRepeatAttr()
          Create a new, empty Repeat attribute.
 Text createRepeatAttr(Text node)
          Copy an existing Repeat attribute.
 Delta createReplace()
          Create a new, empty Replace element.
 Delta createReplace(Delta node)
          Copy an existing Replace element.
 Resource createResource()
          Create a new, empty Resource element.
 Resource createResource(Resource node)
          Copy an existing Resource element.
 Text createRevisionAttr()
          Create a new, empty Revision attribute.
 Text createRevisionAttr(Text node)
          Copy an existing Revision attribute.
 RevisionHistory createRevisionHistory()
          Create a new, empty RevisionHistory element.
 RevisionHistory createRevisionHistory(RevisionHistory node)
          Copy an existing RevisionHistory element.
 RevisionId createRevisionId()
          Create a new, empty RevisionId element.
 RevisionId createRevisionId(RevisionId node)
          Copy an existing RevisionId element.
 RevisionStatus createRevisionStatus()
          Create a new, empty RevisionStatus element.
 RevisionStatus createRevisionStatus(RevisionStatus node)
          Copy an existing RevisionStatus element.
 AssignedOriginText createRightsHolder()
          Create a new, empty RightsHolder element.
 AssignedOriginText createRightsHolder(AssignedOriginText node)
          Copy an existing RightsHolder element.
 OriginText createRightsLine()
          Create a new, empty RightsLine element.
 OriginText createRightsLine(OriginText node)
          Copy an existing RightsLine element.
 RightsMetadata createRightsMetadata()
          Create a new, empty RightsMetadata element.
 RightsMetadata createRightsMetadata(RightsMetadata node)
          Copy an existing RightsMetadata element.
 FormalName createRole()
          Create a new, empty Role element.
 FormalName createRole(FormalName node)
          Copy an existing Role element.
 Text createSchemeAttr()
          Create a new, empty Scheme attribute.
 Text createSchemeAttr(Text node)
          Copy an existing Scheme attribute.
 PartyList createSentFrom()
          Create a new, empty SentFrom element.
 PartyList createSentFrom(PartyList node)
          Copy an existing SentFrom element.
 PartyList createSentTo()
          Create a new, empty SentTo element.
 PartyList createSentTo(PartyList node)
          Copy an existing SentTo element.
 OriginText createSeriesLine()
          Create a new, empty SeriesLine element.
 OriginText createSeriesLine(OriginText node)
          Copy an existing SeriesLine element.
 IdText createSizeInBytes()
          Create a new, empty SizeInBytes element.
 IdText createSizeInBytes(IdText node)
          Copy an existing SizeInBytes element.
 OriginText createSlugLine()
          Create a new, empty SlugLine element.
 OriginText createSlugLine(OriginText node)
          Copy an existing SlugLine element.
 SourceList createSource()
          Create a new, empty Source element.
 SourceList createSource(SourceList node)
          Copy an existing Source element.
 AssignedOriginText createStartDate()
          Create a new, empty StartDate element.
 AssignedOriginText createStartDate(AssignedOriginText node)
          Copy an existing StartDate element.
 FormalName createStatus()
          Create a new, empty Status element.
 FormalName createStatus(FormalName node)
          Copy an existing Status element.
 StatusWillChange createStatusWillChange()
          Create a new, empty StatusWillChange element.
 StatusWillChange createStatusWillChange(StatusWillChange node)
          Copy an existing StatusWillChange element.
 OriginText createSubHeadLine()
          Create a new, empty SubHeadLine element.
 OriginText createSubHeadLine(OriginText node)
          Copy an existing SubHeadLine element.
 AssignedFormalName createSubject()
          Create a new, empty Subject element.
 AssignedFormalName createSubject(AssignedFormalName node)
          Copy an existing Subject element.
 SubjectCode createSubjectCode()
          Create a new, empty SubjectCode element.
 SubjectCode createSubjectCode(SubjectCode node)
          Copy an existing SubjectCode element.
 AssignedFormalName createSubjectDetail()
          Create a new, empty SubjectDetail element.
 AssignedFormalName createSubjectDetail(AssignedFormalName node)
          Copy an existing SubjectDetail element.
 AssignedFormalName createSubjectMatter()
          Create a new, empty SubjectMatter element.
 AssignedFormalName createSubjectMatter(AssignedFormalName node)
          Copy an existing SubjectMatter element.
 AssignedFormalName createSubjectQualifier()
          Create a new, empty SubjectQualifier element.
 AssignedFormalName createSubjectQualifier(AssignedFormalName node)
          Copy an existing SubjectQualifier element.
 IdText createSystemIdentifier()
          Create a new, empty SystemIdentifier element.
 IdText createSystemIdentifier(IdText node)
          Copy an existing SystemIdentifier element.
 IdText createThisRevisionCreated()
          Create a new, empty ThisRevisionCreated element.
 IdText createThisRevisionCreated(IdText node)
          Copy an existing ThisRevisionCreated element.
 Topic createTopic()
          Create a new, empty Topic element.
 Topic createTopic(Topic node)
          Copy an existing Topic element.
 Text createTopicAttr()
          Create a new, empty Topic attribute.
 Text createTopicAttr(Text node)
          Copy an existing Topic attribute.
 TopicOccurrence createTopicOccurrence()
          Create a new, empty TopicOccurrence element.
 TopicOccurrence createTopicOccurrence(TopicOccurrence node)
          Copy an existing TopicOccurrence element.
 TopicSet createTopicSet()
          Create a new, empty TopicSet element.
 TopicSet createTopicSet(TopicSet node)
          Copy an existing TopicSet element.
 Text createTopicSetAttr()
          Create a new, empty TopicSet attribute.
 Text createTopicSetAttr(Text node)
          Copy an existing TopicSet attribute.
 TopicSetRef createTopicSetRef()
          Create a new, empty TopicSetRef element.
 TopicSetRef createTopicSetRef(TopicSetRef node)
          Copy an existing TopicSetRef element.
 FormalName createTopicType()
          Create a new, empty TopicType element.
 FormalName createTopicType(FormalName node)
          Copy an existing TopicType element.
 TopicUse createTopicUse()
          Create a new, empty TopicUse element.
 TopicUse createTopicUse(TopicUse node)
          Copy an existing TopicUse element.
 Text createTranslationOfAttr()
          Create a new, empty TranslationOf attribute.
 Text createTranslationOfAttr(Text node)
          Copy an existing TranslationOf attribute.
 TransmissionId createTransmissionId()
          Create a new, empty TransmissionId element.
 TransmissionId createTransmissionId(TransmissionId node)
          Copy an existing TransmissionId element.
 Update createUpdate()
          Create a new, empty Update element.
 Update createUpdate(Update node)
          Copy an existing Update element.
 Text createUpdateAttr()
          Create a new, empty Update attribute.
 Text createUpdateAttr(Text node)
          Copy an existing Update attribute.
 FormalName createUrgency()
          Create a new, empty Urgency element.
 FormalName createUrgency(FormalName node)
          Copy an existing Urgency element.
 IdText createUrl()
          Create a new, empty Url element.
 IdText createUrl(IdText node)
          Copy an existing Url element.
 IdText createUrn()
          Create a new, empty Urn element.
 IdText createUrn(IdText node)
          Copy an existing Urn element.
 UsageRights createUsageRights()
          Create a new, empty UsageRights element.
 UsageRights createUsageRights(UsageRights node)
          Copy an existing UsageRights element.
 AssignedOriginText createUsageType()
          Create a new, empty UsageType element.
 AssignedOriginText createUsageType(AssignedOriginText node)
          Copy an existing UsageType element.
 Text createValueAttr()
          Create a new, empty Value attribute.
 Text createValueAttr(Text node)
          Copy an existing Value attribute.
 Text createValueRefAttr()
          Create a new, empty ValueRef attribute.
 Text createValueRefAttr(Text node)
          Copy an existing ValueRef attribute.
 Text createVariantAttr()
          Create a new, empty Variant attribute.
 Text createVariantAttr(Text node)
          Copy an existing Variant attribute.
 Text createVocabularyAttr()
          Create a new, empty Vocabulary attribute.
 Text createVocabularyAttr(Text node)
          Copy an existing Vocabulary attribute.
 Text createXMLLangAttr()
          Create a new, empty xml:lang attribute.
 Text createXMLLangAttr(Text node)
          Copy an existing xml:lang attribute.
 boolean getValidation()
          Get the validation flag.
 void setValidation(boolean validation)
          Set the validation flag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMNewsMLFactory

public DOMNewsMLFactory()
Default constructor (uses Xerces).

DOMNewsMLFactory

public DOMNewsMLFactory(DOMFactory factory)
Constructor.
Parameters:
factory - The factory object for creating new DOM documents.

DOMNewsMLFactory

public DOMNewsMLFactory(DOMFactory factory,
                        boolean validation)
                 throws IOException
Constructor.
Parameters:
factory - The factory object for creating new DOM documents.
validation - true if DTD validation is required, false if it is forbidden.
Throws:
IOException - if the implementation does not support the requested validation state.
Method Detail

setValidation

public void setValidation(boolean validation)
                   throws IOException
Description copied from interface: NewsMLFactory
Set the validation flag.
Specified by:
setValidation in interface NewsMLFactory
See Also:
NewsMLFactory.setValidation(boolean)

getValidation

public boolean getValidation()
Description copied from interface: NewsMLFactory
Get the validation flag.
Specified by:
getValidation in interface NewsMLFactory
See Also:
NewsMLFactory.getValidation()

createNewsML

public NewsML createNewsML(String url)
                    throws IOException
Description copied from interface: NewsMLFactory
Create a top-level NewsML object from a URL.
Specified by:
createNewsML in interface NewsMLFactory
See Also:
NewsMLFactory.createNewsML(String)

createNewsML

public NewsML createNewsML(Reader input,
                           String baseURL)
                    throws IOException
Description copied from interface: NewsMLFactory
Create a top-level NewsML object from a character stream.
Specified by:
createNewsML in interface NewsMLFactory
See Also:
NewsMLFactory.createNewsML(Reader,String)

createNode

public BaseNode createNode(String url)
                    throws IOException
Description copied from interface: NewsMLFactory
Create a NewsML node from a URL.
Specified by:
createNode in interface NewsMLFactory
See Also:
NewsMLFactory.createNode(String)

createNode

public BaseNode createNode(Reader input,
                           String baseURL)
                    throws IOException
Description copied from interface: NewsMLFactory
Create a NewsML node from a URL.
Specified by:
createNode in interface NewsMLFactory
See Also:
NewsMLFactory.createNode(Reader,String)

createNewNode

public BaseNode createNewNode(String name)
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsML element node.

This method creates a new node based on an XML name. The method will succeed only if the name is that of a NewsML 1.0 element.

Specified by:
createNewNode in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
The - XML element name.
Returns:
A new BaseNode representing the element, or null on failure.
Throws:
IOException - If there is an error creating the node.

createNewNode

public BaseNode createNewNode(BaseNode node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsML element node.

This method makes a deep copy of an existing NewsML element node.

Specified by:
createNewNode in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The node to copy.
Returns:
A new BaseNode containing the copy, or null on failure.
Throws:
IOException - If there is an error creating the node.

createNewNodeAttr

public Text createNewNodeAttr(String name)
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsML attribute node.

This method creates a new node based on an XML name with leading '@'. The method will succeed only if the name is that of a NewsML 1.0 attribute.

Specified by:
createNewNodeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
The - XML attribute name, with leading '@'.
Returns:
A new Text node representing the attribute, or null on failure.
Throws:
IOException - If there is an error creating the node.

createNewNodeAttr

public Text createNewNodeAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsML attribute node.

This method makes a deep copy of an existing NewsML attribute node.

Specified by:
createNewNodeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The node to copy.
Returns:
A new Text node containing the copy, or null on failure.
Throws:
IOException - If there is an error creating the node.

createAllowedValuesAttr

public Text createAllowedValuesAttr()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty AllowedValues attribute.

Create a new Text node representing an XML AllowedValues attribute, with empty content.

Specified by:
createAllowedValuesAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createAllowedValuesAttr

public Text createAllowedValuesAttr(Text node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing AllowedValues attribute.

Create a new Text node representing an XML AllowedValues attribute, with a copy of the contents of the Text supplied.

Specified by:
createAllowedValuesAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createAssignedByAttr

public Text createAssignedByAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty AssignedBy attribute.

Create a new Text node representing an XML AssignedBy attribute, with empty content.

Specified by:
createAssignedByAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createAssignedByAttr

public Text createAssignedByAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing AssignedBy attribute.

Create a new Text node representing an XML AssignedBy attribute, with a copy of the contents of the Text supplied.

Specified by:
createAssignedByAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createConfidenceAttr

public Text createConfidenceAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Confidence attribute.

Create a new Text node representing an XML Confidence attribute, with empty content.

Specified by:
createConfidenceAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createConfidenceAttr

public Text createConfidenceAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Confidence attribute.

Create a new Text node representing an XML Confidence attribute, with a copy of the contents of the Text supplied.

Specified by:
createConfidenceAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createContextAttr

public Text createContextAttr()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Context attribute.

Create a new Text node representing an XML Context attribute, with empty content.

Specified by:
createContextAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createContextAttr

public Text createContextAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Context attribute.

Create a new Text node representing an XML Context attribute, with a copy of the contents of the Text supplied.

Specified by:
createContextAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createDateAndTimeAttr

public Text createDateAndTimeAttr()
                           throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DateAndTime attribute.

Create a new Text node representing an XML DateAndTime attribute, with empty content.

Specified by:
createDateAndTimeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createDateAndTimeAttr

public Text createDateAndTimeAttr(Text node)
                           throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DateAndTime attribute.

Create a new Text node representing an XML DateAndTime attribute, with a copy of the contents of the Text supplied.

Specified by:
createDateAndTimeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createDetailsAttr

public Text createDetailsAttr()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Details attribute.

Create a new Text node representing an XML Details attribute, with empty content.

Specified by:
createDetailsAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createDetailsAttr

public Text createDetailsAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Details attribute.

Create a new Text node representing an XML Details attribute, with a copy of the contents of the Text supplied.

Specified by:
createDetailsAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createDuidAttr

public Text createDuidAttr()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Duid attribute.

Create a new Text node representing an XML Duid attribute, with empty content.

Specified by:
createDuidAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createDuidAttr

public Text createDuidAttr(Text node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Duid attribute.

Create a new Text node representing an XML Duid attribute, with a copy of the contents of the Text supplied.

Specified by:
createDuidAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createDuidRefAttr

public Text createDuidRefAttr()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DuidRef attribute.

Create a new Text node representing an XML DuidRef attribute, with empty content.

Specified by:
createDuidRefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createDuidRefAttr

public Text createDuidRefAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DuidRef attribute.

Create a new Text node representing an XML DuidRef attribute, with a copy of the contents of the Text supplied.

Specified by:
createDuidRefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createEquivalentsListAttr

public Text createEquivalentsListAttr()
                               throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty EquivalentsList attribute.

Create a new Text node representing an XML EquivalentsList attribute, with empty content.

Specified by:
createEquivalentsListAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createEquivalentsListAttr

public Text createEquivalentsListAttr(Text node)
                               throws IOException
Description copied from interface: NewsMLFactory
Copy an existing EquivalentsList attribute.

Create a new Text node representing an XML EquivalentsList attribute, with a copy of the contents of the Text supplied.

Specified by:
createEquivalentsListAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createEssentialAttr

public Text createEssentialAttr()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Essential attribute.

Create a new Text node representing an XML Essential attribute, with empty content.

Specified by:
createEssentialAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createEssentialAttr

public Text createEssentialAttr(Text node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Essential attribute.

Create a new Text node representing an XML Essential attribute, with a copy of the contents of the Text supplied.

Specified by:
createEssentialAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createEuidAttr

public Text createEuidAttr()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Euid attribute.

Create a new Text node representing an XML Euid attribute, with empty content.

Specified by:
createEuidAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createEuidAttr

public Text createEuidAttr(Text node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Euid attribute.

Create a new Text node representing an XML Euid attribute, with a copy of the contents of the Text supplied.

Specified by:
createEuidAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createFormalNameAttr

public Text createFormalNameAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty FormalName attribute.

Create a new Text node representing an XML FormalName attribute, with empty content.

Specified by:
createFormalNameAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createFormalNameAttr

public Text createFormalNameAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing FormalName attribute.

Create a new Text node representing an XML FormalName attribute, with a copy of the contents of the Text node supplied.

Specified by:
createFormalNameAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createHowPresentAttr

public Text createHowPresentAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty HowPresent attribute.

Create a new Text node representing an XML Text attribute, with empty content.

Specified by:
createHowPresentAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createHowPresentAttr

public Text createHowPresentAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing HowPresent attribute.

Create a new Text node representing an XML HowPresent attribute, with a copy of the contents of the Text supplied.

Specified by:
createHowPresentAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createHrefAttr

public Text createHrefAttr()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Href attribute.

Create a new Text node representing an XML Href attribute, with empty content.

Specified by:
createHrefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createHrefAttr

public Text createHrefAttr(Text node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Href attribute.

Create a new Text node representing an XML Href attribute, with a copy of the contents of the Text supplied.

Specified by:
createHrefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createImportanceAttr

public Text createImportanceAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Importance attribute.

Create a new Text node representing an XML Importance attribute, with empty content.

Specified by:
createImportanceAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createImportanceAttr

public Text createImportanceAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Importance attribute.

Create a new Text node representing an XML Importance attribute, with a copy of the contents of the Text supplied.

Specified by:
createImportanceAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createNewsItemAttr

public Text createNewsItemAttr()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsItem attribute.

Create a new Text node representing an XML NewsItem attribute, with empty content.

Specified by:
createNewsItemAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createNewsItemAttr

public Text createNewsItemAttr(Text node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsItem attribute.

Create a new Text node representing an XML NewsItem attribute, with a copy of the contents of the Text supplied.

Specified by:
createNewsItemAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createNotationAttr

public Text createNotationAttr()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Notation attribute.

Create a new Text node representing an XML Notation attribute, with empty content.

Specified by:
createNotationAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createNotationAttr

public Text createNotationAttr(Text node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Notation attribute.

Create a new Text node representing an XML Notation attribute, with a copy of the contents of the Text supplied.

Specified by:
createNotationAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createPreviousRevisionAttr

public Text createPreviousRevisionAttr()
                                throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty PreviousRevision attribute.

Create a new Text node representing an XML PreviousRevision attribute, with empty content.

Specified by:
createPreviousRevisionAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createPreviousRevisionAttr

public Text createPreviousRevisionAttr(Text node)
                                throws IOException
Description copied from interface: NewsMLFactory
Copy an existing PreviousRevision attribute.

Create a new Text node representing an XML PreviousRevision attribute, with a copy of the contents of the Text supplied.

Specified by:
createPreviousRevisionAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createRankAttr

public Text createRankAttr()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Rank attribute.

Create a new Text node representing an XML Rank attribute, with empty content.

Specified by:
createRankAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createRankAttr

public Text createRankAttr(Text node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Rank attribute.

Create a new Text node representing an XML Rank attribute, with a copy of the contents of the Text supplied.

Specified by:
createRankAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createRepeatAttr

public Text createRepeatAttr()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Repeat attribute.

Create a new Text node representing an XML Repeat attribute, with empty content.

Specified by:
createRepeatAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createRepeatAttr

public Text createRepeatAttr(Text node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Repeat attribute.

Create a new Text node representing an XML Repeat attribute, with a copy of the contents of the Text supplied.

Specified by:
createRepeatAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createRevisionAttr

public Text createRevisionAttr()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Revision attribute.

Create a new Text node representing an XML Revision attribute, with empty content.

Specified by:
createRevisionAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createRevisionAttr

public Text createRevisionAttr(Text node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Revision attribute.

Create a new Text node representing an XML Revision attribute, with a copy of the contents of the Text supplied.

Specified by:
createRevisionAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createSchemeAttr

public Text createSchemeAttr()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Scheme attribute.

Create a new Text node representing an XML Scheme attribute, with empty content.

Specified by:
createSchemeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createSchemeAttr

public Text createSchemeAttr(Text node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Scheme attribute.

Create a new Text node representing an XML Scheme attribute, with a copy of the contents of the Text supplied.

Specified by:
createSchemeAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createTopicAttr

public Text createTopicAttr()
                     throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Topic attribute.

Create a new Text node representing an XML Topic attribute, with empty content.

Specified by:
createTopicAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createTopicAttr

public Text createTopicAttr(Text node)
                     throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Topic attribute.

Create a new Text node representing an XML Topic attribute, with a copy of the contents of the Text supplied.

Specified by:
createTopicAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createTopicSetAttr

public Text createTopicSetAttr()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicSet attribute.

Create a new Text node representing an XML TopicSet attribute, with empty content.

Specified by:
createTopicSetAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createTopicSetAttr

public Text createTopicSetAttr(Text node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicSet attribute.

Create a new Text node representing an XML TopicSet attribute, with a copy of the contents of the Text supplied.

Specified by:
createTopicSetAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createTranslationOfAttr

public Text createTranslationOfAttr()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TranslationOf attribute.

Create a new Text node representing an XML TranslationOf attribute, with empty content.

Specified by:
createTranslationOfAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createTranslationOfAttr

public Text createTranslationOfAttr(Text node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TranslationOf attribute.

Create a new Text node representing an XML TranslationOf attribute, with a copy of the contents of the Text supplied.

Specified by:
createTranslationOfAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createUpdateAttr

public Text createUpdateAttr()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Update attribute.

Create a new Text node representing an XML Update attribute, with empty content.

Specified by:
createUpdateAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createUpdateAttr

public Text createUpdateAttr(Text node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Update attribute.

Create a new Text node representing an XML Update attribute, with a copy of the contents of the Text supplied.

Specified by:
createUpdateAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createValueAttr

public Text createValueAttr()
                     throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Value attribute.

Create a new Text node representing an XML Value attribute, with empty content.

Specified by:
createValueAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createValueAttr

public Text createValueAttr(Text node)
                     throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Value attribute.

Create a new Text node representing an XML Value attribute, with a copy of the contents of the Text supplied.

Specified by:
createValueAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createValueRefAttr

public Text createValueRefAttr()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty ValueRef attribute.

Create a new Text node representing an XML ValueRef attribute, with empty content.

Specified by:
createValueRefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createValueRefAttr

public Text createValueRefAttr(Text node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing ValueRef attribute.

Create a new Text node representing an XML ValueRef attribute, with a copy of the contents of the Text supplied.

Specified by:
createValueRefAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createVariantAttr

public Text createVariantAttr()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Variant attribute.

Create a new Text node representing an XML Variant attribute, with empty content.

Specified by:
createVariantAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createVariantAttr

public Text createVariantAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Variant attribute.

Create a new Text node representing an XML Variant attribute, with a copy of the contents of the Text supplied.

Specified by:
createVariantAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createVocabularyAttr

public Text createVocabularyAttr()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Vocabulary attribute.

Create a new Text node representing an XML Vocabulary attribute, with empty content.

Specified by:
createVocabularyAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createVocabularyAttr

public Text createVocabularyAttr(Text node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Vocabulary attribute.

Create a new Text node representing an XML Vocabulary attribute, with a copy of the contents of the Text supplied.

Specified by:
createVocabularyAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createXMLLangAttr

public Text createXMLLangAttr()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty xml:lang attribute.

Create a new Text node representing an XML XMLLang attribute, with empty content.

Specified by:
createXMLLangAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node with empty content.
Throws:
IOException - If there is an error creating the node.

createXMLLangAttr

public Text createXMLLangAttr(Text node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing xml:lang attribute.

Create a new Text node representing an XML xml:lang attribute, with a copy of the contents of the Text supplied.

Specified by:
createXMLLangAttr in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A deep copy of the Text node supplied.
Throws:
IOException - If there is an error creating the node.

createAdministrativeMetadata

public AdministrativeMetadata createAdministrativeMetadata()
                                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty AdministrativeMetadata element.

Create a new AdministrativeMetadata node representing an XML AdministrativeMetadata element. The node will have no children or attributes.

Specified by:
createAdministrativeMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AdministrativeMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createAdministrativeMetadata(AdministrativeMetadata)

createAdministrativeMetadata

public AdministrativeMetadata createAdministrativeMetadata(AdministrativeMetadata node)
                                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing AdministrativeMetadata element.

Copy an existing AdministrativeMetadata node representing an XML AdministrativeMetadata element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createAdministrativeMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AdministrativeMetadata node to copy.
Returns:
A new AdministrativeMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createAdministrativeMetadata()

createAssociatedWith

public NewsItemRef createAssociatedWith()
                                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty AssociatedWith element.

Create a new NewsItemRef node representing an XML AssociatedWith element. The node will have no children or attributes.

Specified by:
createAssociatedWith in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createAssociatedWith(NewsItemRef)

createAssociatedWith

public NewsItemRef createAssociatedWith(NewsItemRef node)
                                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing AssociatedWith element.

Copy an existing NewsItemRef node representing an XML AssociatedWith element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createAssociatedWith in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsItemRef node to copy.
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createAssociatedWith()

createBasisForChoice

public BasisForChoice createBasisForChoice()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty BasisForChoice element.

Create a new BasisForChoice node representing an XML BasisForChoice element. The node will have no children or attributes.

Specified by:
createBasisForChoice in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new BasisForChoice node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createBasisForChoice(BasisForChoice)

createBasisForChoice

public BasisForChoice createBasisForChoice(BasisForChoice node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing BasisForChoice element.

Copy an existing BasisForChoice node representing an XML BasisForChoice element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createBasisForChoice in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The BasisForChoice node to copy.
Returns:
A new BasisForChoice node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createBasisForChoice()

createByLine

public OriginText createByLine()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty ByLine element.

Create a new OriginText node representing an XML ByLine element. The node will have no children or attributes.

Specified by:
createByLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createByLine(OriginText)

createByLine

public OriginText createByLine(OriginText node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing ByLine element.

Copy an existing OriginText node representing an XML ByLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createByLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createByLine()

createCatalog

public Catalog createCatalog()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Catalog element.

Create a new Catalog node representing an XML Catalog element. The node will have no children or attributes.

Specified by:
createCatalog in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Catalog node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCatalog(Catalog)

createCatalog

public Catalog createCatalog(Catalog node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Catalog element.

Copy an existing Catalog node representing an XML Catalog element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCatalog in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Catalog node to copy.
Returns:
A new Catalog node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCatalog()

createCharacteristics

public Characteristics createCharacteristics()
                                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Characteristics element.

Create a new Characteristics node representing an XML Characteristics element. The node will have no children or attributes.

Specified by:
createCharacteristics in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Characteristics node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCharacteristics(Characteristics)

createCharacteristics

public Characteristics createCharacteristics(Characteristics node)
                                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Characteristics element.

Copy an existing Characteristics node representing an XML Characteristics element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCharacteristics in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Characteristics node to copy.
Returns:
A new Characteristics node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCharacteristics()

createComment

public Comment createComment()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Comment element.

Create a new Comment node representing an XML Comment element. The node will have no children or attributes.

Specified by:
createComment in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Comment node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createComment(Comment)

createComment

public Comment createComment(Comment node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Comment element.

Copy an existing Comment node representing an XML Comment element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createComment in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Comment node to copy.
Returns:
A new Comment node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createComment()

createContentItem

public ContentItem createContentItem()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty ContentItem element.

Create a new ContentItem node representing an XML ContentItem element. The node will have no children or attributes.

Specified by:
createContentItem in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new ContentItem node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createContentItem(ContentItem)

createContentItem

public ContentItem createContentItem(ContentItem node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing ContentItem element.

Copy an existing ContentItem node representing an XML ContentItem element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createContentItem in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The ContentItem node to copy.
Returns:
A new ContentItem node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createContentItem()

createContributor

public PartyList createContributor()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Contributor element.

Create a new PartyList node representing an XML Contributor element. The node will have no children or attributes.

Specified by:
createContributor in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createContributor(PartyList)

createContributor

public PartyList createContributor(PartyList node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Contributor element.

Copy an existing PartyList node representing an XML Contributor element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createContributor in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The PartyList node to copy.
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createContributor()

createCopyright

public Copyright createCopyright()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Copyright element.

Create a new Copyright node representing an XML Copyright element. The node will have no children or attributes.

Specified by:
createCopyright in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Copyright node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyright(Copyright)

createCopyright

public Copyright createCopyright(Copyright node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Copyright element.

Copy an existing Copyright node representing an XML Copyright element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCopyright in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Copyright node to copy.
Returns:
A new Copyright node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyright()

createCopyrightDate

public OriginText createCopyrightDate()
                               throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty CopyrightDate element.

Create a new OriginText node representing an XML CopyrightDate element. The node will have no children or attributes.

Specified by:
createCopyrightDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightDate(OriginText)

createCopyrightDate

public OriginText createCopyrightDate(OriginText node)
                               throws IOException
Description copied from interface: NewsMLFactory
Copy an existing CopyrightDate element.

Copy an existing OriginText node representing an XML CopyrightDate element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCopyrightDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightDate()

createCopyrightHolder

public OriginText createCopyrightHolder()
                                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty CopyrightHolder element.

Create a new OriginText node representing an XML CopyrightHolder element. The node will have no children or attributes.

Specified by:
createCopyrightHolder in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightHolder(OriginText)

createCopyrightHolder

public OriginText createCopyrightHolder(OriginText node)
                                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing CopyrightHolder element.

Copy an existing OriginText node representing an XML CopyrightHolder element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCopyrightHolder in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightHolder()

createCopyrightLine

public OriginText createCopyrightLine()
                               throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty CopyrightLine element.

Create a new OriginText node representing an XML CopyrightLine element. The node will have no children or attributes.

Specified by:
createCopyrightLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightLine(OriginText)

createCopyrightLine

public OriginText createCopyrightLine(OriginText node)
                               throws IOException
Description copied from interface: NewsMLFactory
Copy an existing CopyrightLine element.

Copy an existing OriginText node representing an XML CopyrightLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCopyrightLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCopyrightLine()

createCreator

public PartyList createCreator()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Creator element.

Create a new PartyList node representing an XML Creator element. The node will have no children or attributes.

Specified by:
createCreator in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCreator(PartyList)

createCreator

public PartyList createCreator(PartyList node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Creator element.

Copy an existing PartyList node representing an XML Creator element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCreator in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The PartyList node to copy.
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCreator()

createCreditLine

public OriginText createCreditLine()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty CreditLine element.

Create a new OriginText node representing an XML CreditLine element. The node will have no children or attributes.

Specified by:
createCreditLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCreditLine(OriginText)

createCreditLine

public OriginText createCreditLine(OriginText node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing CreditLine element.

Copy an existing OriginText node representing an XML CreditLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createCreditLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createCreditLine()

createDataContent

public DataContent createDataContent()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DataContent element.

Create a new DataContent node representing an XML DataContent element. The node will have no children or attributes.

Specified by:
createDataContent in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new DataContent node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDataContent(DataContent)

createDataContent

public DataContent createDataContent(DataContent node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DataContent element.

Copy an existing DataContent node representing an XML DataContent element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDataContent in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The DataContent node to copy.
Returns:
A new DataContent node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDataContent()

createDateAndTime

public IdText createDateAndTime()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DateAndTime element.

Create a new IdText node representing an XML DateAndTime element. The node will have no children or attributes.

Specified by:
createDateAndTime in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateAndTime(IdText)

createDateAndTime

public IdText createDateAndTime(IdText node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DateAndTime element.

Copy an existing IdText node representing an XML DateAndTime element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDateAndTime in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateAndTime()

createDateId

public Text createDateId()
                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DateId element.

Create a new Text node representing an XML DateId element. The node will have no children or attributes.

Specified by:
createDateId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateId(Text)

createDateId

public Text createDateId(Text node)
                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DateId element.

Copy an existing Text node representing an XML DateId element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDateId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A new Text node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateId()

createDateLabel

public IdText createDateLabel()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DateLabel element.

Create a new IdText node representing an XML DateLabel element. The node will have no children or attributes.

Specified by:
createDateLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateLabel(IdText)

createDateLabel

public IdText createDateLabel(IdText node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DateLabel element.

Copy an existing IdText node representing an XML DateLabel element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDateLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateLabel()

createDateLine

public OriginText createDateLine()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DateLine element.

Create a new OriginText node representing an XML DateLine element. The node will have no children or attributes.

Specified by:
createDateLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateLine(OriginText)

createDateLine

public OriginText createDateLine(OriginText node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DateLine element.

Copy an existing OriginText node representing an XML DateLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDateLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDateLine()

createDefaultVocabularyFor

public DefaultVocabularyFor createDefaultVocabularyFor()
                                                throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DefaultVocabularyFor element.

Create a new DefaultVocabularyFor node representing an XML DefaultVocabularyFor element. The node will have no children or attributes.

Specified by:
createDefaultVocabularyFor in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new DefaultVocabularyFor node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDefaultVocabularyFor(DefaultVocabularyFor)

createDefaultVocabularyFor

public DefaultVocabularyFor createDefaultVocabularyFor(DefaultVocabularyFor node)
                                                throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DefaultVocabularyFor element.

Copy an existing DefaultVocabularyFor node representing an XML DefaultVocabularyFor element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDefaultVocabularyFor in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The DefaultVocabularyFor node to copy.
Returns:
A new DefaultVocabularyFor node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDefaultVocabularyFor()

createDelete

public Delta createDelete()
                   throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Delete element.

Create a new Delta node representing an XML Delete element. The node will have no children or attributes.

Specified by:
createDelete in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDelete(Delta)

createDelete

public Delta createDelete(Delta node)
                   throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Delete element.

Copy an existing Delta node representing an XML Delete element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDelete in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Delta node to copy.
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDelete()

createDerivedFrom

public NewsItemRef createDerivedFrom()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DerivedFrom element.

Create a new NewsItemRef node representing an XML DerivedFrom element. The node will have no children or attributes.

Specified by:
createDerivedFrom in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDerivedFrom(NewsItemRef)

createDerivedFrom

public NewsItemRef createDerivedFrom(NewsItemRef node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DerivedFrom element.

Copy an existing NewsItemRef node representing an XML DerivedFrom element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDerivedFrom in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsItemRef node to copy.
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDerivedFrom()

createDescription

public Description createDescription()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Description element.

Create a new Description node representing an XML Description element. The node will have no children or attributes.

Specified by:
createDescription in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Description node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDescription(Description)

createDescription

public Description createDescription(Description node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Description element.

Copy an existing Description node representing an XML Description element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDescription in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Description node to copy.
Returns:
A new Description node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDescription()

createDescriptiveMetadata

public DescriptiveMetadata createDescriptiveMetadata()
                                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty DescriptiveMetadata element.

Create a new DescriptiveMetadata node representing an XML DescriptiveMetadata element. The node will have no children or attributes.

Specified by:
createDescriptiveMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new DescriptiveMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDescriptiveMetadata(DescriptiveMetadata)

createDescriptiveMetadata

public DescriptiveMetadata createDescriptiveMetadata(DescriptiveMetadata node)
                                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing DescriptiveMetadata element.

Copy an existing DescriptiveMetadata node representing an XML DescriptiveMetadata element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createDescriptiveMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The DescriptiveMetadata node to copy.
Returns:
A new DescriptiveMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createDescriptiveMetadata()

createEncoding

public Encoding createEncoding()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Encoding element.

Create a new Encoding node representing an XML Encoding element. The node will have no children or attributes.

Specified by:
createEncoding in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Encoding node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createEncoding(Encoding)

createEncoding

public Encoding createEncoding(Encoding node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Encoding element.

Copy an existing Encoding node representing an XML Encoding element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createEncoding in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Encoding node to copy.
Returns:
A new Encoding node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createEncoding()

createEndDate

public AssignedOriginText createEndDate()
                                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty EndDate element.

Create a new AssignedOriginText node representing an XML EndDate element. The node will have no children or attributes.

Specified by:
createEndDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createEndDate(AssignedOriginText)

createEndDate

public AssignedOriginText createEndDate(AssignedOriginText node)
                                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing EndDate element.

Copy an existing AssignedOriginText node representing an XML EndDate element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createEndDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createEndDate()

createFileName

public IdText createFileName()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty FileName element.

Create a new IdText node representing an XML FileName element. The node will have no children or attributes.

Specified by:
createFileName in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFileName(IdText)

createFileName

public IdText createFileName(IdText node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing FileName element.

Copy an existing IdText node representing an XML FileName element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createFileName in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFileName()

createFirstCreated

public IdText createFirstCreated()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty FirstCreated element.

Create a new IdText node representing an XML FirstCreated element. The node will have no children or attributes.

Specified by:
createFirstCreated in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFirstCreated(IdText)

createFirstCreated

public IdText createFirstCreated(IdText node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing FirstCreated element.

Copy an existing IdText node representing an XML FirstCreated element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createFirstCreated in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFirstCreated()

createFormalName

public FormalNameDecl createFormalName()
                                throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty FormalName element.

Create a new FormalNameDecl node representing an XML FormalName element. The node will have no children or attributes.

Specified by:
createFormalName in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalNameDecl node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFormalName(FormalNameDecl)

createFormalName

public FormalNameDecl createFormalName(FormalNameDecl node)
                                throws IOException
Description copied from interface: NewsMLFactory
Copy an existing FormalName element.

Copy an existing FormalNameDecl node representing an XML FormalName element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createFormalName in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalNameDecl node to copy.
Returns:
A new FormalNameDecl node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFormalName()

createFormat

public FormalName createFormat()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Format element.

Create a new FormalName node representing an XML Format element. The node will have no children or attributes.

Specified by:
createFormat in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFormat(FormalName)

createFormat

public FormalName createFormat(FormalName node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Format element.

Copy an existing FormalName node representing an XML Format element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createFormat in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFormat()

createFutureStatus

public FormalName createFutureStatus()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty FutureStatus element.

Create a new FormalName node representing an XML FutureStatus element. The node will have no children or attributes.

Specified by:
createFutureStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFutureStatus(FormalName)

createFutureStatus

public FormalName createFutureStatus(FormalName node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing FutureStatus element.

Copy an existing FormalName node representing an XML FutureStatus element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createFutureStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createFutureStatus()

createGenre

public AssignedFormalName createGenre()
                               throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Genre element.

Create a new AssignedFormalName node representing an XML Genre element. The node will have no children or attributes.

Specified by:
createGenre in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createGenre(AssignedFormalName)

createGenre

public AssignedFormalName createGenre(AssignedFormalName node)
                               throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Genre element.

Copy an existing AssignedFormalName node representing an XML Genre element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createGenre in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createGenre()

createGeography

public AssignedOriginText createGeography()
                                   throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Geography element.

Create a new AssignedOriginText node representing an XML Geography element. The node will have no children or attributes.

Specified by:
createGeography in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createGeography(AssignedOriginText)

createGeography

public AssignedOriginText createGeography(AssignedOriginText node)
                                   throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Geography element.

Copy an existing AssignedOriginText node representing an XML Geography element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createGeography in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createGeography()

createHeadLine

public OriginText createHeadLine()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty HeadLine element.

Create a new OriginText node representing an XML HeadLine element. The node will have no children or attributes.

Specified by:
createHeadLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createHeadLine(OriginText)

createHeadLine

public OriginText createHeadLine(OriginText node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing HeadLine element.

Copy an existing OriginText node representing an XML HeadLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createHeadLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createHeadLine()

createIdentification

public Identification createIdentification()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Identification element.

Create a new Identification node representing an XML Identification element. The node will have no children or attributes.

Specified by:
createIdentification in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Identification node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createIdentification(Identification)

createIdentification

public Identification createIdentification(Identification node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Identification element.

Copy an existing Identification node representing an XML Identification element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createIdentification in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Identification node to copy.
Returns:
A new Identification node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createIdentification()

createInsertAfter

public Delta createInsertAfter()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty InsertAfter element.

Create a new Delta node representing an XML InsertAfter element. The node will have no children or attributes.

Specified by:
createInsertAfter in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInsertAfter(Delta)

createInsertAfter

public Delta createInsertAfter(Delta node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing InsertAfter element.

Copy an existing Delta node representing an XML InsertAfter element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createInsertAfter in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Delta node to copy.
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInsertAfter()

createInsertBefore

public Delta createInsertBefore()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty InsertBefore element.

Create a new Delta node representing an XML InsertBefore element. The node will have no children or attributes.

Specified by:
createInsertBefore in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInsertBefore(Delta)

createInsertBefore

public Delta createInsertBefore(Delta node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing InsertBefore element.

Copy an existing Delta node representing an XML InsertBefore element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createInsertBefore in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Delta node to copy.
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInsertBefore()

createInstruction

public Instruction createInstruction()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Instruction element.

Create a new Instruction node representing an XML Instruction element. The node will have no children or attributes.

Specified by:
createInstruction in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Instruction node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInstruction(Instruction)

createInstruction

public Instruction createInstruction(Instruction node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Instruction element.

Copy an existing Instruction node representing an XML Instruction element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createInstruction in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Instruction node to copy.
Returns:
A new Instruction node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createInstruction()

createKeywordLine

public OriginText createKeywordLine()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty KeywordLine element.

Create a new OriginText node representing an XML KeywordLine element. The node will have no children or attributes.

Specified by:
createKeywordLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createKeywordLine(OriginText)

createKeywordLine

public OriginText createKeywordLine(OriginText node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing KeywordLine element.

Copy an existing OriginText node representing an XML KeywordLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createKeywordLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createKeywordLine()

createLabel

public Label createLabel()
                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Label element.

Create a new Label node representing an XML Label element. The node will have no children or attributes.

Specified by:
createLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Label node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabel(Label)

createLabel

public Label createLabel(Label node)
                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Label element.

Copy an existing Label node representing an XML Label element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Label node to copy.
Returns:
A new Label node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabel()

createLabelText

public IdText createLabelText()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty LabelText element.

Create a new IdText node representing an XML LabelText element. The node will have no children or attributes.

Specified by:
createLabelText in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabelText(IdText)

createLabelText

public IdText createLabelText(IdText node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing LabelText element.

Copy an existing IdText node representing an XML LabelText element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createLabelText in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabelText()

createLabelType

public FormalName createLabelType()
                           throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty LabelType element.

Create a new FormalName node representing an XML LabelType element. The node will have no children or attributes.

Specified by:
createLabelType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabelType(FormalName)

createLabelType

public FormalName createLabelType(FormalName node)
                           throws IOException
Description copied from interface: NewsMLFactory
Copy an existing LabelType element.

Copy an existing FormalName node representing an XML LabelType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createLabelType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLabelType()

createLanguage

public AssignedFormalName createLanguage()
                                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Language element.

Create a new AssignedFormalName node representing an XML Language element. The node will have no children or attributes.

Specified by:
createLanguage in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLanguage(AssignedFormalName)

createLanguage

public AssignedFormalName createLanguage(AssignedFormalName node)
                                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Language element.

Copy an existing AssignedFormalName node representing an XML Language element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createLanguage in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLanguage()

createLimitations

public AssignedOriginText createLimitations()
                                     throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Limitations element.

Create a new AssignedOriginText node representing an XML Limitations element. The node will have no children or attributes.

Specified by:
createLimitations in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLimitations(AssignedOriginText)

createLimitations

public AssignedOriginText createLimitations(AssignedOriginText node)
                                     throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Limitations element.

Copy an existing AssignedOriginText node representing an XML Limitations element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createLimitations in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createLimitations()

createMediaType

public FormalName createMediaType()
                           throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty MediaType element.

Create a new FormalName node representing an XML MediaType element. The node will have no children or attributes.

Specified by:
createMediaType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMediaType(FormalName)

createMediaType

public FormalName createMediaType(FormalName node)
                           throws IOException
Description copied from interface: NewsMLFactory
Copy an existing MediaType element.

Copy an existing FormalName node representing an XML MediaType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createMediaType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMediaType()

createMetadata

public Metadata createMetadata()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Metadata element.

Create a new Metadata node representing an XML Metadata element. The node will have no children or attributes.

Specified by:
createMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Metadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMetadata(Metadata)

createMetadata

public Metadata createMetadata(Metadata node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Metadata element.

Copy an existing Metadata node representing an XML Metadata element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Metadata node to copy.
Returns:
A new Metadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMetadata()

createMetadataType

public FormalName createMetadataType()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty MetadataType element.

Create a new FormalName node representing an XML MetadataType element. The node will have no children or attributes.

Specified by:
createMetadataType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMetadataType(FormalName)

createMetadataType

public FormalName createMetadataType(FormalName node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing MetadataType element.

Copy an existing FormalName node representing an XML MetadataType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createMetadataType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMetadataType()

createMimeType

public FormalName createMimeType()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty MimeType element.

Create a new FormalName node representing an XML MimeType element. The node will have no children or attributes.

Specified by:
createMimeType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMimeType(FormalName)

createMimeType

public FormalName createMimeType(FormalName node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing MimeType element.

Copy an existing FormalName node representing an XML MimeType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createMimeType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createMimeType()

createNameLabel

public IdText createNameLabel()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NameLabel element.

Create a new IdText node representing an XML NameLabel element. The node will have no children or attributes.

Specified by:
createNameLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNameLabel(IdText)

createNameLabel

public IdText createNameLabel(IdText node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NameLabel element.

Copy an existing IdText node representing an XML NameLabel element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNameLabel in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNameLabel()

createNewsComponent

public NewsComponent createNewsComponent()
                                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsComponent element.

Create a new NewsComponent node representing an XML NewsComponent element. The node will have no children or attributes.

Specified by:
createNewsComponent in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsComponent node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsComponent(NewsComponent)

createNewsComponent

public NewsComponent createNewsComponent(NewsComponent node)
                                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsComponent element.

Copy an existing NewsComponent node representing an XML NewsComponent element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsComponent in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsComponent node to copy.
Returns:
A new NewsComponent node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsComponent()

createNewsEnvelope

public NewsEnvelope createNewsEnvelope()
                                throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsEnvelope element.

Create a new NewsEnvelope node representing an XML NewsEnvelope element. The node will have no children or attributes.

Specified by:
createNewsEnvelope in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsEnvelope node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsEnvelope(NewsEnvelope)

createNewsEnvelope

public NewsEnvelope createNewsEnvelope(NewsEnvelope node)
                                throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsEnvelope element.

Copy an existing NewsEnvelope node representing an XML NewsEnvelope element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsEnvelope in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsEnvelope node to copy.
Returns:
A new NewsEnvelope node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsEnvelope()

createNewsIdentifier

public NewsIdentifier createNewsIdentifier()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsIdentifier element.

Create a new NewsIdentifier node representing an XML NewsIdentifier element. The node will have no children or attributes.

Specified by:
createNewsIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsIdentifier node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsIdentifier(NewsIdentifier)

createNewsIdentifier

public NewsIdentifier createNewsIdentifier(NewsIdentifier node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsIdentifier element.

Copy an existing NewsIdentifier node representing an XML NewsIdentifier element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsIdentifier node to copy.
Returns:
A new NewsIdentifier node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsIdentifier()

createNewsItem

public NewsItem createNewsItem()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsItem element.

Create a new NewsItem node representing an XML NewsItem element. The node will have no children or attributes.

Specified by:
createNewsItem in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsItem node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItem(NewsItem)

createNewsItem

public NewsItem createNewsItem(NewsItem node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsItem element.

Copy an existing NewsItem node representing an XML NewsItem element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsItem in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsItem node to copy.
Returns:
A new NewsItem node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItem()

createNewsItemId

public NewsItemId createNewsItemId()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsItemId element.

Create a new NewsItemId node representing an XML NewsItemId element. The node will have no children or attributes.

Specified by:
createNewsItemId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsItemId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemId(NewsItemId)

createNewsItemId

public NewsItemId createNewsItemId(NewsItemId node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsItemId element.

Copy an existing NewsItemId node representing an XML NewsItemId element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsItemId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsItemId node to copy.
Returns:
A new NewsItemId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemId()

createNewsItemRef

public NewsItemRef createNewsItemRef()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsItemRef element.

Create a new NewsItemRef node representing an XML NewsItemRef element. The node will have no children or attributes.

Specified by:
createNewsItemRef in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemRef(NewsItemRef)

createNewsItemRef

public NewsItemRef createNewsItemRef(NewsItemRef node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsItemRef element.

Copy an existing NewsItemRef node representing an XML NewsItemRef element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsItemRef in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsItemRef node to copy.
Returns:
A new NewsItemRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemRef()

createNewsItemType

public FormalName createNewsItemType()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsItemType element.

Create a new FormalName node representing an XML NewsItemType element. The node will have no children or attributes.

Specified by:
createNewsItemType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemType(FormalName)

createNewsItemType

public FormalName createNewsItemType(FormalName node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsItemType element.

Copy an existing FormalName node representing an XML NewsItemType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsItemType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsItemType()

createNewsLine

public NewsLine createNewsLine()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsLine element.

Create a new NewsLine node representing an XML NewsLine element. The node will have no children or attributes.

Specified by:
createNewsLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsLine node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLine(NewsLine)

createNewsLine

public NewsLine createNewsLine(NewsLine node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsLine element.

Copy an existing NewsLine node representing an XML NewsLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsLine node to copy.
Returns:
A new NewsLine node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLine()

createNewsLineText

public OriginText createNewsLineText()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsLineText element.

Create a new OriginText node representing an XML NewsLineText element. The node will have no children or attributes.

Specified by:
createNewsLineText in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLineText(OriginText)

createNewsLineText

public OriginText createNewsLineText(OriginText node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsLineText element.

Copy an existing OriginText node representing an XML NewsLineText element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsLineText in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLineText()

createNewsLineType

public FormalName createNewsLineType()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsLineType element.

Create a new FormalName node representing an XML NewsLineType element. The node will have no children or attributes.

Specified by:
createNewsLineType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLineType(FormalName)

createNewsLineType

public FormalName createNewsLineType(FormalName node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsLineType element.

Copy an existing FormalName node representing an XML NewsLineType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsLineType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLineType()

createNewsLines

public NewsLines createNewsLines()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsLines element.

Create a new NewsLines node representing an XML NewsLines element. The node will have no children or attributes.

Specified by:
createNewsLines in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsLines node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLines(NewsLines)

createNewsLines

public NewsLines createNewsLines(NewsLines node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsLines element.

Copy an existing NewsLines node representing an XML NewsLines element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsLines in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsLines node to copy.
Returns:
A new NewsLines node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsLines()

createNewsML

public NewsML createNewsML()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsML element.

Create a new NewsML node representing an XML NewsML element. The node will have no children or attributes.

Specified by:
createNewsML in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsML node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsML(NewsML)

createNewsML

public NewsML createNewsML(NewsML node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsML element.

Copy an existing NewsML node representing an XML NewsML element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsML in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsML node to copy.
Returns:
A new NewsML node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsML()

createNewsManagement

public NewsManagement createNewsManagement()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsManagement element.

Create a new NewsManagement node representing an XML NewsManagement element. The node will have no children or attributes.

Specified by:
createNewsManagement in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new NewsManagement node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsManagement(NewsManagement)

createNewsManagement

public NewsManagement createNewsManagement(NewsManagement node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsManagement element.

Copy an existing NewsManagement node representing an XML NewsManagement element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsManagement in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The NewsManagement node to copy.
Returns:
A new NewsManagement node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsManagement()

createNewsProduct

public FormalName createNewsProduct()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsProduct element.

Create a new FormalName node representing an XML NewsProduct element. The node will have no children or attributes.

Specified by:
createNewsProduct in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsProduct(FormalName)

createNewsProduct

public FormalName createNewsProduct(FormalName node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsProduct element.

Copy an existing FormalName node representing an XML NewsProduct element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsProduct in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsProduct()

createNewsService

public FormalName createNewsService()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty NewsService element.

Create a new FormalName node representing an XML NewsService element. The node will have no children or attributes.

Specified by:
createNewsService in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsService(FormalName)

createNewsService

public FormalName createNewsService(FormalName node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing NewsService element.

Copy an existing FormalName node representing an XML NewsService element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNewsService in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNewsService()

createNotation

public FormalName createNotation()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Notation element.

Create a new FormalName node representing an XML Notation element. The node will have no children or attributes.

Specified by:
createNotation in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNotation(FormalName)

createNotation

public FormalName createNotation(FormalName node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Notation element.

Copy an existing FormalName node representing an XML Notation element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createNotation in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createNotation()

createOfInterestTo

public OfInterestTo createOfInterestTo()
                                throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty OfInterestTo element.

Create a new OfInterestTo node representing an XML OfInterestTo element. The node will have no children or attributes.

Specified by:
createOfInterestTo in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OfInterestTo node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createOfInterestTo(OfInterestTo)

createOfInterestTo

public OfInterestTo createOfInterestTo(OfInterestTo node)
                                throws IOException
Description copied from interface: NewsMLFactory
Copy an existing OfInterestTo element.

Copy an existing OfInterestTo node representing an XML OfInterestTo element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createOfInterestTo in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OfInterestTo node to copy.
Returns:
A new OfInterestTo node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createOfInterestTo()

createOrigin

public Origin createOrigin()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Origin element.

Create a new Origin node representing an XML Origin element. The node will have no children or attributes.

Specified by:
createOrigin in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Origin node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createOrigin(Origin)

createOrigin

public Origin createOrigin(Origin node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Origin element.

Copy an existing Origin node representing an XML Origin element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createOrigin in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Origin node to copy.
Returns:
A new Origin node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createOrigin()

createParty

public Party createParty()
                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Party element.

Create a new Party node representing an XML Party element. The node will have no children or attributes.

Specified by:
createParty in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Party node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createParty(Party)

createParty

public Party createParty(Party node)
                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Party element.

Copy an existing Party node representing an XML Party element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createParty in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Party node to copy.
Returns:
A new Party node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createParty()

createPriority

public FormalName createPriority()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Priority element.

Create a new FormalName node representing an XML Priority element. The node will have no children or attributes.

Specified by:
createPriority in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createPriority(FormalName)

createPriority

public FormalName createPriority(FormalName node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Priority element.

Copy an existing FormalName node representing an XML Priority element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createPriority in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createPriority()

createProperty

public Property createProperty()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Property element.

Create a new Property node representing an XML Property element. The node will have no children or attributes.

Specified by:
createProperty in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Property node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProperty(Property)

createProperty

public Property createProperty(Property node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Property element.

Copy an existing Property node representing an XML Property element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createProperty in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Property node to copy.
Returns:
A new Property node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProperty()

createProvider

public PartyList createProvider()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Provider element.

Create a new PartyList node representing an XML Provider element. The node will have no children or attributes.

Specified by:
createProvider in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProvider(PartyList)

createProvider

public PartyList createProvider(PartyList node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Provider element.

Copy an existing PartyList node representing an XML Provider element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createProvider in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The PartyList node to copy.
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProvider()

createProviderId

public ProviderId createProviderId()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty ProviderId element.

Create a new ProviderId node representing an XML ProviderId element. The node will have no children or attributes.

Specified by:
createProviderId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new ProviderId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProviderId(ProviderId)

createProviderId

public ProviderId createProviderId(ProviderId node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing ProviderId element.

Copy an existing ProviderId node representing an XML ProviderId element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createProviderId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The ProviderId node to copy.
Returns:
A new ProviderId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createProviderId()

createPublicIdentifier

public Text createPublicIdentifier()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty PublicIdentifier element.

Create a new Text node representing an XML PublicIdentifier element. The node will have no children or attributes.

Specified by:
createPublicIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Text node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createPublicIdentifier(Text)

createPublicIdentifier

public Text createPublicIdentifier(Text node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing PublicIdentifier element.

Copy an existing Text node representing an XML PublicIdentifier element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createPublicIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Text node to copy.
Returns:
A new Text node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createPublicIdentifier()

createRelevance

public AssignedFormalName createRelevance()
                                   throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Relevance element.

Create a new AssignedFormalName node representing an XML Relevance element. The node will have no children or attributes.

Specified by:
createRelevance in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRelevance(AssignedFormalName)

createRelevance

public AssignedFormalName createRelevance(AssignedFormalName node)
                                   throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Relevance element.

Copy an existing AssignedFormalName node representing an XML Relevance element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRelevance in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRelevance()

createReplace

public Delta createReplace()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Replace element.

Create a new Delta node representing an XML Replace element. The node will have no children or attributes.

Specified by:
createReplace in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createReplace(Delta)

createReplace

public Delta createReplace(Delta node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Replace element.

Copy an existing Delta node representing an XML Replace element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createReplace in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Delta node to copy.
Returns:
A new Delta node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createReplace()

createResource

public Resource createResource()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Resource element.

Create a new Resource node representing an XML Resource element. The node will have no children or attributes.

Specified by:
createResource in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Resource node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createResource(Resource)

createResource

public Resource createResource(Resource node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Resource element.

Copy an existing Resource node representing an XML Resource element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createResource in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Resource node to copy.
Returns:
A new Resource node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createResource()

createRevisionHistory

public RevisionHistory createRevisionHistory()
                                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RevisionHistory element.

Create a new RevisionHistory node representing an XML RevisionHistory element. The node will have no children or attributes.

Specified by:
createRevisionHistory in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new RevisionHistory node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionHistory(RevisionHistory)

createRevisionHistory

public RevisionHistory createRevisionHistory(RevisionHistory node)
                                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RevisionHistory element.

Copy an existing RevisionHistory node representing an XML RevisionHistory element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRevisionHistory in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The RevisionHistory node to copy.
Returns:
A new RevisionHistory node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionHistory()

createRevisionId

public RevisionId createRevisionId()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RevisionId element.

Create a new RevisionId node representing an XML RevisionId element. The node will have no children or attributes.

Specified by:
createRevisionId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new RevisionId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionId(RevisionId)

createRevisionId

public RevisionId createRevisionId(RevisionId node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RevisionId element.

Copy an existing RevisionId node representing an XML RevisionId element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRevisionId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The RevisionId node to copy.
Returns:
A new RevisionId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionId()

createRevisionStatus

public RevisionStatus createRevisionStatus()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RevisionStatus element.

Create a new RevisionStatus node representing an XML RevisionStatus element. The node will have no children or attributes.

Specified by:
createRevisionStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new RevisionStatus node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionStatus(RevisionStatus)

createRevisionStatus

public RevisionStatus createRevisionStatus(RevisionStatus node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RevisionStatus element.

Copy an existing RevisionStatus node representing an XML RevisionStatus element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRevisionStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The RevisionStatus node to copy.
Returns:
A new RevisionStatus node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRevisionStatus()

createRightsHolder

public AssignedOriginText createRightsHolder()
                                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RightsHolder element.

Create a new AssignedOriginText node representing an XML RightsHolder element. The node will have no children or attributes.

Specified by:
createRightsHolder in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsHolder(AssignedOriginText)

createRightsHolder

public AssignedOriginText createRightsHolder(AssignedOriginText node)
                                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RightsHolder element.

Copy an existing AssignedOriginText node representing an XML RightsHolder element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRightsHolder in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsHolder()

createRightsLine

public OriginText createRightsLine()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RightsLine element.

Create a new OriginText node representing an XML RightsLine element. The node will have no children or attributes.

Specified by:
createRightsLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsLine(OriginText)

createRightsLine

public OriginText createRightsLine(OriginText node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RightsLine element.

Copy an existing OriginText node representing an XML RightsLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRightsLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsLine()

createRightsMetadata

public RightsMetadata createRightsMetadata()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty RightsMetadata element.

Create a new RightsMetadata node representing an XML RightsMetadata element. The node will have no children or attributes.

Specified by:
createRightsMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new RightsMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsMetadata(RightsMetadata)

createRightsMetadata

public RightsMetadata createRightsMetadata(RightsMetadata node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing RightsMetadata element.

Copy an existing RightsMetadata node representing an XML RightsMetadata element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRightsMetadata in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The RightsMetadata node to copy.
Returns:
A new RightsMetadata node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRightsMetadata()

createRole

public FormalName createRole()
                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Role element.

Create a new FormalName node representing an XML Role element. The node will have no children or attributes.

Specified by:
createRole in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRole(FormalName)

createRole

public FormalName createRole(FormalName node)
                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Role element.

Copy an existing FormalName node representing an XML Role element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createRole in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createRole()

createSentFrom

public PartyList createSentFrom()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SentFrom element.

Create a new PartyList node representing an XML SentFrom element. The node will have no children or attributes.

Specified by:
createSentFrom in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSentFrom(PartyList)

createSentFrom

public PartyList createSentFrom(PartyList node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SentFrom element.

Copy an existing PartyList node representing an XML SentFrom element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSentFrom in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The PartyList node to copy.
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSentFrom()

createSentTo

public PartyList createSentTo()
                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SentTo element.

Create a new PartyList node representing an XML SentTo element. The node will have no children or attributes.

Specified by:
createSentTo in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSentTo(PartyList)

createSentTo

public PartyList createSentTo(PartyList node)
                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SentTo element.

Copy an existing PartyList node representing an XML SentTo element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSentTo in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The PartyList node to copy.
Returns:
A new PartyList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSentTo()

createSeriesLine

public OriginText createSeriesLine()
                            throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SeriesLine element.

Create a new OriginText node representing an XML SeriesLine element. The node will have no children or attributes.

Specified by:
createSeriesLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSeriesLine(OriginText)

createSeriesLine

public OriginText createSeriesLine(OriginText node)
                            throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SeriesLine element.

Copy an existing OriginText node representing an XML SeriesLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSeriesLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSeriesLine()

createSizeInBytes

public IdText createSizeInBytes()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SizeInBytes element.

Create a new IdText node representing an XML SizeInBytes element. The node will have no children or attributes.

Specified by:
createSizeInBytes in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSizeInBytes(IdText)

createSizeInBytes

public IdText createSizeInBytes(IdText node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SizeInBytes element.

Copy an existing IdText node representing an XML SizeInBytes element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSizeInBytes in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSizeInBytes()

createSlugLine

public OriginText createSlugLine()
                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SlugLine element.

Create a new OriginText node representing an XML SlugLine element. The node will have no children or attributes.

Specified by:
createSlugLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSlugLine(OriginText)

createSlugLine

public OriginText createSlugLine(OriginText node)
                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SlugLine element.

Copy an existing OriginText node representing an XML SlugLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSlugLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSlugLine()

createSource

public SourceList createSource()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Source element.

Create a new SourceList node representing an XML Source element. The node will have no children or attributes.

Specified by:
createSource in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new SourceList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSource(SourceList)

createSource

public SourceList createSource(SourceList node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Source element.

Copy an existing SourceList node representing an XML Source element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSource in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The SourceList node to copy.
Returns:
A new SourceList node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSource()

createStartDate

public AssignedOriginText createStartDate()
                                   throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty StartDate element.

Create a new AssignedOriginText node representing an XML StartDate element. The node will have no children or attributes.

Specified by:
createStartDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStartDate(AssignedOriginText)

createStartDate

public AssignedOriginText createStartDate(AssignedOriginText node)
                                   throws IOException
Description copied from interface: NewsMLFactory
Copy an existing StartDate element.

Copy an existing AssignedOriginText node representing an XML StartDate element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createStartDate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStartDate()

createStatus

public FormalName createStatus()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Status element.

Create a new FormalName node representing an XML Status element. The node will have no children or attributes.

Specified by:
createStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStatus(FormalName)

createStatus

public FormalName createStatus(FormalName node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Status element.

Copy an existing FormalName node representing an XML Status element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createStatus in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStatus()

createStatusWillChange

public StatusWillChange createStatusWillChange()
                                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty StatusWillChange element.

Create a new StatusWillChange node representing an XML StatusWillChange element. The node will have no children or attributes.

Specified by:
createStatusWillChange in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new StatusWillChange node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStatusWillChange(StatusWillChange)

createStatusWillChange

public StatusWillChange createStatusWillChange(StatusWillChange node)
                                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing StatusWillChange element.

Copy an existing StatusWillChange node representing an XML StatusWillChange element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createStatusWillChange in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The StatusWillChange node to copy.
Returns:
A new StatusWillChange node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createStatusWillChange()

createSubHeadLine

public OriginText createSubHeadLine()
                             throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SubHeadLine element.

Create a new OriginText node representing an XML SubHeadLine element. The node will have no children or attributes.

Specified by:
createSubHeadLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubHeadLine(OriginText)

createSubHeadLine

public OriginText createSubHeadLine(OriginText node)
                             throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SubHeadLine element.

Copy an existing OriginText node representing an XML SubHeadLine element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubHeadLine in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The OriginText node to copy.
Returns:
A new OriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubHeadLine()

createSubject

public AssignedFormalName createSubject()
                                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Subject element.

Create a new AssignedFormalName node representing an XML Subject element. The node will have no children or attributes.

Specified by:
createSubject in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubject(AssignedFormalName)

createSubject

public AssignedFormalName createSubject(AssignedFormalName node)
                                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Subject element.

Copy an existing AssignedFormalName node representing an XML Subject element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubject in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubject()

createSubjectCode

public SubjectCode createSubjectCode()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SubjectCode element.

Create a new SubjectCode node representing an XML SubjectCode element. The node will have no children or attributes.

Specified by:
createSubjectCode in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new SubjectCode node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectCode(SubjectCode)

createSubjectCode

public SubjectCode createSubjectCode(SubjectCode node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SubjectCode element.

Copy an existing SubjectCode node representing an XML SubjectCode element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubjectCode in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The SubjectCode node to copy.
Returns:
A new SubjectCode node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectCode()

createSubjectDetail

public AssignedFormalName createSubjectDetail()
                                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SubjectDetail element.

Create a new AssignedFormalName node representing an XML SubjectDetail element. The node will have no children or attributes.

Specified by:
createSubjectDetail in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectDetail(AssignedFormalName)

createSubjectDetail

public AssignedFormalName createSubjectDetail(AssignedFormalName node)
                                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SubjectDetail element.

Copy an existing AssignedFormalName node representing an XML SubjectDetail element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubjectDetail in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectDetail()

createSubjectMatter

public AssignedFormalName createSubjectMatter()
                                       throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SubjectMatter element.

Create a new AssignedFormalName node representing an XML SubjectMatter element. The node will have no children or attributes.

Specified by:
createSubjectMatter in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectMatter(AssignedFormalName)

createSubjectMatter

public AssignedFormalName createSubjectMatter(AssignedFormalName node)
                                       throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SubjectMatter element.

Copy an existing AssignedFormalName node representing an XML SubjectMatter element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubjectMatter in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectMatter()

createSubjectQualifier

public AssignedFormalName createSubjectQualifier()
                                          throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SubjectQualifier element.

Create a new AssignedFormalName node representing an XML SubjectQualifier element. The node will have no children or attributes.

Specified by:
createSubjectQualifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectQualifier(AssignedFormalName)

createSubjectQualifier

public AssignedFormalName createSubjectQualifier(AssignedFormalName node)
                                          throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SubjectQualifier element.

Copy an existing AssignedFormalName node representing an XML SubjectQualifier element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSubjectQualifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedFormalName node to copy.
Returns:
A new AssignedFormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSubjectQualifier()

createSystemIdentifier

public IdText createSystemIdentifier()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty SystemIdentifier element.

Create a new IdText node representing an XML SystemIdentifier element. The node will have no children or attributes.

Specified by:
createSystemIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSystemIdentifier(IdText)

createSystemIdentifier

public IdText createSystemIdentifier(IdText node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing SystemIdentifier element.

Copy an existing IdText node representing an XML SystemIdentifier element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createSystemIdentifier in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createSystemIdentifier()

createThisRevisionCreated

public IdText createThisRevisionCreated()
                                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty ThisRevisionCreated element.

Create a new IdText node representing an XML ThisRevisionCreated element. The node will have no children or attributes.

Specified by:
createThisRevisionCreated in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createThisRevisionCreated(IdText)

createThisRevisionCreated

public IdText createThisRevisionCreated(IdText node)
                                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing ThisRevisionCreated element.

Copy an existing IdText node representing an XML ThisRevisionCreated element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createThisRevisionCreated in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createThisRevisionCreated()

createTopic

public Topic createTopic()
                  throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Topic element.

Create a new Topic node representing an XML Topic element. The node will have no children or attributes.

Specified by:
createTopic in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Topic node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopic(Topic)

createTopic

public Topic createTopic(Topic node)
                  throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Topic element.

Copy an existing Topic node representing an XML Topic element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopic in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Topic node to copy.
Returns:
A new Topic node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopic()

createTopicOccurrence

public TopicOccurrence createTopicOccurrence()
                                      throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicOccurrence element.

Create a new TopicOccurrence node representing an XML TopicOccurrence element. The node will have no children or attributes.

Specified by:
createTopicOccurrence in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new TopicOccurrence node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicOccurrence(TopicOccurrence)

createTopicOccurrence

public TopicOccurrence createTopicOccurrence(TopicOccurrence node)
                                      throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicOccurrence element.

Copy an existing TopicOccurrence node representing an XML TopicOccurrence element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopicOccurrence in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The TopicOccurrence node to copy.
Returns:
A new TopicOccurrence node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicOccurrence()

createTopicSet

public TopicSet createTopicSet()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicSet element.

Create a new TopicSet node representing an XML TopicSet element. The node will have no children or attributes.

Specified by:
createTopicSet in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new TopicSet node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicSet(TopicSet)

createTopicSet

public TopicSet createTopicSet(TopicSet node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicSet element.

Copy an existing TopicSet node representing an XML TopicSet element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopicSet in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The TopicSet node to copy.
Returns:
A new TopicSet node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicSet()

createTopicSetRef

public TopicSetRef createTopicSetRef()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicSetRef element.

Create a new TopicSetRef node representing an XML TopicSetRef element. The node will have no children or attributes.

Specified by:
createTopicSetRef in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new TopicSetRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicSetRef(TopicSetRef)

createTopicSetRef

public TopicSetRef createTopicSetRef(TopicSetRef node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicSetRef element.

Copy an existing TopicSetRef node representing an XML TopicSetRef element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopicSetRef in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The TopicSetRef node to copy.
Returns:
A new TopicSetRef node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicSetRef()

createTopicType

public FormalName createTopicType()
                           throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicType element.

Create a new FormalName node representing an XML TopicType element. The node will have no children or attributes.

Specified by:
createTopicType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicType(FormalName)

createTopicType

public FormalName createTopicType(FormalName node)
                           throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicType element.

Copy an existing FormalName node representing an XML TopicType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopicType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicType()

createTopicUse

public TopicUse createTopicUse()
                        throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TopicUse element.

Create a new TopicUse node representing an XML TopicUse element. The node will have no children or attributes.

Specified by:
createTopicUse in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new TopicUse node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicUse(TopicUse)

createTopicUse

public TopicUse createTopicUse(TopicUse node)
                        throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TopicUse element.

Copy an existing TopicUse node representing an XML TopicUse element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTopicUse in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The TopicUse node to copy.
Returns:
A new TopicUse node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTopicUse()

createTransmissionId

public TransmissionId createTransmissionId()
                                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty TransmissionId element.

Create a new TransmissionId node representing an XML TransmissionId element. The node will have no children or attributes.

Specified by:
createTransmissionId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new TransmissionId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTransmissionId(TransmissionId)

createTransmissionId

public TransmissionId createTransmissionId(TransmissionId node)
                                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing TransmissionId element.

Copy an existing TransmissionId node representing an XML TransmissionId element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createTransmissionId in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The TransmissionId node to copy.
Returns:
A new TransmissionId node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createTransmissionId()

createUpdate

public Update createUpdate()
                    throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Update element.

Create a new Update node representing an XML Update element. The node will have no children or attributes.

Specified by:
createUpdate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new Update node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUpdate(Update)

createUpdate

public Update createUpdate(Update node)
                    throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Update element.

Copy an existing Update node representing an XML Update element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUpdate in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The Update node to copy.
Returns:
A new Update node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUpdate()

createUrgency

public FormalName createUrgency()
                         throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Urgency element.

Create a new FormalName node representing an XML Urgency element. The node will have no children or attributes.

Specified by:
createUrgency in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrgency(FormalName)

createUrgency

public FormalName createUrgency(FormalName node)
                         throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Urgency element.

Copy an existing FormalName node representing an XML Urgency element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUrgency in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The FormalName node to copy.
Returns:
A new FormalName node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrgency()

createUrl

public IdText createUrl()
                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Url element.

Create a new IdText node representing an XML Url element. The node will have no children or attributes.

Specified by:
createUrl in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrl(IdText)

createUrl

public IdText createUrl(IdText node)
                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Url element.

Copy an existing IdText node representing an XML Url element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUrl in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrl()

createUrn

public IdText createUrn()
                 throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty Urn element.

Create a new IdText node representing an XML Urn element. The node will have no children or attributes.

Specified by:
createUrn in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrn(IdText)

createUrn

public IdText createUrn(IdText node)
                 throws IOException
Description copied from interface: NewsMLFactory
Copy an existing Urn element.

Copy an existing IdText node representing an XML Urn element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUrn in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The IdText node to copy.
Returns:
A new IdText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUrn()

createUsageRights

public UsageRights createUsageRights()
                              throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty UsageRights element.

Create a new UsageRights node representing an XML UsageRights element. The node will have no children or attributes.

Specified by:
createUsageRights in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new UsageRights node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUsageRights(UsageRights)

createUsageRights

public UsageRights createUsageRights(UsageRights node)
                              throws IOException
Description copied from interface: NewsMLFactory
Copy an existing UsageRights element.

Copy an existing UsageRights node representing an XML UsageRights element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUsageRights in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The UsageRights node to copy.
Returns:
A new UsageRights node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUsageRights()

createUsageType

public AssignedOriginText createUsageType()
                                   throws IOException
Description copied from interface: NewsMLFactory
Create a new, empty UsageType element.

Create a new AssignedOriginText node representing an XML UsageType element. The node will have no children or attributes.

Specified by:
createUsageType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUsageType(AssignedOriginText)

createUsageType

public AssignedOriginText createUsageType(AssignedOriginText node)
                                   throws IOException
Description copied from interface: NewsMLFactory
Copy an existing UsageType element.

Copy an existing AssignedOriginText node representing an XML UsageType element. The node will have deep copies of all any children or attributes in the original.

Specified by:
createUsageType in interface NewsMLFactory
Following copied from interface: org.newsml.toolkit.NewsMLFactory
Parameters:
node - The AssignedOriginText node to copy.
Returns:
A new AssignedOriginText node.
Throws:
IOException - If there is an error creating the node.
See Also:
NewsMLFactory.createUsageType()