LibreOffice Module framework (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
framework::SaxNamespaceFilter Class Referencefinal

#include <saxnamespacefilter.hxx>

Inheritance diagram for framework::SaxNamespaceFilter:
[legend]
Collaboration diagram for framework::SaxNamespaceFilter:
[legend]

Public Member Functions

 SaxNamespaceFilter (css::uno::Reference< css::xml::sax::XDocumentHandler > const &rSax1DocumentHandler)
 
virtual ~SaxNamespaceFilter () override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 

Private Types

typedef ::std::stack< XMLNamespacesNamespaceStack
 

Private Member Functions

OUString getErrorLineString ()
 

Private Attributes

css::uno::Reference< css::xml::sax::XLocator > m_xLocator
 
css::uno::Reference< css::xml::sax::XDocumentHandler > xDocumentHandler
 
NamespaceStack m_aNamespaceStack
 

Detailed Description

Definition at line 35 of file saxnamespacefilter.hxx.

Member Typedef Documentation

◆ NamespaceStack

Definition at line 63 of file saxnamespacefilter.hxx.

Constructor & Destructor Documentation

◆ SaxNamespaceFilter()

framework::SaxNamespaceFilter::SaxNamespaceFilter ( css::uno::Reference< css::xml::sax::XDocumentHandler > const &  rSax1DocumentHandler)

Definition at line 36 of file saxnamespacefilter.cxx.

◆ ~SaxNamespaceFilter()

framework::SaxNamespaceFilter::~SaxNamespaceFilter ( )
overridevirtual

Definition at line 41 of file saxnamespacefilter.cxx.

Member Function Documentation

◆ characters()

void SAL_CALL framework::SaxNamespaceFilter::characters ( const OUString &  aChars)
overridevirtual

Definition at line 130 of file saxnamespacefilter.cxx.

References xDocumentHandler.

◆ endDocument()

void SAL_CALL framework::SaxNamespaceFilter::endDocument ( )
overridevirtual

Definition at line 50 of file saxnamespacefilter.cxx.

◆ endElement()

void SAL_CALL framework::SaxNamespaceFilter::endElement ( const OUString &  aName)
overridevirtual

◆ getErrorLineString()

OUString framework::SaxNamespaceFilter::getErrorLineString ( )
private

Definition at line 153 of file saxnamespacefilter.cxx.

References m_xLocator.

Referenced by endElement(), and startElement().

◆ ignorableWhitespace()

void SAL_CALL framework::SaxNamespaceFilter::ignorableWhitespace ( const OUString &  aWhitespaces)
overridevirtual

Definition at line 135 of file saxnamespacefilter.cxx.

References xDocumentHandler.

◆ processingInstruction()

void SAL_CALL framework::SaxNamespaceFilter::processingInstruction ( const OUString &  aTarget,
const OUString &  aData 
)
overridevirtual

Definition at line 140 of file saxnamespacefilter.cxx.

References aData, and xDocumentHandler.

◆ setDocumentLocator()

void SAL_CALL framework::SaxNamespaceFilter::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  xLocator)
overridevirtual

Definition at line 146 of file saxnamespacefilter.cxx.

References m_xLocator, and xDocumentHandler.

◆ startDocument()

void SAL_CALL framework::SaxNamespaceFilter::startDocument ( )
overridevirtual

Definition at line 46 of file saxnamespacefilter.cxx.

◆ startElement()

void SAL_CALL framework::SaxNamespaceFilter::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual

Member Data Documentation

◆ m_aNamespaceStack

NamespaceStack framework::SaxNamespaceFilter::m_aNamespaceStack
private

Definition at line 69 of file saxnamespacefilter.hxx.

Referenced by endElement(), and startElement().

◆ m_xLocator

css::uno::Reference< css::xml::sax::XLocator > framework::SaxNamespaceFilter::m_xLocator
private

Definition at line 67 of file saxnamespacefilter.hxx.

Referenced by getErrorLineString(), and setDocumentLocator().

◆ xDocumentHandler

css::uno::Reference< css::xml::sax::XDocumentHandler> framework::SaxNamespaceFilter::xDocumentHandler
private

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