Document: Document

Description Usage Arguments Format Details Author(s) See Also

Description

Document An abstract class that defines the interfaces and primary methods for the DocumentText, DocumentRdata, DocumentCsv, and DocumentXlsx sub classes.

Usage

1

Arguments

name

Character string indicating the name of the document or file. Required for all objects.

desc

Character string containing the description of the document.

content

Nested list of content to be written to files.

fileName

Character string indicating File object's file name.

parent

An object of the Lab or DocumentCollection class that represents the parent object.

visitor

An object of one of the visitor classes.

stateId

Character string that uniquely identifies an object and its state at a specific point in time.

Format

An object of class R6ClassGenerator of length 24.

Details

Document Family of Classes Overview:

The Document family of classes is an implementation of the composite pattern documented in the book "Design Patterns: Elements of Reusable Object-Oriented Software" by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides (hence Gang of Four). This pattern allows composite and individual objects to be treated uniformly.

The following sections include:

Document Family of Classes Participants: The participants of the Document0 class are:

Document Class Collaborators: The collaborators of the Document family are:

Document Methods: There are six types of methods within the Document class and they are:

Document Core Methods:

Document Field Getter/Setter Active Binding Methods:

Document Composite Methods:

Document State Methods:

Document Visitor Methods:

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other Document classes: Document0, DocumentCollection, DocumentCsv, DocumentRdata, DocumentText, DocumentXlsx


j2scode/nlpStudio documentation built on May 9, 2019, 12:54 p.m.