LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaccess::StorageXMLOutputStream Class Reference

#include <storagexmlstream.hxx>

Inheritance diagram for dbaccess::StorageXMLOutputStream:
[legend]
Collaboration diagram for dbaccess::StorageXMLOutputStream:
[legend]

Public Member Functions

 StorageXMLOutputStream (const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::embed::XStorage > &i_rParentStorage, const OUString &i_rStreamName)
 
virtual ~StorageXMLOutputStream () override
 
void close ()
 
void addAttribute (const OUString &i_rName, const OUString &i_rValue) const
 
void startElement (const OUString &i_rElementName)
 
void endElement ()
 
void ignorableWhitespace (const OUString &i_rWhitespace) const
 
void characters (const OUString &i_rCharacters) const
 
- Public Member Functions inherited from dbaccess::StorageOutputStream
 StorageOutputStream (const css::uno::Reference< css::embed::XStorage > &i_rParentStorage, const OUString &i_rStreamName)
 
virtual ~StorageOutputStream ()
 

Private Member Functions

 StorageXMLOutputStream (const StorageXMLOutputStream &)=delete
 
StorageXMLOutputStreamoperator= (const StorageXMLOutputStream &)=delete
 

Private Attributes

css::uno::Reference< css::xml::sax::XDocumentHandler > mxHandler
 
std::stack< OUString > maElements
 
::rtl::Reference< comphelper::AttributeListmxAttributes
 

Additional Inherited Members

- Protected Member Functions inherited from dbaccess::StorageOutputStream
const css::uno::Reference< css::io::XOutputStream > & getOutputStream () const
 

Detailed Description

Definition at line 35 of file storagexmlstream.hxx.

Constructor & Destructor Documentation

◆ StorageXMLOutputStream() [1/2]

dbaccess::StorageXMLOutputStream::StorageXMLOutputStream ( const css::uno::Reference< css::uno::XComponentContext > &  i_rContext,
const css::uno::Reference< css::embed::XStorage > &  i_rParentStorage,
const OUString &  i_rStreamName 
)

◆ ~StorageXMLOutputStream()

dbaccess::StorageXMLOutputStream::~StorageXMLOutputStream ( )
overridevirtual

Definition at line 58 of file storagexmlstream.cxx.

◆ StorageXMLOutputStream() [2/2]

dbaccess::StorageXMLOutputStream::StorageXMLOutputStream ( const StorageXMLOutputStream )
privatedelete

Member Function Documentation

◆ addAttribute()

void dbaccess::StorageXMLOutputStream::addAttribute ( const OUString &  i_rName,
const OUString &  i_rValue 
) const

Definition at line 70 of file storagexmlstream.cxx.

◆ characters()

void dbaccess::StorageXMLOutputStream::characters ( const OUString &  i_rCharacters) const

Definition at line 101 of file storagexmlstream.cxx.

References ENSURE_OR_RETURN_VOID, and mxHandler.

◆ close()

void dbaccess::StorageXMLOutputStream::close ( )

◆ endElement()

void dbaccess::StorageXMLOutputStream::endElement ( )

◆ ignorableWhitespace()

void dbaccess::StorageXMLOutputStream::ignorableWhitespace ( const OUString &  i_rWhitespace) const

◆ operator=()

StorageXMLOutputStream & dbaccess::StorageXMLOutputStream::operator= ( const StorageXMLOutputStream )
privatedelete

◆ startElement()

void dbaccess::StorageXMLOutputStream::startElement ( const OUString &  i_rElementName)

Member Data Documentation

◆ maElements

std::stack< OUString > dbaccess::StorageXMLOutputStream::maElements
private

Definition at line 61 of file storagexmlstream.hxx.

◆ mxAttributes

::rtl::Reference<comphelper::AttributeList> dbaccess::StorageXMLOutputStream::mxAttributes
private

Definition at line 62 of file storagexmlstream.hxx.

◆ mxHandler

css::uno::Reference< css::xml::sax::XDocumentHandler > dbaccess::StorageXMLOutputStream::mxHandler
private

Definition at line 60 of file storagexmlstream.hxx.


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