XMLTextDocument-class {tm}R Documentation

Text document

Description

A class representing an XML text document with additional information. The XML document itself is represented by an XMLDocument from the XML package.

Objects from the Class

Objects can be created by calls of the form new("XMLTextDocument", ...).

Slots

.Data:
Object of class character containing the content.
Author:
Object of class character containing the author names.
DateTimeStamp:
Object of class character containing the date and time when the document was written.
Description:
Object of class character containing additional text information.
ID:
Object of class integer containing an identifier.
Origin:
Object of class character containing information on the source and origin of the text.
Heading:
Object of class character containing the title or a short heading.
Language:
Object of class character containing the language of the text.
LocalMetaData:
Object of class list containing the local meta data in form of tag-value pairs.

Extends

Class list and TextDocument, directly.

Methods

Content
signature(object = "XMLTextDocument"): Returns the text corpus, i.e., the actual XMLDocument in the data slot.
Content<-
signature(object = "XMLTextDocument"): Sets the text corpus, i.e., the actual XMLDocument in data slot.
URI
signature(object = "XMLTextDocument"): Returns the filename on disk.
Cached
signature(object = "XMLTextDocument"): Returns status information for loading on demand.
Cached<-
signature(object = "XMLTextDocument"): Sets status information for loading on demand.

Author(s)

Ingo Feinerer


[Package tm version 0.4 Index]