45 css::uno::Reference<css::xml::dom::XNode>
mxNode;
47 void HandleAttributes(
const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs);
55 const OUString & Namespace,
const OUString & Name );
60 css::uno::Reference<css::xml::dom::XNode>
const & );
63 const OUString & Namespace,
const OUString & Name,
64 css::uno::Reference<css::xml::dom::XNode>
const & );
73 css::uno::Reference<css::xml::dom::XDocument>
getTree();
79 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
81 const OUString& Namespace,
const OUString& Name,
82 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs )
override;
86 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
87 virtual void SAL_CALL
startUnknownElement(
const OUString & Namespace,
const OUString & Name,
88 const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
override;
90 virtual void SAL_CALL
characters(
const OUString& rChars )
override;
DomBuilderContext creates a DOM tree suitable for in-memory processing of XML data from a sequence of...
void HandleAttributes(const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs)
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 startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual void SAL_CALL characters(const OUString &rChars) override
This method is called for all characters that are contained in the current element.
DomBuilderContext(SvXMLImport &rImport, sal_Int32 nElement, css::uno::Reference< css::xml::dom::XNode > const &)
constructor: create DOM subtree under the given node
css::uno::Reference< css::xml::dom::XDocument > getTree()
access the DOM tree
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
css::uno::Reference< css::xml::dom::XNode > mxNode
virtual ~DomBuilderContext() override
DomBuilderContext(SvXMLImport &rImport, const OUString &Namespace, const OUString &Name, css::uno::Reference< css::xml::dom::XNode > const &)
constructor: create DOM subtree under the given node
DomBuilderContext(SvXMLImport &rImport, sal_Int32 nElement)
default constructor: create new DOM tree
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
This class deliberately does not support XWeak, to improve performance when loading large documents.