StartDocument Class Reference

#include <Pt/Xml/StartDocument.h>

A Node representing the begin of the XML document. More...

Inherits Node.

Public Member Functions

 StartDocument ()
 Creates an empty object.
 
void clear ()
 Clears all content.
 
bool isStandalone () const
 Returns true if the document is standalone.
 
void setStandalone (bool alone)
 Indicates that the document is standalone.
 
Type type () const
 Returns the type of the node.
 

Related Functions

StartDocumenttoStartDocument (Node *node)
 Casts a generic node to a StartDocument node.
 
const StartDocumenttoStartDocument (const Node *node)
 Casts a generic node to a StartDocument node.
 
StartDocumenttoStartDocument (Node &node)
 Casts a generic node to a StartDocument node.
 
const StartDocumenttoStartDocument (const Node &node)
 Casts a generic node to a StartDocument node.
 

Detailed Description

StartDocument nodes are only reported when the XmlReader is configured to do so. They indicate that the XML declaration has been parsed.