Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDomDocumentPrivate Class Reference

#include <qdom_p.h>

+ Inheritance diagram for QDomDocumentPrivate:
+ Collaboration diagram for QDomDocumentPrivate:

Public Member Functions

 QDomDocumentPrivate ()
 
 QDomDocumentPrivate (const QString &name)
 
 QDomDocumentPrivate (QDomDocumentTypePrivate *dt)
 
 QDomDocumentPrivate (QDomDocumentPrivate *n, bool deep)
 
 ~QDomDocumentPrivate ()
 
QDomDocument::ParseResult setContent (QXmlStreamReader *reader, QDomDocument::ParseOptions options)
 
QDomDocumentTypePrivatedoctype ()
 
QDomImplementationPrivateimplementation ()
 
QDomElementPrivatedocumentElement ()
 
QDomElementPrivatecreateElement (const QString &tagName)
 
QDomElementPrivatecreateElementNS (const QString &nsURI, const QString &qName)
 
QDomDocumentFragmentPrivatecreateDocumentFragment ()
 
QDomTextPrivatecreateTextNode (const QString &data)
 
QDomCommentPrivatecreateComment (const QString &data)
 
QDomCDATASectionPrivatecreateCDATASection (const QString &data)
 
QDomProcessingInstructionPrivatecreateProcessingInstruction (const QString &target, const QString &data)
 
QDomAttrPrivatecreateAttribute (const QString &name)
 
QDomAttrPrivatecreateAttributeNS (const QString &nsURI, const QString &qName)
 
QDomEntityReferencePrivatecreateEntityReference (const QString &name)
 
QDomNodePrivateimportNode (QDomNodePrivate *importedNode, bool deep)
 
QDomNodePrivatecloneNode (bool deep=true) override
 
QDomNode::NodeType nodeType () const override
 
void clear () override
 
void saveDocument (QTextStream &stream, const int indent, QDomNode::EncodingPolicy encUsed) const
 
- Public Member Functions inherited from QDomNodePrivate
 QDomNodePrivate (QDomDocumentPrivate *, QDomNodePrivate *parent=nullptr)
 
 QDomNodePrivate (QDomNodePrivate *n, bool deep)
 
virtual ~QDomNodePrivate ()
 
QString nodeName () const
 
QString nodeValue () const
 
virtual void setNodeValue (const QString &v)
 
QDomDocumentPrivateownerDocument ()
 
void setOwnerDocument (QDomDocumentPrivate *doc)
 
virtual QDomNodePrivateinsertBefore (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual QDomNodePrivateinsertAfter (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual QDomNodePrivatereplaceChild (QDomNodePrivate *newChild, QDomNodePrivate *oldChild)
 
virtual QDomNodePrivateremoveChild (QDomNodePrivate *oldChild)
 
virtual QDomNodePrivateappendChild (QDomNodePrivate *newChild)
 
QDomNodePrivatenamedItem (const QString &name)
 
virtual void normalize ()
 
QDomNodePrivateparent () const
 
void setParent (QDomNodePrivate *p)
 
void setNoParent ()
 
bool isAttr () const
 
bool isCDATASection () const
 
bool isDocumentFragment () const
 
bool isDocument () const
 
bool isDocumentType () const
 
bool isElement () const
 
bool isEntityReference () const
 
bool isText () const
 
bool isEntity () const
 
bool isNotation () const
 
bool isProcessingInstruction () const
 
bool isCharacterData () const
 
bool isComment () const
 
virtual void save (QTextStream &, int, int) const
 
void setLocation (int lineNumber, int columnNumber)
 

Public Attributes

QExplicitlySharedDataPointer< QDomImplementationPrivateimpl
 
QExplicitlySharedDataPointer< QDomDocumentTypePrivatetype
 
long nodeListTime
 
- Public Attributes inherited from QDomNodePrivate
QAtomicInt ref
 
QDomNodePrivateprev
 
QDomNodePrivatenext
 
QDomNodePrivateownerNode
 
QDomNodePrivatefirst
 
QDomNodePrivatelast
 
QString name
 
QString value
 
QString prefix
 
QString namespaceURI
 
bool createdWithDom1Interface: 1
 
bool hasParent: 1
 
int lineNumber
 
int columnNumber
 

Detailed Description

Definition at line 420 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomDocumentPrivate() [1/4]

QDomDocumentPrivate::QDomDocumentPrivate ( )

Definition at line 5608 of file qdom.cpp.

Referenced by cloneNode().

+ Here is the caller graph for this function:

◆ QDomDocumentPrivate() [2/4]

QDomDocumentPrivate::QDomDocumentPrivate ( const QString & name)

Definition at line 5619 of file qdom.cpp.

◆ QDomDocumentPrivate() [3/4]

QDomDocumentPrivate::QDomDocumentPrivate ( QDomDocumentTypePrivate * dt)

Definition at line 5631 of file qdom.cpp.

◆ QDomDocumentPrivate() [4/4]

QDomDocumentPrivate::QDomDocumentPrivate ( QDomDocumentPrivate * n,
bool deep )

Definition at line 5646 of file qdom.cpp.

References QDomNodePrivate::setParent().

+ Here is the call graph for this function:

◆ ~QDomDocumentPrivate()

QDomDocumentPrivate::~QDomDocumentPrivate ( )

Definition at line 5655 of file qdom.cpp.

Member Function Documentation

◆ clear()

void QDomDocumentPrivate::clear ( )
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 5659 of file qdom.cpp.

References QDomNodePrivate::clear(), impl, and QExplicitlySharedDataPointer< T >::reset().

Referenced by setContent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cloneNode()

QDomNodePrivate * QDomDocumentPrivate::cloneNode ( bool deep = true)
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 5687 of file qdom.cpp.

References QDomDocumentPrivate().

+ Here is the call graph for this function:

◆ createAttribute()

QDomAttrPrivate * QDomDocumentPrivate::createAttribute ( const QString & name)

Definition at line 5787 of file qdom.cpp.

References fixedXmlName(), and ok.

+ Here is the call graph for this function:

◆ createAttributeNS()

QDomAttrPrivate * QDomDocumentPrivate::createAttributeNS ( const QString & nsURI,
const QString & qName )

Definition at line 5799 of file qdom.cpp.

References fixedXmlName(), and ok.

+ Here is the call graph for this function:

◆ createCDATASection()

QDomCDATASectionPrivate * QDomDocumentPrivate::createCDATASection ( const QString & data)

Definition at line 5759 of file qdom.cpp.

References fixedCDataSection(), and ok.

Referenced by QDomBuilder::characters().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createComment()

QDomCommentPrivate * QDomDocumentPrivate::createComment ( const QString & data)

Definition at line 5747 of file qdom.cpp.

References fixedComment(), and ok.

Referenced by QDomBuilder::comment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createDocumentFragment()

QDomDocumentFragmentPrivate * QDomDocumentPrivate::createDocumentFragment ( )

Definition at line 5728 of file qdom.cpp.

◆ createElement()

QDomElementPrivate * QDomDocumentPrivate::createElement ( const QString & tagName)

Definition at line 5704 of file qdom.cpp.

References QBasicAtomicInteger< T >::deref(), fixedXmlName(), ok, and QDomNodePrivate::ref.

Referenced by QDomBuilder::startElement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createElementNS()

QDomElementPrivate * QDomDocumentPrivate::createElementNS ( const QString & nsURI,
const QString & qName )

Definition at line 5716 of file qdom.cpp.

References QBasicAtomicInteger< T >::deref(), fixedXmlName(), ok, and QDomNodePrivate::ref.

Referenced by QDomBuilder::startElement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createEntityReference()

QDomEntityReferencePrivate * QDomDocumentPrivate::createEntityReference ( const QString & name)

Definition at line 5811 of file qdom.cpp.

References QBasicAtomicInteger< T >::deref(), fixedXmlName(), ok, and QDomNodePrivate::ref.

Referenced by QDomBuilder::characters(), and QDomBuilder::skippedEntity().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createProcessingInstruction()

QDomProcessingInstructionPrivate * QDomDocumentPrivate::createProcessingInstruction ( const QString & target,
const QString & data )

Definition at line 5771 of file qdom.cpp.

References fixedPIData(), fixedXmlName(), and ok.

Referenced by QDomBuilder::processingInstruction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createTextNode()

QDomTextPrivate * QDomDocumentPrivate::createTextNode ( const QString & data)

Definition at line 5735 of file qdom.cpp.

References fixedCharData(), and ok.

Referenced by QDomBuilder::characters().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doctype()

QDomDocumentTypePrivate * QDomDocumentPrivate::doctype ( )
inline

Definition at line 433 of file qdom_p.h.

Referenced by QDomBuilder::characters(), QDomBuilder::notationDecl(), QDomBuilder::parseDTD(), QDomBuilder::startDTD(), and QDomBuilder::unparsedEntityDecl().

+ Here is the caller graph for this function:

◆ documentElement()

QDomElementPrivate * QDomDocumentPrivate::documentElement ( )

Definition at line 5695 of file qdom.cpp.

References QDomNodePrivate::first, and QDomNodePrivate::next.

◆ implementation()

QDomImplementationPrivate * QDomDocumentPrivate::implementation ( )
inline

Definition at line 434 of file qdom_p.h.

References QExplicitlySharedDataPointer< T >::data(), and impl.

+ Here is the call graph for this function:

◆ importNode()

QDomNodePrivate * QDomDocumentPrivate::importNode ( QDomNodePrivate * importedNode,
bool deep )

◆ nodeType()

QDomNode::NodeType QDomDocumentPrivate::nodeType ( ) const
inlineoverridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 454 of file qdom_p.h.

References QDomNode::DocumentNode.

◆ saveDocument()

void QDomDocumentPrivate::saveDocument ( QTextStream & stream,
const int indent,
QDomNode::EncodingPolicy encUsed ) const

Definition at line 5873 of file qdom.cpp.

References QStringConverter::encodingForName(), QDomNode::EncodingFromDocument, QDomNodePrivate::first, QString::fromLatin1(), QRegularExpression::match(), match(), QStringConverter::nameForEncoding(), QDomNodePrivate::next, qWarning, and QDomNodePrivate::save().

+ Here is the call graph for this function:

◆ setContent()

QDomDocument::ParseResult QDomDocumentPrivate::setContent ( QXmlStreamReader * reader,
QDomDocument::ParseOptions options )

Definition at line 5666 of file qdom.cpp.

References clear(), error, impl, qPrintable, and qWarning.

+ Here is the call graph for this function:

Member Data Documentation

◆ impl

Definition at line 458 of file qdom_p.h.

Referenced by clear(), implementation(), and setContent().

◆ nodeListTime

◆ type

Definition at line 459 of file qdom_p.h.


The documentation for this class was generated from the following files: