|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.newsml.toolkit.dom.DOMNewsMLFactory
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.
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 |
public DOMNewsMLFactory()
public DOMNewsMLFactory(DOMFactory factory)
factory
- The factory object for creating new DOM documents.public DOMNewsMLFactory(DOMFactory factory, boolean validation) throws IOException
factory
- The factory object for creating new DOM documents.validation
- true if DTD validation is required, false if
it is forbidden.IOException
- if the implementation does not support
the requested validation state.Method Detail |
public void setValidation(boolean validation) throws IOException
NewsMLFactory
setValidation
in interface NewsMLFactory
NewsMLFactory.setValidation(boolean)
public boolean getValidation()
NewsMLFactory
getValidation
in interface NewsMLFactory
NewsMLFactory.getValidation()
public NewsML createNewsML(String url) throws IOException
NewsMLFactory
createNewsML
in interface NewsMLFactory
NewsMLFactory.createNewsML(String)
public NewsML createNewsML(Reader input, String baseURL) throws IOException
NewsMLFactory
createNewsML
in interface NewsMLFactory
NewsMLFactory.createNewsML(Reader,String)
public BaseNode createNode(String url) throws IOException
NewsMLFactory
createNode
in interface NewsMLFactory
NewsMLFactory.createNode(String)
public BaseNode createNode(Reader input, String baseURL) throws IOException
NewsMLFactory
createNode
in interface NewsMLFactory
NewsMLFactory.createNode(Reader,String)
public BaseNode createNewNode(String name) throws IOException
NewsMLFactory
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.
createNewNode
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
The
- XML element name.IOException
- If there is an error creating the
node.public BaseNode createNewNode(BaseNode node) throws IOException
NewsMLFactory
This method makes a deep copy of an existing NewsML element node.
createNewNode
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The node to copy.IOException
- If there is an error creating the node.public Text createNewNodeAttr(String name) throws IOException
NewsMLFactory
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.
createNewNodeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
The
- XML attribute name, with leading '@'.IOException
- If there is an error creating the
node.public Text createNewNodeAttr(Text node) throws IOException
NewsMLFactory
This method makes a deep copy of an existing NewsML attribute node.
createNewNodeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The node to copy.IOException
- If there is an error creating the node.public Text createAllowedValuesAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML AllowedValues attribute, with empty content.
createAllowedValuesAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createAllowedValuesAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML AllowedValues attribute, with a copy of the contents of the Text supplied.
createAllowedValuesAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createAssignedByAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML AssignedBy attribute, with empty content.
createAssignedByAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createAssignedByAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML AssignedBy attribute, with a copy of the contents of the Text supplied.
createAssignedByAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createConfidenceAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Confidence attribute, with empty content.
createConfidenceAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createConfidenceAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Confidence attribute, with a copy of the contents of the Text supplied.
createConfidenceAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createContextAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Context attribute, with empty content.
createContextAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createContextAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Context attribute, with a copy of the contents of the Text supplied.
createContextAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createDateAndTimeAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML DateAndTime attribute, with empty content.
createDateAndTimeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createDateAndTimeAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML DateAndTime attribute, with a copy of the contents of the Text supplied.
createDateAndTimeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createDetailsAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Details attribute, with empty content.
createDetailsAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createDetailsAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Details attribute, with a copy of the contents of the Text supplied.
createDetailsAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createDuidAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Duid attribute, with empty content.
createDuidAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createDuidAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Duid attribute, with a copy of the contents of the Text supplied.
createDuidAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createDuidRefAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML DuidRef attribute, with empty content.
createDuidRefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createDuidRefAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML DuidRef attribute, with a copy of the contents of the Text supplied.
createDuidRefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createEquivalentsListAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML EquivalentsList attribute, with empty content.
createEquivalentsListAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createEquivalentsListAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML EquivalentsList attribute, with a copy of the contents of the Text supplied.
createEquivalentsListAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createEssentialAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Essential attribute, with empty content.
createEssentialAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createEssentialAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Essential attribute, with a copy of the contents of the Text supplied.
createEssentialAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createEuidAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Euid attribute, with empty content.
createEuidAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createEuidAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Euid attribute, with a copy of the contents of the Text supplied.
createEuidAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createFormalNameAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML FormalName attribute, with empty content.
createFormalNameAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createFormalNameAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML FormalName attribute, with a copy of the contents of the Text node supplied.
createFormalNameAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createHowPresentAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Text attribute, with empty content.
createHowPresentAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createHowPresentAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML HowPresent attribute, with a copy of the contents of the Text supplied.
createHowPresentAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createHrefAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Href attribute, with empty content.
createHrefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createHrefAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Href attribute, with a copy of the contents of the Text supplied.
createHrefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createImportanceAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Importance attribute, with empty content.
createImportanceAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createImportanceAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Importance attribute, with a copy of the contents of the Text supplied.
createImportanceAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createNewsItemAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML NewsItem attribute, with empty content.
createNewsItemAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createNewsItemAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML NewsItem attribute, with a copy of the contents of the Text supplied.
createNewsItemAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createNotationAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Notation attribute, with empty content.
createNotationAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createNotationAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Notation attribute, with a copy of the contents of the Text supplied.
createNotationAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createPreviousRevisionAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML PreviousRevision attribute, with empty content.
createPreviousRevisionAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createPreviousRevisionAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML PreviousRevision attribute, with a copy of the contents of the Text supplied.
createPreviousRevisionAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createRankAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Rank attribute, with empty content.
createRankAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createRankAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Rank attribute, with a copy of the contents of the Text supplied.
createRankAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createRepeatAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Repeat attribute, with empty content.
createRepeatAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createRepeatAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Repeat attribute, with a copy of the contents of the Text supplied.
createRepeatAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createRevisionAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Revision attribute, with empty content.
createRevisionAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createRevisionAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Revision attribute, with a copy of the contents of the Text supplied.
createRevisionAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createSchemeAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Scheme attribute, with empty content.
createSchemeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createSchemeAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Scheme attribute, with a copy of the contents of the Text supplied.
createSchemeAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createTopicAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Topic attribute, with empty content.
createTopicAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createTopicAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Topic attribute, with a copy of the contents of the Text supplied.
createTopicAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createTopicSetAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML TopicSet attribute, with empty content.
createTopicSetAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createTopicSetAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML TopicSet attribute, with a copy of the contents of the Text supplied.
createTopicSetAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createTranslationOfAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML TranslationOf attribute, with empty content.
createTranslationOfAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createTranslationOfAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML TranslationOf attribute, with a copy of the contents of the Text supplied.
createTranslationOfAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createUpdateAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Update attribute, with empty content.
createUpdateAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createUpdateAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Update attribute, with a copy of the contents of the Text supplied.
createUpdateAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createValueAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Value attribute, with empty content.
createValueAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createValueAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Value attribute, with a copy of the contents of the Text supplied.
createValueAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createValueRefAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML ValueRef attribute, with empty content.
createValueRefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createValueRefAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML ValueRef attribute, with a copy of the contents of the Text supplied.
createValueRefAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createVariantAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Variant attribute, with empty content.
createVariantAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createVariantAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Variant attribute, with a copy of the contents of the Text supplied.
createVariantAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createVocabularyAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML Vocabulary attribute, with empty content.
createVocabularyAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createVocabularyAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML Vocabulary attribute, with a copy of the contents of the Text supplied.
createVocabularyAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public Text createXMLLangAttr() throws IOException
NewsMLFactory
Create a new Text node representing an XML XMLLang attribute, with empty content.
createXMLLangAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.public Text createXMLLangAttr(Text node) throws IOException
NewsMLFactory
Create a new Text node representing an XML xml:lang attribute, with a copy of the contents of the Text supplied.
createXMLLangAttr
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.public AdministrativeMetadata createAdministrativeMetadata() throws IOException
NewsMLFactory
Create a new AdministrativeMetadata node representing an XML AdministrativeMetadata element. The node will have no children or attributes.
createAdministrativeMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createAdministrativeMetadata(AdministrativeMetadata)
public AdministrativeMetadata createAdministrativeMetadata(AdministrativeMetadata node) throws IOException
NewsMLFactory
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.
createAdministrativeMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AdministrativeMetadata node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createAdministrativeMetadata()
public NewsItemRef createAssociatedWith() throws IOException
NewsMLFactory
Create a new NewsItemRef node representing an XML AssociatedWith element. The node will have no children or attributes.
createAssociatedWith
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createAssociatedWith(NewsItemRef)
public NewsItemRef createAssociatedWith(NewsItemRef node) throws IOException
NewsMLFactory
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.
createAssociatedWith
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsItemRef node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createAssociatedWith()
public BasisForChoice createBasisForChoice() throws IOException
NewsMLFactory
Create a new BasisForChoice node representing an XML BasisForChoice element. The node will have no children or attributes.
createBasisForChoice
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createBasisForChoice(BasisForChoice)
public BasisForChoice createBasisForChoice(BasisForChoice node) throws IOException
NewsMLFactory
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.
createBasisForChoice
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The BasisForChoice node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createBasisForChoice()
public OriginText createByLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML ByLine element. The node will have no children or attributes.
createByLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createByLine(OriginText)
public OriginText createByLine(OriginText node) throws IOException
NewsMLFactory
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.
createByLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createByLine()
public Catalog createCatalog() throws IOException
NewsMLFactory
Create a new Catalog node representing an XML Catalog element. The node will have no children or attributes.
createCatalog
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCatalog(Catalog)
public Catalog createCatalog(Catalog node) throws IOException
NewsMLFactory
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.
createCatalog
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Catalog node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCatalog()
public Characteristics createCharacteristics() throws IOException
NewsMLFactory
Create a new Characteristics node representing an XML Characteristics element. The node will have no children or attributes.
createCharacteristics
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCharacteristics(Characteristics)
public Characteristics createCharacteristics(Characteristics node) throws IOException
NewsMLFactory
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.
createCharacteristics
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Characteristics node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCharacteristics()
public Comment createComment() throws IOException
NewsMLFactory
Create a new Comment node representing an XML Comment element. The node will have no children or attributes.
createComment
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createComment(Comment)
public Comment createComment(Comment node) throws IOException
NewsMLFactory
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.
createComment
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Comment node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createComment()
public ContentItem createContentItem() throws IOException
NewsMLFactory
Create a new ContentItem node representing an XML ContentItem element. The node will have no children or attributes.
createContentItem
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createContentItem(ContentItem)
public ContentItem createContentItem(ContentItem node) throws IOException
NewsMLFactory
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.
createContentItem
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The ContentItem node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createContentItem()
public PartyList createContributor() throws IOException
NewsMLFactory
Create a new PartyList node representing an XML Contributor element. The node will have no children or attributes.
createContributor
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createContributor(PartyList)
public PartyList createContributor(PartyList node) throws IOException
NewsMLFactory
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.
createContributor
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The PartyList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createContributor()
public Copyright createCopyright() throws IOException
NewsMLFactory
Create a new Copyright node representing an XML Copyright element. The node will have no children or attributes.
createCopyright
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCopyright(Copyright)
public Copyright createCopyright(Copyright node) throws IOException
NewsMLFactory
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.
createCopyright
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Copyright node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCopyright()
public OriginText createCopyrightDate() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML CopyrightDate element. The node will have no children or attributes.
createCopyrightDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightDate(OriginText)
public OriginText createCopyrightDate(OriginText node) throws IOException
NewsMLFactory
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.
createCopyrightDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightDate()
public OriginText createCopyrightHolder() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML CopyrightHolder element. The node will have no children or attributes.
createCopyrightHolder
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightHolder(OriginText)
public OriginText createCopyrightHolder(OriginText node) throws IOException
NewsMLFactory
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.
createCopyrightHolder
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightHolder()
public OriginText createCopyrightLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML CopyrightLine element. The node will have no children or attributes.
createCopyrightLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightLine(OriginText)
public OriginText createCopyrightLine(OriginText node) throws IOException
NewsMLFactory
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.
createCopyrightLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCopyrightLine()
public PartyList createCreator() throws IOException
NewsMLFactory
Create a new PartyList node representing an XML Creator element. The node will have no children or attributes.
createCreator
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCreator(PartyList)
public PartyList createCreator(PartyList node) throws IOException
NewsMLFactory
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.
createCreator
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The PartyList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCreator()
public OriginText createCreditLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML CreditLine element. The node will have no children or attributes.
createCreditLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createCreditLine(OriginText)
public OriginText createCreditLine(OriginText node) throws IOException
NewsMLFactory
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.
createCreditLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createCreditLine()
public DataContent createDataContent() throws IOException
NewsMLFactory
Create a new DataContent node representing an XML DataContent element. The node will have no children or attributes.
createDataContent
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDataContent(DataContent)
public DataContent createDataContent(DataContent node) throws IOException
NewsMLFactory
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.
createDataContent
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The DataContent node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDataContent()
public IdText createDateAndTime() throws IOException
NewsMLFactory
Create a new IdText node representing an XML DateAndTime element. The node will have no children or attributes.
createDateAndTime
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDateAndTime(IdText)
public IdText createDateAndTime(IdText node) throws IOException
NewsMLFactory
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.
createDateAndTime
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDateAndTime()
public Text createDateId() throws IOException
NewsMLFactory
Create a new Text node representing an XML DateId element. The node will have no children or attributes.
createDateId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDateId(Text)
public Text createDateId(Text node) throws IOException
NewsMLFactory
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.
createDateId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDateId()
public IdText createDateLabel() throws IOException
NewsMLFactory
Create a new IdText node representing an XML DateLabel element. The node will have no children or attributes.
createDateLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDateLabel(IdText)
public IdText createDateLabel(IdText node) throws IOException
NewsMLFactory
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.
createDateLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDateLabel()
public OriginText createDateLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML DateLine element. The node will have no children or attributes.
createDateLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDateLine(OriginText)
public OriginText createDateLine(OriginText node) throws IOException
NewsMLFactory
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.
createDateLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDateLine()
public DefaultVocabularyFor createDefaultVocabularyFor() throws IOException
NewsMLFactory
Create a new DefaultVocabularyFor node representing an XML DefaultVocabularyFor element. The node will have no children or attributes.
createDefaultVocabularyFor
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDefaultVocabularyFor(DefaultVocabularyFor)
public DefaultVocabularyFor createDefaultVocabularyFor(DefaultVocabularyFor node) throws IOException
NewsMLFactory
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.
createDefaultVocabularyFor
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The DefaultVocabularyFor node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDefaultVocabularyFor()
public Delta createDelete() throws IOException
NewsMLFactory
Create a new Delta node representing an XML Delete element. The node will have no children or attributes.
createDelete
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDelete(Delta)
public Delta createDelete(Delta node) throws IOException
NewsMLFactory
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.
createDelete
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Delta node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDelete()
public NewsItemRef createDerivedFrom() throws IOException
NewsMLFactory
Create a new NewsItemRef node representing an XML DerivedFrom element. The node will have no children or attributes.
createDerivedFrom
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDerivedFrom(NewsItemRef)
public NewsItemRef createDerivedFrom(NewsItemRef node) throws IOException
NewsMLFactory
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.
createDerivedFrom
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsItemRef node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDerivedFrom()
public Description createDescription() throws IOException
NewsMLFactory
Create a new Description node representing an XML Description element. The node will have no children or attributes.
createDescription
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDescription(Description)
public Description createDescription(Description node) throws IOException
NewsMLFactory
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.
createDescription
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Description node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDescription()
public DescriptiveMetadata createDescriptiveMetadata() throws IOException
NewsMLFactory
Create a new DescriptiveMetadata node representing an XML DescriptiveMetadata element. The node will have no children or attributes.
createDescriptiveMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createDescriptiveMetadata(DescriptiveMetadata)
public DescriptiveMetadata createDescriptiveMetadata(DescriptiveMetadata node) throws IOException
NewsMLFactory
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.
createDescriptiveMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The DescriptiveMetadata node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createDescriptiveMetadata()
public Encoding createEncoding() throws IOException
NewsMLFactory
Create a new Encoding node representing an XML Encoding element. The node will have no children or attributes.
createEncoding
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createEncoding(Encoding)
public Encoding createEncoding(Encoding node) throws IOException
NewsMLFactory
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.
createEncoding
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Encoding node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createEncoding()
public AssignedOriginText createEndDate() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML EndDate element. The node will have no children or attributes.
createEndDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createEndDate(AssignedOriginText)
public AssignedOriginText createEndDate(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createEndDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createEndDate()
public IdText createFileName() throws IOException
NewsMLFactory
Create a new IdText node representing an XML FileName element. The node will have no children or attributes.
createFileName
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createFileName(IdText)
public IdText createFileName(IdText node) throws IOException
NewsMLFactory
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.
createFileName
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createFileName()
public IdText createFirstCreated() throws IOException
NewsMLFactory
Create a new IdText node representing an XML FirstCreated element. The node will have no children or attributes.
createFirstCreated
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createFirstCreated(IdText)
public IdText createFirstCreated(IdText node) throws IOException
NewsMLFactory
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.
createFirstCreated
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createFirstCreated()
public FormalNameDecl createFormalName() throws IOException
NewsMLFactory
Create a new FormalNameDecl node representing an XML FormalName element. The node will have no children or attributes.
createFormalName
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createFormalName(FormalNameDecl)
public FormalNameDecl createFormalName(FormalNameDecl node) throws IOException
NewsMLFactory
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.
createFormalName
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalNameDecl node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createFormalName()
public FormalName createFormat() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Format element. The node will have no children or attributes.
createFormat
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createFormat(FormalName)
public FormalName createFormat(FormalName node) throws IOException
NewsMLFactory
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.
createFormat
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createFormat()
public FormalName createFutureStatus() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML FutureStatus element. The node will have no children or attributes.
createFutureStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createFutureStatus(FormalName)
public FormalName createFutureStatus(FormalName node) throws IOException
NewsMLFactory
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.
createFutureStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createFutureStatus()
public AssignedFormalName createGenre() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML Genre element. The node will have no children or attributes.
createGenre
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createGenre(AssignedFormalName)
public AssignedFormalName createGenre(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createGenre
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createGenre()
public AssignedOriginText createGeography() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML Geography element. The node will have no children or attributes.
createGeography
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createGeography(AssignedOriginText)
public AssignedOriginText createGeography(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createGeography
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createGeography()
public OriginText createHeadLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML HeadLine element. The node will have no children or attributes.
createHeadLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createHeadLine(OriginText)
public OriginText createHeadLine(OriginText node) throws IOException
NewsMLFactory
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.
createHeadLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createHeadLine()
public Identification createIdentification() throws IOException
NewsMLFactory
Create a new Identification node representing an XML Identification element. The node will have no children or attributes.
createIdentification
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createIdentification(Identification)
public Identification createIdentification(Identification node) throws IOException
NewsMLFactory
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.
createIdentification
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Identification node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createIdentification()
public Delta createInsertAfter() throws IOException
NewsMLFactory
Create a new Delta node representing an XML InsertAfter element. The node will have no children or attributes.
createInsertAfter
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createInsertAfter(Delta)
public Delta createInsertAfter(Delta node) throws IOException
NewsMLFactory
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.
createInsertAfter
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Delta node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createInsertAfter()
public Delta createInsertBefore() throws IOException
NewsMLFactory
Create a new Delta node representing an XML InsertBefore element. The node will have no children or attributes.
createInsertBefore
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createInsertBefore(Delta)
public Delta createInsertBefore(Delta node) throws IOException
NewsMLFactory
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.
createInsertBefore
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Delta node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createInsertBefore()
public Instruction createInstruction() throws IOException
NewsMLFactory
Create a new Instruction node representing an XML Instruction element. The node will have no children or attributes.
createInstruction
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createInstruction(Instruction)
public Instruction createInstruction(Instruction node) throws IOException
NewsMLFactory
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.
createInstruction
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Instruction node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createInstruction()
public OriginText createKeywordLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML KeywordLine element. The node will have no children or attributes.
createKeywordLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createKeywordLine(OriginText)
public OriginText createKeywordLine(OriginText node) throws IOException
NewsMLFactory
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.
createKeywordLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createKeywordLine()
public Label createLabel() throws IOException
NewsMLFactory
Create a new Label node representing an XML Label element. The node will have no children or attributes.
createLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createLabel(Label)
public Label createLabel(Label node) throws IOException
NewsMLFactory
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.
createLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Label node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createLabel()
public IdText createLabelText() throws IOException
NewsMLFactory
Create a new IdText node representing an XML LabelText element. The node will have no children or attributes.
createLabelText
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createLabelText(IdText)
public IdText createLabelText(IdText node) throws IOException
NewsMLFactory
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.
createLabelText
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createLabelText()
public FormalName createLabelType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML LabelType element. The node will have no children or attributes.
createLabelType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createLabelType(FormalName)
public FormalName createLabelType(FormalName node) throws IOException
NewsMLFactory
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.
createLabelType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createLabelType()
public AssignedFormalName createLanguage() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML Language element. The node will have no children or attributes.
createLanguage
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createLanguage(AssignedFormalName)
public AssignedFormalName createLanguage(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createLanguage
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createLanguage()
public AssignedOriginText createLimitations() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML Limitations element. The node will have no children or attributes.
createLimitations
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createLimitations(AssignedOriginText)
public AssignedOriginText createLimitations(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createLimitations
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createLimitations()
public FormalName createMediaType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML MediaType element. The node will have no children or attributes.
createMediaType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createMediaType(FormalName)
public FormalName createMediaType(FormalName node) throws IOException
NewsMLFactory
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.
createMediaType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createMediaType()
public Metadata createMetadata() throws IOException
NewsMLFactory
Create a new Metadata node representing an XML Metadata element. The node will have no children or attributes.
createMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createMetadata(Metadata)
public Metadata createMetadata(Metadata node) throws IOException
NewsMLFactory
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.
createMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Metadata node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createMetadata()
public FormalName createMetadataType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML MetadataType element. The node will have no children or attributes.
createMetadataType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createMetadataType(FormalName)
public FormalName createMetadataType(FormalName node) throws IOException
NewsMLFactory
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.
createMetadataType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createMetadataType()
public FormalName createMimeType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML MimeType element. The node will have no children or attributes.
createMimeType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createMimeType(FormalName)
public FormalName createMimeType(FormalName node) throws IOException
NewsMLFactory
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.
createMimeType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createMimeType()
public IdText createNameLabel() throws IOException
NewsMLFactory
Create a new IdText node representing an XML NameLabel element. The node will have no children or attributes.
createNameLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNameLabel(IdText)
public IdText createNameLabel(IdText node) throws IOException
NewsMLFactory
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.
createNameLabel
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNameLabel()
public NewsComponent createNewsComponent() throws IOException
NewsMLFactory
Create a new NewsComponent node representing an XML NewsComponent element. The node will have no children or attributes.
createNewsComponent
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsComponent(NewsComponent)
public NewsComponent createNewsComponent(NewsComponent node) throws IOException
NewsMLFactory
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.
createNewsComponent
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsComponent node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsComponent()
public NewsEnvelope createNewsEnvelope() throws IOException
NewsMLFactory
Create a new NewsEnvelope node representing an XML NewsEnvelope element. The node will have no children or attributes.
createNewsEnvelope
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsEnvelope(NewsEnvelope)
public NewsEnvelope createNewsEnvelope(NewsEnvelope node) throws IOException
NewsMLFactory
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.
createNewsEnvelope
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsEnvelope node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsEnvelope()
public NewsIdentifier createNewsIdentifier() throws IOException
NewsMLFactory
Create a new NewsIdentifier node representing an XML NewsIdentifier element. The node will have no children or attributes.
createNewsIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsIdentifier(NewsIdentifier)
public NewsIdentifier createNewsIdentifier(NewsIdentifier node) throws IOException
NewsMLFactory
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.
createNewsIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsIdentifier node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsIdentifier()
public NewsItem createNewsItem() throws IOException
NewsMLFactory
Create a new NewsItem node representing an XML NewsItem element. The node will have no children or attributes.
createNewsItem
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsItem(NewsItem)
public NewsItem createNewsItem(NewsItem node) throws IOException
NewsMLFactory
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.
createNewsItem
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsItem node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsItem()
public NewsItemId createNewsItemId() throws IOException
NewsMLFactory
Create a new NewsItemId node representing an XML NewsItemId element. The node will have no children or attributes.
createNewsItemId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemId(NewsItemId)
public NewsItemId createNewsItemId(NewsItemId node) throws IOException
NewsMLFactory
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.
createNewsItemId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsItemId node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemId()
public NewsItemRef createNewsItemRef() throws IOException
NewsMLFactory
Create a new NewsItemRef node representing an XML NewsItemRef element. The node will have no children or attributes.
createNewsItemRef
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemRef(NewsItemRef)
public NewsItemRef createNewsItemRef(NewsItemRef node) throws IOException
NewsMLFactory
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.
createNewsItemRef
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsItemRef node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemRef()
public FormalName createNewsItemType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML NewsItemType element. The node will have no children or attributes.
createNewsItemType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemType(FormalName)
public FormalName createNewsItemType(FormalName node) throws IOException
NewsMLFactory
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.
createNewsItemType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsItemType()
public NewsLine createNewsLine() throws IOException
NewsMLFactory
Create a new NewsLine node representing an XML NewsLine element. The node will have no children or attributes.
createNewsLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsLine(NewsLine)
public NewsLine createNewsLine(NewsLine node) throws IOException
NewsMLFactory
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.
createNewsLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsLine node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsLine()
public OriginText createNewsLineText() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML NewsLineText element. The node will have no children or attributes.
createNewsLineText
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsLineText(OriginText)
public OriginText createNewsLineText(OriginText node) throws IOException
NewsMLFactory
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.
createNewsLineText
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsLineText()
public FormalName createNewsLineType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML NewsLineType element. The node will have no children or attributes.
createNewsLineType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsLineType(FormalName)
public FormalName createNewsLineType(FormalName node) throws IOException
NewsMLFactory
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.
createNewsLineType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsLineType()
public NewsLines createNewsLines() throws IOException
NewsMLFactory
Create a new NewsLines node representing an XML NewsLines element. The node will have no children or attributes.
createNewsLines
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsLines(NewsLines)
public NewsLines createNewsLines(NewsLines node) throws IOException
NewsMLFactory
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.
createNewsLines
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsLines node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsLines()
public NewsML createNewsML() throws IOException
NewsMLFactory
Create a new NewsML node representing an XML NewsML element. The node will have no children or attributes.
createNewsML
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsML(NewsML)
public NewsML createNewsML(NewsML node) throws IOException
NewsMLFactory
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.
createNewsML
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsML node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsML()
public NewsManagement createNewsManagement() throws IOException
NewsMLFactory
Create a new NewsManagement node representing an XML NewsManagement element. The node will have no children or attributes.
createNewsManagement
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsManagement(NewsManagement)
public NewsManagement createNewsManagement(NewsManagement node) throws IOException
NewsMLFactory
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.
createNewsManagement
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The NewsManagement node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsManagement()
public FormalName createNewsProduct() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML NewsProduct element. The node will have no children or attributes.
createNewsProduct
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsProduct(FormalName)
public FormalName createNewsProduct(FormalName node) throws IOException
NewsMLFactory
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.
createNewsProduct
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsProduct()
public FormalName createNewsService() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML NewsService element. The node will have no children or attributes.
createNewsService
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNewsService(FormalName)
public FormalName createNewsService(FormalName node) throws IOException
NewsMLFactory
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.
createNewsService
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNewsService()
public FormalName createNotation() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Notation element. The node will have no children or attributes.
createNotation
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createNotation(FormalName)
public FormalName createNotation(FormalName node) throws IOException
NewsMLFactory
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.
createNotation
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createNotation()
public OfInterestTo createOfInterestTo() throws IOException
NewsMLFactory
Create a new OfInterestTo node representing an XML OfInterestTo element. The node will have no children or attributes.
createOfInterestTo
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createOfInterestTo(OfInterestTo)
public OfInterestTo createOfInterestTo(OfInterestTo node) throws IOException
NewsMLFactory
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.
createOfInterestTo
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OfInterestTo node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createOfInterestTo()
public Origin createOrigin() throws IOException
NewsMLFactory
Create a new Origin node representing an XML Origin element. The node will have no children or attributes.
createOrigin
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createOrigin(Origin)
public Origin createOrigin(Origin node) throws IOException
NewsMLFactory
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.
createOrigin
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Origin node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createOrigin()
public Party createParty() throws IOException
NewsMLFactory
Create a new Party node representing an XML Party element. The node will have no children or attributes.
createParty
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createParty(Party)
public Party createParty(Party node) throws IOException
NewsMLFactory
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.
createParty
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Party node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createParty()
public FormalName createPriority() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Priority element. The node will have no children or attributes.
createPriority
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createPriority(FormalName)
public FormalName createPriority(FormalName node) throws IOException
NewsMLFactory
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.
createPriority
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createPriority()
public Property createProperty() throws IOException
NewsMLFactory
Create a new Property node representing an XML Property element. The node will have no children or attributes.
createProperty
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createProperty(Property)
public Property createProperty(Property node) throws IOException
NewsMLFactory
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.
createProperty
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Property node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createProperty()
public PartyList createProvider() throws IOException
NewsMLFactory
Create a new PartyList node representing an XML Provider element. The node will have no children or attributes.
createProvider
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createProvider(PartyList)
public PartyList createProvider(PartyList node) throws IOException
NewsMLFactory
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.
createProvider
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The PartyList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createProvider()
public ProviderId createProviderId() throws IOException
NewsMLFactory
Create a new ProviderId node representing an XML ProviderId element. The node will have no children or attributes.
createProviderId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createProviderId(ProviderId)
public ProviderId createProviderId(ProviderId node) throws IOException
NewsMLFactory
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.
createProviderId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The ProviderId node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createProviderId()
public Text createPublicIdentifier() throws IOException
NewsMLFactory
Create a new Text node representing an XML PublicIdentifier element. The node will have no children or attributes.
createPublicIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createPublicIdentifier(Text)
public Text createPublicIdentifier(Text node) throws IOException
NewsMLFactory
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.
createPublicIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Text node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createPublicIdentifier()
public AssignedFormalName createRelevance() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML Relevance element. The node will have no children or attributes.
createRelevance
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRelevance(AssignedFormalName)
public AssignedFormalName createRelevance(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createRelevance
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRelevance()
public Delta createReplace() throws IOException
NewsMLFactory
Create a new Delta node representing an XML Replace element. The node will have no children or attributes.
createReplace
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createReplace(Delta)
public Delta createReplace(Delta node) throws IOException
NewsMLFactory
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.
createReplace
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Delta node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createReplace()
public Resource createResource() throws IOException
NewsMLFactory
Create a new Resource node representing an XML Resource element. The node will have no children or attributes.
createResource
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createResource(Resource)
public Resource createResource(Resource node) throws IOException
NewsMLFactory
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.
createResource
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Resource node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createResource()
public RevisionHistory createRevisionHistory() throws IOException
NewsMLFactory
Create a new RevisionHistory node representing an XML RevisionHistory element. The node will have no children or attributes.
createRevisionHistory
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRevisionHistory(RevisionHistory)
public RevisionHistory createRevisionHistory(RevisionHistory node) throws IOException
NewsMLFactory
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.
createRevisionHistory
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The RevisionHistory node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRevisionHistory()
public RevisionId createRevisionId() throws IOException
NewsMLFactory
Create a new RevisionId node representing an XML RevisionId element. The node will have no children or attributes.
createRevisionId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRevisionId(RevisionId)
public RevisionId createRevisionId(RevisionId node) throws IOException
NewsMLFactory
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.
createRevisionId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The RevisionId node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRevisionId()
public RevisionStatus createRevisionStatus() throws IOException
NewsMLFactory
Create a new RevisionStatus node representing an XML RevisionStatus element. The node will have no children or attributes.
createRevisionStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRevisionStatus(RevisionStatus)
public RevisionStatus createRevisionStatus(RevisionStatus node) throws IOException
NewsMLFactory
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.
createRevisionStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The RevisionStatus node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRevisionStatus()
public AssignedOriginText createRightsHolder() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML RightsHolder element. The node will have no children or attributes.
createRightsHolder
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRightsHolder(AssignedOriginText)
public AssignedOriginText createRightsHolder(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createRightsHolder
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRightsHolder()
public OriginText createRightsLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML RightsLine element. The node will have no children or attributes.
createRightsLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRightsLine(OriginText)
public OriginText createRightsLine(OriginText node) throws IOException
NewsMLFactory
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.
createRightsLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRightsLine()
public RightsMetadata createRightsMetadata() throws IOException
NewsMLFactory
Create a new RightsMetadata node representing an XML RightsMetadata element. The node will have no children or attributes.
createRightsMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRightsMetadata(RightsMetadata)
public RightsMetadata createRightsMetadata(RightsMetadata node) throws IOException
NewsMLFactory
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.
createRightsMetadata
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The RightsMetadata node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRightsMetadata()
public FormalName createRole() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Role element. The node will have no children or attributes.
createRole
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createRole(FormalName)
public FormalName createRole(FormalName node) throws IOException
NewsMLFactory
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.
createRole
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createRole()
public PartyList createSentFrom() throws IOException
NewsMLFactory
Create a new PartyList node representing an XML SentFrom element. The node will have no children or attributes.
createSentFrom
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSentFrom(PartyList)
public PartyList createSentFrom(PartyList node) throws IOException
NewsMLFactory
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.
createSentFrom
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The PartyList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSentFrom()
public PartyList createSentTo() throws IOException
NewsMLFactory
Create a new PartyList node representing an XML SentTo element. The node will have no children or attributes.
createSentTo
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSentTo(PartyList)
public PartyList createSentTo(PartyList node) throws IOException
NewsMLFactory
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.
createSentTo
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The PartyList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSentTo()
public OriginText createSeriesLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML SeriesLine element. The node will have no children or attributes.
createSeriesLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSeriesLine(OriginText)
public OriginText createSeriesLine(OriginText node) throws IOException
NewsMLFactory
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.
createSeriesLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSeriesLine()
public IdText createSizeInBytes() throws IOException
NewsMLFactory
Create a new IdText node representing an XML SizeInBytes element. The node will have no children or attributes.
createSizeInBytes
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSizeInBytes(IdText)
public IdText createSizeInBytes(IdText node) throws IOException
NewsMLFactory
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.
createSizeInBytes
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSizeInBytes()
public OriginText createSlugLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML SlugLine element. The node will have no children or attributes.
createSlugLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSlugLine(OriginText)
public OriginText createSlugLine(OriginText node) throws IOException
NewsMLFactory
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.
createSlugLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSlugLine()
public SourceList createSource() throws IOException
NewsMLFactory
Create a new SourceList node representing an XML Source element. The node will have no children or attributes.
createSource
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSource(SourceList)
public SourceList createSource(SourceList node) throws IOException
NewsMLFactory
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.
createSource
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The SourceList node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSource()
public AssignedOriginText createStartDate() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML StartDate element. The node will have no children or attributes.
createStartDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createStartDate(AssignedOriginText)
public AssignedOriginText createStartDate(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createStartDate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createStartDate()
public FormalName createStatus() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Status element. The node will have no children or attributes.
createStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createStatus(FormalName)
public FormalName createStatus(FormalName node) throws IOException
NewsMLFactory
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.
createStatus
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createStatus()
public StatusWillChange createStatusWillChange() throws IOException
NewsMLFactory
Create a new StatusWillChange node representing an XML StatusWillChange element. The node will have no children or attributes.
createStatusWillChange
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createStatusWillChange(StatusWillChange)
public StatusWillChange createStatusWillChange(StatusWillChange node) throws IOException
NewsMLFactory
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.
createStatusWillChange
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The StatusWillChange node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createStatusWillChange()
public OriginText createSubHeadLine() throws IOException
NewsMLFactory
Create a new OriginText node representing an XML SubHeadLine element. The node will have no children or attributes.
createSubHeadLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubHeadLine(OriginText)
public OriginText createSubHeadLine(OriginText node) throws IOException
NewsMLFactory
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.
createSubHeadLine
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The OriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubHeadLine()
public AssignedFormalName createSubject() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML Subject element. The node will have no children or attributes.
createSubject
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubject(AssignedFormalName)
public AssignedFormalName createSubject(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createSubject
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubject()
public SubjectCode createSubjectCode() throws IOException
NewsMLFactory
Create a new SubjectCode node representing an XML SubjectCode element. The node will have no children or attributes.
createSubjectCode
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubjectCode(SubjectCode)
public SubjectCode createSubjectCode(SubjectCode node) throws IOException
NewsMLFactory
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.
createSubjectCode
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The SubjectCode node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubjectCode()
public AssignedFormalName createSubjectDetail() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML SubjectDetail element. The node will have no children or attributes.
createSubjectDetail
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubjectDetail(AssignedFormalName)
public AssignedFormalName createSubjectDetail(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createSubjectDetail
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubjectDetail()
public AssignedFormalName createSubjectMatter() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML SubjectMatter element. The node will have no children or attributes.
createSubjectMatter
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubjectMatter(AssignedFormalName)
public AssignedFormalName createSubjectMatter(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createSubjectMatter
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubjectMatter()
public AssignedFormalName createSubjectQualifier() throws IOException
NewsMLFactory
Create a new AssignedFormalName node representing an XML SubjectQualifier element. The node will have no children or attributes.
createSubjectQualifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSubjectQualifier(AssignedFormalName)
public AssignedFormalName createSubjectQualifier(AssignedFormalName node) throws IOException
NewsMLFactory
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.
createSubjectQualifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedFormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSubjectQualifier()
public IdText createSystemIdentifier() throws IOException
NewsMLFactory
Create a new IdText node representing an XML SystemIdentifier element. The node will have no children or attributes.
createSystemIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createSystemIdentifier(IdText)
public IdText createSystemIdentifier(IdText node) throws IOException
NewsMLFactory
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.
createSystemIdentifier
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createSystemIdentifier()
public IdText createThisRevisionCreated() throws IOException
NewsMLFactory
Create a new IdText node representing an XML ThisRevisionCreated element. The node will have no children or attributes.
createThisRevisionCreated
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createThisRevisionCreated(IdText)
public IdText createThisRevisionCreated(IdText node) throws IOException
NewsMLFactory
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.
createThisRevisionCreated
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createThisRevisionCreated()
public Topic createTopic() throws IOException
NewsMLFactory
Create a new Topic node representing an XML Topic element. The node will have no children or attributes.
createTopic
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopic(Topic)
public Topic createTopic(Topic node) throws IOException
NewsMLFactory
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.
createTopic
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Topic node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopic()
public TopicOccurrence createTopicOccurrence() throws IOException
NewsMLFactory
Create a new TopicOccurrence node representing an XML TopicOccurrence element. The node will have no children or attributes.
createTopicOccurrence
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopicOccurrence(TopicOccurrence)
public TopicOccurrence createTopicOccurrence(TopicOccurrence node) throws IOException
NewsMLFactory
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.
createTopicOccurrence
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The TopicOccurrence node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopicOccurrence()
public TopicSet createTopicSet() throws IOException
NewsMLFactory
Create a new TopicSet node representing an XML TopicSet element. The node will have no children or attributes.
createTopicSet
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopicSet(TopicSet)
public TopicSet createTopicSet(TopicSet node) throws IOException
NewsMLFactory
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.
createTopicSet
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The TopicSet node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopicSet()
public TopicSetRef createTopicSetRef() throws IOException
NewsMLFactory
Create a new TopicSetRef node representing an XML TopicSetRef element. The node will have no children or attributes.
createTopicSetRef
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopicSetRef(TopicSetRef)
public TopicSetRef createTopicSetRef(TopicSetRef node) throws IOException
NewsMLFactory
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.
createTopicSetRef
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The TopicSetRef node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopicSetRef()
public FormalName createTopicType() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML TopicType element. The node will have no children or attributes.
createTopicType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopicType(FormalName)
public FormalName createTopicType(FormalName node) throws IOException
NewsMLFactory
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.
createTopicType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopicType()
public TopicUse createTopicUse() throws IOException
NewsMLFactory
Create a new TopicUse node representing an XML TopicUse element. The node will have no children or attributes.
createTopicUse
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTopicUse(TopicUse)
public TopicUse createTopicUse(TopicUse node) throws IOException
NewsMLFactory
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.
createTopicUse
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The TopicUse node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTopicUse()
public TransmissionId createTransmissionId() throws IOException
NewsMLFactory
Create a new TransmissionId node representing an XML TransmissionId element. The node will have no children or attributes.
createTransmissionId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createTransmissionId(TransmissionId)
public TransmissionId createTransmissionId(TransmissionId node) throws IOException
NewsMLFactory
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.
createTransmissionId
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The TransmissionId node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createTransmissionId()
public Update createUpdate() throws IOException
NewsMLFactory
Create a new Update node representing an XML Update element. The node will have no children or attributes.
createUpdate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUpdate(Update)
public Update createUpdate(Update node) throws IOException
NewsMLFactory
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.
createUpdate
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The Update node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUpdate()
public FormalName createUrgency() throws IOException
NewsMLFactory
Create a new FormalName node representing an XML Urgency element. The node will have no children or attributes.
createUrgency
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUrgency(FormalName)
public FormalName createUrgency(FormalName node) throws IOException
NewsMLFactory
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.
createUrgency
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The FormalName node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUrgency()
public IdText createUrl() throws IOException
NewsMLFactory
Create a new IdText node representing an XML Url element. The node will have no children or attributes.
createUrl
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUrl(IdText)
public IdText createUrl(IdText node) throws IOException
NewsMLFactory
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.
createUrl
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUrl()
public IdText createUrn() throws IOException
NewsMLFactory
Create a new IdText node representing an XML Urn element. The node will have no children or attributes.
createUrn
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUrn(IdText)
public IdText createUrn(IdText node) throws IOException
NewsMLFactory
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.
createUrn
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The IdText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUrn()
public UsageRights createUsageRights() throws IOException
NewsMLFactory
Create a new UsageRights node representing an XML UsageRights element. The node will have no children or attributes.
createUsageRights
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUsageRights(UsageRights)
public UsageRights createUsageRights(UsageRights node) throws IOException
NewsMLFactory
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.
createUsageRights
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The UsageRights node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUsageRights()
public AssignedOriginText createUsageType() throws IOException
NewsMLFactory
Create a new AssignedOriginText node representing an XML UsageType element. The node will have no children or attributes.
createUsageType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
IOException
- If there is an error creating the node.NewsMLFactory.createUsageType(AssignedOriginText)
public AssignedOriginText createUsageType(AssignedOriginText node) throws IOException
NewsMLFactory
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.
createUsageType
in interface NewsMLFactory
org.newsml.toolkit.NewsMLFactory
node
- The AssignedOriginText node to copy.IOException
- If there is an error creating the node.NewsMLFactory.createUsageType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |