EndElement Class Reference

#include <Pt/Xml/EndElement.h>

Represents a closing element tag in an XML document.

Inherits Node, and NonCopyable.

Public Member Functions

 EndElement ()
 Constructs an empty EndElement.
void clear ()
 Clears all content.
const QName & name () const
 Returns the qualified element name.
void setName (const QName &name, const Namespace &ns)
 Returns the qualified element name.
const String & namespaceUri () const
 Returns the namespace Uri for this element name.
Type type () const
 Returns the type of the node.

(Note that these are not member symbols.)

EndElement * toEndElement (Node *node)
 Casts a generic node to an EndElement node.
const EndElement * toEndElement (const Node *node)
 Casts a generic node to an EndElement node.
EndElement & toEndElement (Node &node)
 Casts a generic node to an EndElement node.
const EndElement & toEndElement (const Node &node)
 Casts a generic node to an EndElement node.