#include <AbstractDocument.h>
Inheritance diagram for AbstractDocument:

Public Methods | |
| AbstractDocument () | |
| vector< string > | getFieldNames () const |
| DocumentError | getField (string name, string &value) const |
| DocumentError | setField (string name, string value, bool exists=false) |
| virtual string | toXML () const=0 |
| virtual DocumentError | fromXML (const string &xml)=0 |
Protected Methods | |
| void | fieldsToXML (XMLWriter &xml, const char *prefix) const |
| void | fieldsFromXML (XMLReader &xml, const char *prefix, const hash_set< string, _hash_string > &ns_set) throw (ParseException) |
|
|
Constructor. |
|
||||||||||||||||
|
Reads this document's fields from XML. |
|
||||||||||||
|
Writes an XML representation of this document's fields. |
|
|
Read document from XML.
Implemented in Document, and UserProfile. |
|
||||||||||||
|
Get field value.
|
|
|
Get the field names. |
|
||||||||||||||||
|
Set field to new value.
|
|
|
Returns an XML representation of the document. Implemented in Document, and UserProfile. |
1.2.18