Public Member Functions | Public Attributes

xl7::xml::Declaration Class Reference

#include <Declaration.h>

Inheritance diagram for xl7::xml::Declaration:
xl7::xml::Node xl7::xml::Base

List of all members.

Public Member Functions

const cl7::string_typeget_version () const
const cl7::string_typeget_encoding () const
const cl7::string_typeget_standalone () const
void set_version (const cl7::string_type &version)
void set_encoding (const cl7::string_type &encoding)
void set_standalone (const cl7::string_type &standalone)
virtual cl7::string_type generate () const

Public Attributes

friend Document

Detailed Description

The (base) class representing an xml declaration node.


Member Function Documentation

cl7::string_type xl7::xml::Declaration::generate (  )  const [virtual]

Generates xml text representing this xml object.

Reimplemented from xl7::xml::Node.

const cl7::string_type& xl7::xml::Declaration::get_encoding (  )  const [inline]

Returns the encoding of the xml document.

const cl7::string_type& xl7::xml::Declaration::get_standalone (  )  const [inline]

Returns the standalone document declaration.

const cl7::string_type& xl7::xml::Declaration::get_version (  )  const [inline]

Returns the version of the xml document.

void xl7::xml::Declaration::set_encoding ( const cl7::string_type encoding  )  [inline]

Sets the encoding of the xml document.

void xl7::xml::Declaration::set_standalone ( const cl7::string_type standalone  )  [inline]

Sets the standalone document declaration.

void xl7::xml::Declaration::set_version ( const cl7::string_type version  )  [inline]

Sets the version of the xml document.


Member Data Documentation

Reimplemented from xl7::xml::Node.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines