CopperSpice API
1.9.2
|
The QDomDocumentType class is the representation of the DTD in the document tree. More...
Public Methods | |
QDomDocumentType () | |
QDomDocumentType (const QDomDocumentType &other) | |
QDomNamedNodeMap | entities () const |
QString | internalSubset () const |
QString | name () const |
QDomNode::NodeType | nodeType () const |
QDomNamedNodeMap | notations () const |
QDomDocumentType & | operator= (const QDomDocumentType &other) |
QString | publicId () const |
QString | systemId () const |
Public Methods inherited from QDomNode | |
QDomNode () | |
QDomNode (const QDomNode &other) | |
~QDomNode () | |
QDomNode | appendChild (const QDomNode &newChild) |
QDomNamedNodeMap | attributes () const |
QDomNodeList | childNodes () const |
void | clear () |
QDomNode | cloneNode (bool deep=true) const |
int | columnNumber () const |
QDomNode | firstChild () const |
QDomElement | firstChildElement (const QString &tagName=QString ()) const |
bool | hasAttributes () const |
bool | hasChildNodes () const |
QDomNode | insertAfter (const QDomNode &newChild, const QDomNode &refChild) |
QDomNode | insertBefore (const QDomNode &newChild, const QDomNode &refChild) |
bool | isAttr () const |
bool | isCDATASection () const |
bool | isCharacterData () const |
bool | isComment () const |
bool | isDocument () const |
bool | isDocumentFragment () const |
bool | isDocumentType () const |
bool | isElement () const |
bool | isEntity () const |
bool | isEntityReference () const |
bool | isNotation () const |
bool | isNull () const |
bool | isProcessingInstruction () const |
bool | isSupported (const QString &feature, const QString &version) const |
bool | isText () const |
QDomNode | lastChild () const |
QDomElement | lastChildElement (const QString &tagName=QString ()) const |
int | lineNumber () const |
QString | localName () const |
QDomNode | namedItem (const QString &name) const |
QString | namespaceURI () const |
QDomNode | nextSibling () const |
QDomElement | nextSiblingElement (const QString &tagName=QString ()) const |
QString | nodeName () const |
NodeType | nodeType () const |
QString | nodeValue () const |
void | normalize () |
bool | operator!= (const QDomNode &n) const |
QDomNode & | operator= (const QDomNode &other) |
bool | operator== (const QDomNode &n) const |
QDomDocument | ownerDocument () const |
QDomNode | parentNode () const |
QString | prefix () const |
QDomNode | previousSibling () const |
QDomElement | previousSiblingElement (const QString &tagName=QString ()) const |
QDomNode | removeChild (const QDomNode &oldChild) |
QDomNode | replaceChild (const QDomNode &newChild, const QDomNode &oldChild) |
void | save (QTextStream &stream, int indent, QDomNode::EncodingPolicy policy=QDomNode::EncodingFromDocument) const |
void | setNodeValue (const QString &value) |
void | setPrefix (const QString &prefix) |
QDomAttr | toAttr () const |
QDomCDATASection | toCDATASection () const |
QDomCharacterData | toCharacterData () const |
QDomComment | toComment () const |
QDomDocument | toDocument () const |
QDomDocumentFragment | toDocumentFragment () const |
QDomDocumentType | toDocumentType () const |
QDomElement | toElement () const |
QDomEntity | toEntity () const |
QDomEntityReference | toEntityReference () const |
QDomNotation | toNotation () const |
QDomProcessingInstruction | toProcessingInstruction () const |
QDomText | toText () const |
Friends | |
class | QDomDocument |
class | QDomImplementation |
class | QDomNode |
Additional Inherited Members | |
Public Types inherited from QDomNode | |
enum | EncodingPolicy |
enum | NodeType |
Related Functions inherited from QDomNode | |
QTextStream & | operator<< (QTextStream &str, const QDomNode &node) |
The QDomDocumentType class is the representation of the DTD in the document tree.
The QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId(), systemId() and internalSubset() functions.
QDomDocumentType::QDomDocumentType | ( | ) |
Creates an empty QDomDocumentType object.
QDomDocumentType::QDomDocumentType | ( | const QDomDocumentType & | other | ) |
Copy constructs a new QDomDocumentType from other.
QDomNamedNodeMap QDomDocumentType::entities | ( | ) | const |
Returns a map of all entities described in the DTD.
QString QDomDocumentType::internalSubset | ( | ) | const |
Returns the internal subset of the document type or an empty string if there is no internal subset.
QString QDomDocumentType::name | ( | ) | const |
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
|
inline |
Returns DocumentTypeNode
.
QDomNamedNodeMap QDomDocumentType::notations | ( | ) | const |
Returns a map of all notations described in the DTD.
QDomDocumentType & QDomDocumentType::operator= | ( | const QDomDocumentType & | other | ) |
Copy assigns from other and returns a reference to this object.
QString QDomDocumentType::publicId | ( | ) | const |
Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.
QString QDomDocumentType::systemId | ( | ) | const |
Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.