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

#include <xmlDataSourceSetting.hxx>

Inheritance diagram for dbaxml::OXMLDataSourceSetting:
[legend]
Collaboration diagram for dbaxml::OXMLDataSourceSetting:
[legend]

Public Member Functions

 OXMLDataSourceSetting (ODBFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &_xAttrList, OXMLDataSourceSetting *_pContainer=nullptr)
 
virtual ~OXMLDataSourceSetting () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
virtual void SAL_CALL characters (const OUString &rChars) override
 
void addValue (const OUString &_sValue)
 adds value to property More...
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Private Member Functions

ODBFilterGetOwnImport ()
 

Static Private Member Functions

static css::uno::Any convertString (const css::uno::Type &_rExpectedType, const OUString &_rReadCharacters)
 

Private Attributes

css::beans::PropertyValue m_aSetting
 
css::uno::Sequence< css::uno::Any > m_aInfoSequence
 
OXMLDataSourceSettingm_pContainer
 
css::uno::Type m_aPropType
 
bool m_bIsList
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 28 of file xmlDataSourceSetting.hxx.

Constructor & Destructor Documentation

◆ OXMLDataSourceSetting()

dbaxml::OXMLDataSourceSetting::OXMLDataSourceSetting ( ODBFilter rImport,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  _xAttrList,
OXMLDataSourceSetting _pContainer = nullptr 
)

◆ ~OXMLDataSourceSetting()

dbaxml::OXMLDataSourceSetting::~OXMLDataSourceSetting ( )
overridevirtual

Definition at line 88 of file xmlDataSourceSetting.cxx.

Member Function Documentation

◆ addValue()

void dbaxml::OXMLDataSourceSetting::addValue ( const OUString &  _sValue)

adds value to property

Parameters
_sValueThe value to add.

Definition at line 134 of file xmlDataSourceSetting.cxx.

References Any, convertString(), m_aInfoSequence, m_aPropType, m_aSetting, m_bIsList, and nPos.

Referenced by characters().

◆ characters()

void dbaxml::OXMLDataSourceSetting::characters ( const OUString &  rChars)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 128 of file xmlDataSourceSetting.cxx.

References addValue(), and m_pContainer.

◆ convertString()

Any dbaxml::OXMLDataSourceSetting::convertString ( const css::uno::Type &  _rExpectedType,
const OUString &  _rReadCharacters 
)
staticprivate

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > dbaxml::OXMLDataSourceSetting::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  AttrList 
)
overridevirtual

◆ endFastElement()

void dbaxml::OXMLDataSourceSetting::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ GetOwnImport()

ODBFilter & dbaxml::OXMLDataSourceSetting::GetOwnImport ( )
private

Definition at line 150 of file xmlDataSourceSetting.cxx.

References SvXMLImportContext::GetImport().

Referenced by createFastChildContext(), and endFastElement().

Member Data Documentation

◆ m_aInfoSequence

css::uno::Sequence< css::uno::Any> dbaxml::OXMLDataSourceSetting::m_aInfoSequence
private

Definition at line 31 of file xmlDataSourceSetting.hxx.

Referenced by addValue(), and endFastElement().

◆ m_aPropType

css::uno::Type dbaxml::OXMLDataSourceSetting::m_aPropType
private

Definition at line 33 of file xmlDataSourceSetting.hxx.

Referenced by addValue(), endFastElement(), and OXMLDataSourceSetting().

◆ m_aSetting

css::beans::PropertyValue dbaxml::OXMLDataSourceSetting::m_aSetting
private

Definition at line 30 of file xmlDataSourceSetting.hxx.

Referenced by addValue(), endFastElement(), and OXMLDataSourceSetting().

◆ m_bIsList

bool dbaxml::OXMLDataSourceSetting::m_bIsList
private

Definition at line 34 of file xmlDataSourceSetting.hxx.

Referenced by addValue(), endFastElement(), and OXMLDataSourceSetting().

◆ m_pContainer

OXMLDataSourceSetting* dbaxml::OXMLDataSourceSetting::m_pContainer
private

Definition at line 32 of file xmlDataSourceSetting.hxx.

Referenced by characters().


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