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

#include <xmlnamespaces.hxx>

Public Member Functions

void addNamespace (const OUString &aName, const OUString &aValue)
 
OUString applyNSToAttributeName (const OUString &) const
 
OUString applyNSToElementName (const OUString &) const
 

Private Types

typedef ::std::map< OUString, OUString > NamespaceMap
 

Private Member Functions

OUString const & getNamespaceValue (const OUString &aNamespace) const
 

Private Attributes

OUString m_aDefaultNamespace
 
NamespaceMap m_aNamespaceMap
 

Detailed Description

Definition at line 29 of file xmlnamespaces.hxx.

Member Typedef Documentation

◆ NamespaceMap

typedef ::std::map< OUString, OUString > framework::XMLNamespaces::NamespaceMap
private

Definition at line 41 of file xmlnamespaces.hxx.

Member Function Documentation

◆ addNamespace()

void framework::XMLNamespaces::addNamespace ( const OUString &  aName,
const OUString &  aValue 
)
Exceptions
css::xml::sax::SAXException

Definition at line 30 of file xmlnamespaces.cxx.

References aName, Any, m_aDefaultNamespace, m_aNamespaceMap, and p.

Referenced by framework::SaxNamespaceFilter::startElement().

◆ applyNSToAttributeName()

OUString framework::XMLNamespaces::applyNSToAttributeName ( const OUString &  aName) const
Exceptions
css::xml::sax::SAXException

Definition at line 80 of file xmlnamespaces.cxx.

References aName, Any, getNamespaceValue(), and index.

Referenced by framework::SaxNamespaceFilter::startElement().

◆ applyNSToElementName()

OUString framework::XMLNamespaces::applyNSToElementName ( const OUString &  aName) const
Exceptions
css::xml::sax::SAXException

Definition at line 99 of file xmlnamespaces.cxx.

References aName, Any, getNamespaceValue(), index, and m_aDefaultNamespace.

Referenced by framework::SaxNamespaceFilter::endElement(), and framework::SaxNamespaceFilter::startElement().

◆ getNamespaceValue()

OUString const & framework::XMLNamespaces::getNamespaceValue ( const OUString &  aNamespace) const
private
Exceptions
css::xml::sax::SAXException

Definition at line 134 of file xmlnamespaces.cxx.

References Any, m_aDefaultNamespace, m_aNamespaceMap, and p.

Referenced by applyNSToAttributeName(), and applyNSToElementName().

Member Data Documentation

◆ m_aDefaultNamespace

OUString framework::XMLNamespaces::m_aDefaultNamespace
private

Definition at line 46 of file xmlnamespaces.hxx.

Referenced by addNamespace(), applyNSToElementName(), and getNamespaceValue().

◆ m_aNamespaceMap

NamespaceMap framework::XMLNamespaces::m_aNamespaceMap
private

Definition at line 47 of file xmlnamespaces.hxx.

Referenced by addNamespace(), and getNamespaceValue().


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