CopperSpice API
1.9.2
|
The QDomCDATASection class represents an XML CDATA section. More...
Public Methods | |
QDomCDATASection () | |
QDomCDATASection (const QDomCDATASection &other) | |
QDomNode::NodeType | nodeType () const |
QDomCDATASection & | operator= (const QDomCDATASection &other) |
Public Methods inherited from QDomText | |
QDomText () | |
QDomText (const QDomText &other) | |
QDomNode::NodeType | nodeType () const |
QDomText & | operator= (const QDomText &other) |
QDomText | splitText (int offset) |
Public Methods inherited from QDomCharacterData | |
QDomCharacterData () | |
QDomCharacterData (const QDomCharacterData &other) | |
void | appendData (const QString &arg) |
QString | data () const |
void | deleteData (unsigned long offset, unsigned long count) |
void | insertData (unsigned long offset, const QString &arg) |
int | length () const |
QDomNode::NodeType | nodeType () const |
QDomCharacterData & | operator= (const QDomCharacterData &other) |
void | replaceData (unsigned long offset, unsigned long count, const QString &arg) |
void | setData (const QString &data) |
QString | substringData (unsigned long offset, unsigned long count) |
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 | 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 QDomCDATASection class represents an XML CDATA section.
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the "]]>" string that terminates the CDATA section. CDATA sections can not be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.
Adjacent QDomCDATASection nodes are not merged by the QDomNode::normalize() function.
For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation.
QDomCDATASection::QDomCDATASection | ( | ) |
Constructs an empty CDATA section. To create a CDATA section with content, use the QDomDocument::createCDATASection() function.
QDomCDATASection::QDomCDATASection | ( | const QDomCDATASection & | other | ) |
Copy constructs a new QDomCDATASection from other.
|
inline |
Returns CDATASection
.
QDomCDATASection & QDomCDATASection::operator= | ( | const QDomCDATASection & | other | ) |
Copy assigns from other and returns a reference to this object.