decXmlNamespace Class Reference

XML Namespace. More...

#include <decXmlNamespace.h>

Inheritance diagram for decXmlNamespace:
decXmlElement

List of all members.

Public Member Functions

Constructors and Destructors
 decXmlNamespace (const char *name, const char *url)
 Creates a new xml namespace with the given name and url.
 decXmlNamespace (const char *name)
 Creates a new xml namespace with the given name and an empty url.
 ~decXmlNamespace ()
 Cleans up the xml namespace.
Management
const char * GetName () const
void SetName (const char *name)
const char * GetURL () const
void SetURL (const char *url)
Visiting
void Visit (decXmlVisitor *visitor)
 Visits this node.
Casting
virtual bool CanCastToNamespace ()
 Determines if this element can be cast to decXmlNamespace which is by default false.
virtual decXmlNamespaceCastToNamespace ()
 Safely casts this element to decXmlNamespace or throwns an exception otherwise.

Detailed Description

XML Namespace.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

decXmlNamespace::decXmlNamespace ( const char *  name,
const char *  url 
)

Creates a new xml namespace with the given name and url.

decXmlNamespace::decXmlNamespace ( const char *  name )

Creates a new xml namespace with the given name and an empty url.

decXmlNamespace::~decXmlNamespace (  )

Cleans up the xml namespace.


Member Function Documentation

virtual bool decXmlNamespace::CanCastToNamespace (  ) [virtual]

Determines if this element can be cast to decXmlNamespace which is by default false.

Reimplemented from decXmlElement.

virtual decXmlNamespace* decXmlNamespace::CastToNamespace (  ) [virtual]

Safely casts this element to decXmlNamespace or throwns an exception otherwise.

Reimplemented from decXmlElement.

const char* decXmlNamespace::GetName (  ) const [inline]
const char* decXmlNamespace::GetURL (  ) const [inline]
void decXmlNamespace::SetName ( const char *  name )
void decXmlNamespace::SetURL ( const char *  url )
void decXmlNamespace::Visit ( decXmlVisitor visitor ) [virtual]

Visits this node.

Reimplemented from decXmlElement.


The documentation for this class was generated from the following file: