Constructs an instance of Tag with a specified name and type
Compares two Tags
Compares two Tags for equality
Returns the hash of a Tag
Returns the string representation of a Tag
Returns true if the Tag is an empty tag
Returns true if the Tag is an end tag
Returns true if the Tag is a start tag
Associative array of attributes
Tag name
Type of tag
The class invariant guarantees <ul> <li> that type is a valid enum TagType value</li> <li> that name consists of valid characters</li> <li> that each attribute name consists of valid characters</li> </ul>
Class representing an XML tag.