XML Element Tag. More...
#include <decXmlElementTag.h>
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 | |
| decXmlCharacterData * | GetFirstData () const |
| Retrieves the first element tag beeing a decXmlCharacterData or NULL otherwise. | |
| decXmlElementTag * | GetElementIfTag (int index) const |
| Retrieves the index-th element tag beeing a decXmlElementTag or NULL otherwise. | |
| decXmlAttValue * | FindAttribute (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 decXmlElementTag * | CastToElementTag () |
| Safely casts this element to decXmlElementTag or throwns an exception otherwise. | |
XML Element Tag.
| decXmlElementTag::decXmlElementTag | ( | const char * | name ) |
Creates a new xml element tag.
| decXmlElementTag::~decXmlElementTag | ( | ) |
Cleans up the xml element tag.
| 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.
1.7.2