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 library.

Objects from the Class

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

Slots

URI:
Object of class character containing the path and filename holding the data physically on disk
Cached:
Object of class numeric containing the status whether the file was already loaded in memory. Zero indicates not loaded, a value greater zero indicates in memory.

Extends

Class list and TextDocument, directly.

Methods

Corpus
signature(object = "XMLTextDocument"): returns the text corpus, i.e., the actual XMLDocument in the data slot
Corpus<-
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.1-1 Index]