LibreOffice Module l10ntools (master) 1
Public Member Functions | Private Attributes | List of all members
XMLData Class Reference

Holds character data. More...

#include <xmlparse.hxx>

Inheritance diagram for XMLData:
[legend]
Collaboration diagram for XMLData:
[legend]

Public Member Functions

 XMLData (OString _sData, XMLParentNode *pParent)
 create a data node More...
 
virtual XMLNodeType GetNodeType () const override
 
const OString & GetData () const
 returns the data More...
 
void AddData (const OString &rData)
 adds new character data to the existing one More...
 
- Public Member Functions inherited from XMLChildNode
XMLParentNodeGetParent ()
 returns the parent of this node More...
 
- Public Member Functions inherited from XMLNode
virtual XMLNodeType GetNodeType () const =0
 
virtual ~XMLNode ()
 
 XMLNode (XMLNode const &)=default
 
 XMLNode (XMLNode &&)=default
 
XMLNodeoperator= (XMLNode const &)=default
 
XMLNodeoperator= (XMLNode &&)=default
 

Private Attributes

OString m_sData
 

Additional Inherited Members

- Protected Member Functions inherited from XMLChildNode
 XMLChildNode (XMLParentNode *pPar)
 
 XMLChildNode (const XMLChildNode &rObj)
 
XMLChildNodeoperator= (const XMLChildNode &rObj)
 
- Protected Member Functions inherited from XMLNode
 XMLNode ()
 

Detailed Description

Holds character data.

Definition at line 239 of file xmlparse.hxx.

Constructor & Destructor Documentation

◆ XMLData()

XMLData::XMLData ( OString  _sData,
XMLParentNode pParent 
)
inline

create a data node

Definition at line 246 of file xmlparse.hxx.

Member Function Documentation

◆ AddData()

void XMLData::AddData ( const OString &  rData)
inline

adds new character data to the existing one

Definition at line 259 of file xmlparse.hxx.

References m_sData.

Referenced by SimpleXMLParser::CharacterData().

◆ GetData()

const OString & XMLData::GetData ( ) const
inline

returns the data

Definition at line 256 of file xmlparse.hxx.

References m_sData.

◆ GetNodeType()

virtual XMLNodeType XMLData::GetNodeType ( ) const
inlineoverridevirtual

Implements XMLNode.

Definition at line 253 of file xmlparse.hxx.

References DATA.

Member Data Documentation

◆ m_sData

OString XMLData::m_sData
private

Definition at line 242 of file xmlparse.hxx.

Referenced by AddData(), and GetData().


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