#include <IXMLTag.h>
|
| enum | { kDefaultIID = IID_IXMLTAG } |
| |
Represents the tag associated with an XML element (IIDXMLElement); use IXMLTagCommands to modify. See XML 1.0 specification for more detail on names for elements.
| virtual WideString IXMLTag::GetBeginMarker | ( | | ) | const |
| pure virtual |
Accessor for begin-marker, i.e. <
- Returns
- character sequence "<
Accessor for the start tag, including the begin/end markers. For instance, this could be something like <Headline>. This is named STag in the XML 1.0 specification.
- Returns
- start tag
Accessor for end-tag marker, ie. >
- Returns
- character sequence ">"
Accessor for the end tag, including the begin/end markers. For instance, </Headline>. This is named ETag in the XML 1.0 specification.
- Returns
- end-tag
| virtual WideString IXMLTag::GetSlashMarker | ( | | ) | const |
| pure virtual |
Accessor for character sequence that marks ETag, i.e. "/"
- Returns
- the character sequence "/"
| virtual const WideString& IXMLTag::GetTagName | ( | | ) | const |
| pure virtual |
Accessor for name of tag, minus enclosing begin/end markers. For instance, this could be something like Headline; the element name without any begin/end markers.
- Returns
- the name of this tag minus begin/end markers
| virtual void IXMLTag::LockName | ( | bool16 | lock | ) | |
| pure virtual |
Mutator for locking and unlocking the tag name. Lock state is ref counted
- Parameters
| lock | kTrue to apply lock. kFalse to remove lock |
| virtual bool16 IXMLTag::NameLocked | ( | void | | ) | const |
| pure virtual |
Accessor for determine whether the tag name is locked
- Returns
- whether the tag name is locked
| virtual void IXMLTag::SetTagName | ( | const WideString & | tagName | ) | |
| pure virtual |
Mutator for name; use IXMLTagCommands methods to modify name from client code.
- Parameters
| tagName | specifies the new tag name |