|
|
Cheshire3 Object Model: Class Document
|
Module baseObjects ::
Class Document
- Known Subclasses:
-
document.StringDocument
A Document is the raw data which will become a record. It may be
processed into a Record by a Parser, or into another Document type by a
PreParser. Documents might be stored in a DocumentStore, if necessary,
but can generally be discarded. Documents may be anything from a JPG
file, to an unparsed XML file, to a string containing a URL. This allows
for future compatability with new formats, as they may be incorporated
into the system by implementing a Document type and a PreParser.