LibreOffice Module dbaccess (master) 1
|
#include <xmlDataSource.hxx>
Public Types | |
enum | UsedFor { eDataSource , eDriverSettings , eAppSettings } |
Public Member Functions | |
OXMLDataSource (ODBFilter &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &_xAttrList, const UsedFor _eUsedFor) | |
virtual | ~OXMLDataSource () 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 |
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 | |
ODBFilter & | GetOwnImport () |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 26 of file xmlDataSource.hxx.
Enumerator | |
---|---|
eDataSource | |
eDriverSettings | |
eAppSettings |
Definition at line 30 of file xmlDataSource.hxx.
dbaxml::OXMLDataSource::OXMLDataSource | ( | ODBFilter & | rImport, |
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | _xAttrList, | ||
const UsedFor | _eUsedFor | ||
) |
Definition at line 38 of file xmlDataSource.cxx.
References dbaxml::ODBFilter::addInfo(), Any, sax_fastparser::castToFastAttributeList(), DBG_UNHANDLED_EXCEPTION, eAppSettings, eDriverSettings, Exception, dbaxml::ODBFilter::getDataSource(), INFO_ADDITIONALOPTIONS, INFO_ALLOWLONGTABLENAMES, INFO_APPEND_TABLE_ALIAS, INFO_CONN_LDAP_BASEDN, INFO_CONN_LDAP_ROWCOUNT, INFO_IGNOREDRIVER_PRIV, INFO_JDBCDRIVERCLASS, INFO_PARAMETERNAMESUBST, INFO_SHOWDELETEDROWS, INFO_TEXTFILEEXTENSION, INFO_TEXTFILEHEADER, INFO_USECATALOG, dbaxml::ODBFilter::isNewFormat(), IsXMLToken(), PROPERTY_BOOLEANCOMPARISONMODE(), PROPERTY_ENABLESQL92CHECK(), PROPERTY_SUPPRESSVERSIONCL(), PROPERTY_URL(), TOKEN_MASK, XML_APPEND_TABLE_ALIAS_NAME, XML_BASE_DN, XML_BOOLEAN_COMPARISON_MODE, XML_CONNECTION_RESOURCE, XML_ENABLE_SQL92_CHECK, XML_EXTENSION, XML_IGNORE_DRIVER_PRIVILEGES, XML_IS_FIRST_ROW_HEADER_LINE, XML_IS_TABLE_NAME_LENGTH_LIMITED, XML_JAVA_CLASSPATH, XML_JAVA_DRIVER_CLASS, XML_MAX_ROW_COUNT, XML_PARAMETER_NAME_SUBSTITUTION, XML_SHOW_DELETED, XML_SUPPRESS_VERSION_COLUMNS, XML_SYSTEM_DRIVER_SETTINGS, XML_TRUE, XML_USE_CATALOG, and XMLOFF_WARN_UNKNOWN.
Referenced by createFastChildContext().
|
overridevirtual |
Definition at line 192 of file xmlDataSource.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 197 of file xmlDataSource.cxx.
References eAppSettings, eDriverSettings, SvXMLImportContext::GetImport(), GetOwnImport(), OXMLDataSource(), PROGRESS_BAR_STEP, SAL_WARN, TOKEN_MASK, XML_APPLICATION_CONNECTION_SETTINGS, XML_AUTO_INCREMENT, XML_CHARACTER_SET, XML_CONNECTION_DATA, XML_DATA_SOURCE_SETTINGS, XML_DELIMITER, XML_DRIVER_SETTINGS, XML_FONT_CHARSET, XML_LOGIN, XML_TABLE_FILTER, and XML_TABLE_TYPE_FILTER.
|
private |
Definition at line 244 of file xmlDataSource.cxx.
References SvXMLImportContext::GetImport().
Referenced by createFastChildContext().