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

Sax stream object, XDocumentHandler wrapper. More...

#include <xfsaxstream.hxx>

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

Public Member Functions

 XFSaxStream (css::uno::Reference< css::xml::sax::XDocumentHandler > const &xHandler)
 
virtual ~XFSaxStream () override
 
virtual void StartDocument () override
 @descr Start document callback. More...
 
virtual void EndDocument () override
 @descr End document callback. More...
 
virtual void StartElement (const OUString &oustr) override
 @descr Start output element. More...
 
virtual void EndElement (const OUString &oustr) override
 @descr End output element. More...
 
virtual void Characters (const OUString &oustr) override
 @descr Output Character section. More...
 
virtual IXFAttrListGetAttrList () override
 @descr Get the attribute list interface. More...
 
- Public Member Functions inherited from IXFStream
virtual ~IXFStream ()
 
virtual void StartDocument ()=0
 @descr Called when start write.Usually you can output document type info and xml encoding info. More...
 
virtual void EndDocument ()=0
 @descr called when end output. More...
 
virtual void StartElement (const OUString &oustr)=0
 @descr Wrap XDocumentHandler::startElement() More...
 
virtual void EndElement (const OUString &oustr)=0
 @descr Wrap XDocumentHandler::endElement() More...
 
virtual void Characters (const OUString &oustr)=0
 @descr output text node. More...
 
virtual IXFAttrListGetAttrList ()=0
 @descr return the Attribute list interface. More...
 

Private Attributes

css::uno::Reference< css::xml::sax::XDocumentHandler > m_aHandler
 
std::unique_ptr< XFSaxAttrListm_pAttrList
 

Detailed Description

Sax stream object, XDocumentHandler wrapper.

Definition at line 75 of file xfsaxstream.hxx.

Constructor & Destructor Documentation

◆ XFSaxStream()

XFSaxStream::XFSaxStream ( css::uno::Reference< css::xml::sax::XDocumentHandler > const &  xHandler)
explicit

Definition at line 78 of file xfsaxstream.cxx.

References m_aHandler, and m_pAttrList.

◆ ~XFSaxStream()

XFSaxStream::~XFSaxStream ( )
overridevirtual

Definition at line 84 of file xfsaxstream.cxx.

Member Function Documentation

◆ Characters()

void XFSaxStream::Characters ( const OUString &  oustr)
overridevirtual

@descr Output Character section.

Implements IXFStream.

Definition at line 114 of file xfsaxstream.cxx.

References m_aHandler.

◆ EndDocument()

void XFSaxStream::EndDocument ( )
overridevirtual

@descr End document callback.

Implements IXFStream.

Definition at line 92 of file xfsaxstream.cxx.

References m_aHandler.

◆ EndElement()

void XFSaxStream::EndElement ( const OUString &  oustr)
overridevirtual

@descr End output element.

Implements IXFStream.

Definition at line 105 of file xfsaxstream.cxx.

References m_aHandler, and m_pAttrList.

◆ GetAttrList()

IXFAttrList * XFSaxStream::GetAttrList ( )
overridevirtual

@descr Get the attribute list interface.

Implements IXFStream.

Definition at line 120 of file xfsaxstream.cxx.

References m_pAttrList.

◆ StartDocument()

void XFSaxStream::StartDocument ( )
overridevirtual

@descr Start document callback.

Implements IXFStream.

Definition at line 86 of file xfsaxstream.cxx.

References m_aHandler.

◆ StartElement()

void XFSaxStream::StartElement ( const OUString &  oustr)
overridevirtual

@descr Start output element.

Implements IXFStream.

Definition at line 98 of file xfsaxstream.cxx.

References m_aHandler, and m_pAttrList.

Member Data Documentation

◆ m_aHandler

css::uno::Reference<css::xml::sax::XDocumentHandler> XFSaxStream::m_aHandler
private

◆ m_pAttrList

std::unique_ptr<XFSaxAttrList> XFSaxStream::m_pAttrList
private

Definition at line 115 of file xfsaxstream.hxx.

Referenced by EndElement(), GetAttrList(), StartElement(), and XFSaxStream().


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