Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_XMLNode Class Referenceabstract

#include <cfx_xmlnode.h>

+ Inheritance diagram for CFX_XMLNode:
+ Collaboration diagram for CFX_XMLNode:

Public Types

enum class  Type { kInstruction = 0 , kElement , kText , kCharData }
 

Public Member Functions

 CFX_XMLNode ()
 
 ~CFX_XMLNode () override
 
virtual Type GetType () const =0
 
virtual CFX_XMLNodeClone (CFX_XMLDocument *doc)=0
 
virtual void Save (const RetainPtr< IFX_RetainableWriteStream > &pXMLStream)=0
 
CFX_XMLNodeGetRoot ()
 
void InsertChildNode (CFX_XMLNode *pNode, int32_t index)
 
- Public Member Functions inherited from fxcrt::TreeNode< T >
 TreeNode ()=default
 
virtual ~TreeNode ()=default
 
- Public Member Functions inherited from fxcrt::TreeNodeBase< T >
 TreeNodeBase ()=default
 
virtual ~TreeNodeBase ()=default
 
T * GetParent () const
 
T * GetFirstChild () const
 
T * GetLastChild () const
 
T * GetNextSibling () const
 
T * GetPrevSibling () const
 
bool HasChild (const T *child) const
 
T * GetNthChild (int32_t n)
 
void AppendFirstChild (T *child)
 
void AppendLastChild (T *child)
 
void InsertBefore (T *child, T *other)
 
void InsertAfter (T *child, T *other)
 
void RemoveChild (T *child)
 
void RemoveAllChildren ()
 
void RemoveSelfIfParented ()
 

Detailed Description

Definition at line 16 of file cfx_xmlnode.h.

Member Enumeration Documentation

◆ Type

enum class CFX_XMLNode::Type
strong
Enumerator
kInstruction 
kElement 
kText 
kCharData 

Definition at line 18 of file cfx_xmlnode.h.

Constructor & Destructor Documentation

◆ CFX_XMLNode()

CFX_XMLNode::CFX_XMLNode ( )
default

◆ ~CFX_XMLNode()

CFX_XMLNode::~CFX_XMLNode ( )
overridedefault

Member Function Documentation

◆ Clone()

virtual CFX_XMLNode * CFX_XMLNode::Clone ( CFX_XMLDocument * doc)
pure virtual

Implemented in CFX_XMLCharData, CFX_XMLElement, CFX_XMLInstruction, and CFX_XMLText.

Referenced by CFX_XMLElement::Clone().

+ Here is the caller graph for this function:

◆ GetRoot()

CFX_XMLNode * CFX_XMLNode::GetRoot ( )

Definition at line 17 of file cfx_xmlnode.cpp.

Referenced by TEST(), and XFA_FDEExtension_ResolveNamespaceQualifier().

+ Here is the caller graph for this function:

◆ GetType()

virtual Type CFX_XMLNode::GetType ( ) const
pure virtual

Implemented in CFX_XMLCharData, CFX_XMLElement, CFX_XMLInstruction, and CFX_XMLText.

Referenced by CFX_XMLElement::Clone(), CXFA_DocumentBuilder::ConstructXFANode(), CFX_XMLElement::GetNamespaceURI(), IsXMLText(), CXFA_Node::SetToXML(), TEST(), TEST(), TEST(), TEST(), ToXMLCharData(), ToXMLElement(), ToXMLElement(), and ToXMLInstruction().

+ Here is the caller graph for this function:

◆ InsertChildNode()

void CFX_XMLNode::InsertChildNode ( CFX_XMLNode * pNode,
int32_t index )

Definition at line 13 of file cfx_xmlnode.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ Save()

virtual void CFX_XMLNode::Save ( const RetainPtr< IFX_RetainableWriteStream > & pXMLStream)
pure virtual

Implemented in CFX_XMLCharData, CFX_XMLElement, CFX_XMLInstruction, and CFX_XMLText.

Referenced by CFX_XMLElement::Save().

+ Here is the caller graph for this function:

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