decXmlElementTag Class Reference

XML Element Tag. More...

#include <decXmlElementTag.h>

Inheritance diagram for decXmlElementTag:
decXmlContainer decXmlElement

List of all members.

Public Member Functions

Constructors and Destructors
 decXmlElementTag (const char *name)
 Creates a new xml element tag.
 ~decXmlElementTag ()
 Cleans up the xml element tag.
Management
const char * GetName () const
void SetName (const char *name)
const char * GetNamespace () const
 Retrieves the namespace part of the tag name.
const char * GetLocalName () const
 Retrieves the local name part of the tag name.
Helper Functions
decXmlCharacterDataGetFirstData () const
 Retrieves the first element tag beeing a decXmlCharacterData or NULL otherwise.
decXmlElementTagGetElementIfTag (int index) const
 Retrieves the index-th element tag beeing a decXmlElementTag or NULL otherwise.
decXmlAttValueFindAttribute (const char *name) const
 Retrieves the decXmlAttValue with the given name or NULL otherwise.
Visiting
void Visit (decXmlVisitor *visitor)
 Visits this node.
Casting
virtual bool CanCastToElementTag ()
 Determines if this element can be cast to decXmlElementTag which is by default false.
virtual decXmlElementTagCastToElementTag ()
 Safely casts this element to decXmlElementTag or throwns an exception otherwise.

Detailed Description

XML Element Tag.

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

Constructor & Destructor Documentation

decXmlElementTag::decXmlElementTag ( const char *  name )

Creates a new xml element tag.

decXmlElementTag::~decXmlElementTag (  )

Cleans up the xml element tag.


Member Function Documentation

virtual bool decXmlElementTag::CanCastToElementTag (  ) [virtual]

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

Reimplemented from decXmlElement.

virtual decXmlElementTag* decXmlElementTag::CastToElementTag (  ) [virtual]

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

Reimplemented from decXmlElement.

decXmlAttValue* decXmlElementTag::FindAttribute ( const char *  name ) const

Retrieves the decXmlAttValue with the given name or NULL otherwise.

decXmlElementTag* decXmlElementTag::GetElementIfTag ( int  index ) const

Retrieves the index-th element tag beeing a decXmlElementTag or NULL otherwise.

decXmlCharacterData* decXmlElementTag::GetFirstData (  ) const

Retrieves the first element tag beeing a decXmlCharacterData or NULL otherwise.

const char* decXmlElementTag::GetLocalName (  ) const [inline]

Retrieves the local name part of the tag name.

const char* decXmlElementTag::GetName (  ) const [inline]
const char* decXmlElementTag::GetNamespace (  ) const [inline]

Retrieves the namespace part of the tag name.

void decXmlElementTag::SetName ( const char *  name )
void decXmlElementTag::Visit ( decXmlVisitor visitor ) [virtual]

Visits this node.

Reimplemented from decXmlContainer.


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