Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

DocTypeDeclaration Class Reference

A DocType element (Node) of an XML document. More...

#include <cxxtools/xml/doctypedeclaration.h>

Inheritance diagram for DocTypeDeclaration:

Node

List of all members.

Public Member Functions

 DocTypeDeclaration ()
 Constructs a new DocTypeDeclaration object with the given string as content.
 ~DocTypeDeclaration ()
 Empty destructor.
void clear ()
DocTypeDeclarationclone () const
 Clones this DocTypeDeclaration object by creating a duplicate on the heap and returning it.
const Stringcontent () const
 Returns the content of this DocTypeDeclaration object.
Stringcontent ()
void setContent (const String &content)
 Sets the content of this DocTypeDeclaration object.


Detailed Description

A DocType element stores the document type of the document and contains an URI to a file which contains the document type definition.

Use content() to get the content of the DocType element.

See also:
Node

Constructor & Destructor Documentation

Parameters:
content The content of the DocTypeDeclaration object.


Member Function Documentation

DocTypeDeclaration* clone (  )  const [virtual]

Returns:
A cloned version of this DocTypeDeclaration object.

Implements Node.

const String& content (  )  const

Returns:
The content of this DocTypeDeclaration object.

void setContent ( const String content  ) 

Parameters:
content The new content for this DocTypeDeclaration object.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6