Qt 6.x
The Qt SDK
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 QDomNodePrivatecloneNode (bool deep=true)
 
virtual void normalize ()
 
virtual void clear ()
 
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 QDomNode::NodeType nodeType () 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 419 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomDocumentPrivate() [1/4]

QDomDocumentPrivate::QDomDocumentPrivate ( )

Definition at line 5606 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 5617 of file qdom.cpp.

◆ QDomDocumentPrivate() [3/4]

QDomDocumentPrivate::QDomDocumentPrivate ( QDomDocumentTypePrivate dt)

Definition at line 5629 of file qdom.cpp.

◆ QDomDocumentPrivate() [4/4]

QDomDocumentPrivate::QDomDocumentPrivate ( QDomDocumentPrivate n,
bool  deep 
)

Definition at line 5644 of file qdom.cpp.

References QDomNodePrivate::setParent().

+ Here is the call graph for this function:

◆ ~QDomDocumentPrivate()

QDomDocumentPrivate::~QDomDocumentPrivate ( )

Definition at line 5653 of file qdom.cpp.

Member Function Documentation

◆ clear()

void QDomDocumentPrivate::clear ( )
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 5657 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 5685 of file qdom.cpp.

References QDomDocumentPrivate().

+ Here is the call graph for this function:

◆ createAttribute()

QDomAttrPrivate * QDomDocumentPrivate::createAttribute ( const QString name)

Definition at line 5785 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 5797 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 5757 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 5745 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 5726 of file qdom.cpp.

◆ createElement()

QDomElementPrivate * QDomDocumentPrivate::createElement ( const QString tagName)

Definition at line 5702 of file qdom.cpp.

References e, fixedXmlName(), and ok.

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 5714 of file qdom.cpp.

References e, fixedXmlName(), and ok.

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 5809 of file qdom.cpp.

References e, fixedXmlName(), and ok.

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 5769 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 5733 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 432 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 5693 of file qdom.cpp.

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

◆ implementation()

QDomImplementationPrivate * QDomDocumentPrivate::implementation ( )
inline

Definition at line 433 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 453 of file qdom_p.h.

References QDomNode::DocumentNode.

◆ saveDocument()

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

Definition at line 5871 of file qdom.cpp.

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

+ Here is the call graph for this function:

◆ setContent()

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

Definition at line 5664 of file qdom.cpp.

References clear(), error, impl, QDomParser::parse(), qPrintable, qWarning, and QDomParser::result().

+ Here is the call graph for this function:

Member Data Documentation

◆ impl

Definition at line 457 of file qdom_p.h.

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

◆ nodeListTime

◆ type

Definition at line 458 of file qdom_p.h.


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