LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
XDocumentBuilder.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
21
22
module
com
{ module sun { module star { module xml { module dom {
23
24
interface
XInputStream;
25
29
interface
XDocumentBuilder
:
com::sun::star::uno::XInterface
30
{
31
35
XDOMImplementation
getDOMImplementation
();
36
41
boolean
isNamespaceAware
();
42
47
boolean
isValidating
();
48
53
XDocument
newDocument
();
54
59
XDocument
parse
([in]
com::sun::star::io::XInputStream
is)
60
raises(
com::sun::star::xml::sax::SAXException
,
61
com::sun::star::io::IOException
);
62
67
XDocument
parseURI
([in]
string
uri
)
68
raises(
com::sun::star::xml::sax::SAXException
,
69
com::sun::star::io::IOException
);
70
75
void
setEntityResolver
([in]
com::sun::star::xml::sax::XEntityResolver
er);
76
81
void
setErrorHandler
([in]
com::sun::star::xml::sax::XErrorHandler
eh);
82
83
};
84
85
}; }; }; }; };
86
87
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition
IOException.idl:27
com::sun::star::xml::sax::SAXException
encapsulates the details of an XML parse error or warning.
Definition
SAXException.idl:38
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition
XInputStream.idl:30
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition
XInterface.idl:46
com::sun::star::xml::dom::XDOMImplementation
Definition
XDOMImplementation.idl:27
com::sun::star::xml::dom::XDocumentBuilder
Builds a new dom tree.
Definition
XDocumentBuilder.idl:30
com::sun::star::xml::dom::XDocumentBuilder::setErrorHandler
void setErrorHandler([in] com::sun::star::xml::sax::XErrorHandler eh)
Specify the ErrorHandler to be used to report errors present in the XML document to be parsed.
com::sun::star::xml::dom::XDocumentBuilder::getDOMImplementation
XDOMImplementation getDOMImplementation()
Obtain an instance of a DOMImplementation object.
com::sun::star::xml::dom::XDocumentBuilder::newDocument
XDocument newDocument()
Obtain a new instance of a DOM Document object to build a DOM tree with.
com::sun::star::xml::dom::XDocumentBuilder::parseURI
XDocument parseURI([in] string uri)
Parse the content of the given URI as an XML document and return a new DOM Document object.
com::sun::star::xml::dom::XDocumentBuilder::isValidating
boolean isValidating()
Indicates whether or not this parser is configured to validate XML documents.
com::sun::star::xml::dom::XDocumentBuilder::parse
XDocument parse([in] com::sun::star::io::XInputStream is)
Parse the content of the given InputStream as an XML document and return a new DOM Document object.
com::sun::star::xml::dom::XDocumentBuilder::isNamespaceAware
boolean isNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces.
com::sun::star::xml::dom::XDocumentBuilder::setEntityResolver
void setEntityResolver([in] com::sun::star::xml::sax::XEntityResolver er)
Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.
com::sun::star::xml::dom::XDocument
Definition
XDocument.idl:23
com::sun::star::xml::sax::XEntityResolver
makes it possible to modify the behavior of resolving external preferences.
Definition
XEntityResolver.idl:33
com::sun::star::xml::sax::XErrorHandler
is the basic interface for SAX error handlers.
Definition
XErrorHandler.idl:39
com::sun::star::uri
URI processing.
Definition
modules.idl:75
com
Definition
Ambiguous.idl:20
com
sun
star
xml
dom
XDocumentBuilder.idl
Generated by
1.17.0