class DECLSPEC XMLIO_Element |
Most important class to read and write from an XML file.
![]() | tag Tag of element. |
![]() | attributes Keeps attributes of element. |
![]() | xmlio_indent_type Indentation tyle of element. |
![]() | XMLIO_Element () Constructor. |
![]() | XMLIO_Element (const XMLIO_string& my_tag, XMLIO_Attributes &my_attributes) Constructor. |
![]() | ~XMLIO_Element () Destructor. |
![]() | XMLIO_startTag (const XMLIO_string& tag, XMLIO_Attributes &attrs) Called by XMLIO_Document when a start tag is received. |
![]() | XMLIO_endTag (const XMLIO_string& tag) Called by XMLIO_Document when a end tag is found. |
![]() | XMLIO_getCharacters (const XMLIO_string& characters) All character data will be send to your element. |
![]() | XMLIO_getComment (const XMLIO_string& comment) The comment characters are sent to the element (XML Spec [15]). |
![]() | XMLIO_getProcessingInstruction (const XMLIO_string& target, const XMLIO_string& instructions) The process instruction is sent to the element (XML Spec [16]). |
![]() | XMLIO_finishedReading () Called by XMLIO_Document when the end tag of this element has been found. |
![]() | XMLIO_remove () const Returns whether object should be deleted from memory by the XMLIO_Document when it is removed from the stack. |
![]() | XMLIO_writeContent (XMLIO_Document& doc) Writes the content (XML Spec[43]) of this element. |
![]() | XMLIO_getName () const Returns the XML element's type of this element (as in XML Spec[40]). |
![]() | XMLIO_getAttributes () Returns the attributes of this element (XML Spec [40], [41]). |
![]() | XMLIO_isEmpty () const Returns whether this element is empty (XML Spec [44]). |
![]() | toString () const Returns name of class. |
![]() | print () const |
Most important class to read and write from an XML file. It represents an XML element in the sense of XML spec [39] and any object, that can be composed out of the data of an XML element, should be derived from this class. You will have to overload some of the virtual functions to handle the incoming data yourself.
In order to provide specialized output support, you should write code to the functionsOnly if XMLIO_isEmpty() returns false, the XMLIO_write method is called.
- const string& XMLIO_getName() const
- XMLIO_Attributes& XMLIO_getAttributes()
- bool XMLIO_isEmpty()
- const int XMLIO_writeContent(const XMLIO_Document*)
Alphabetic index HTML hierarchy of classes or Java