Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

sjg::xml::Document Class Reference

Collaboration diagram for sjg::xml::Document:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Element getRoot ()
String getHeader ()
 Document (String header, Element root)
 Document (Element root)
String toString ()

Detailed Description

Represents an XML-document. You will want to access the root element via the getRoot() method.

Author:
Christian Hvid


Constructor & Destructor Documentation

sjg::xml::Document::Document String  header,
Element  root
[inline]
 

Constructs a new document with given header and document root.

sjg::xml::Document::Document Element  root  )  [inline]
 

Constructs a new document with the given element as root and default header.


Member Function Documentation

String sjg::xml::Document::getHeader  )  [inline]
 

Returns the header of the document in unparsed textual form.

Element sjg::xml::Document::getRoot  )  [inline]
 

Return the document root.

String sjg::xml::Document::toString  )  [inline]
 

Returns the textual representation of this document.


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:03:06 2005 by  doxygen 1.3.9.1