LibreOffice
LibreOffice 7.2 SDK API Reference
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 #ifndef __com_sun_star_xml_dom_XDocumentBuilder_idl__
21 #define __com_sun_star_xml_dom_XDocumentBuilder_idl__
22 
30 
31 
33 
34 module com { module sun { module star { module xml { module dom {
35 
36 interface XInputStream;
37 
42 {
43 
48 
53  boolean isNamespaceAware();
54 
59  boolean isValidating();
60 
66 
74 
79  XDocument parseURI([in] string uri)
82 
88 
94 
95 };
96 
97 }; }; }; }; };
98 
99 #endif
100 
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is thrown when an input or output error has occurred.
Definition: IOException.idl:31
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:42
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: XDOMImplementation.idl:33
Builds a new dom tree.
Definition: XDocumentBuilder.idl:42
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.
XDOMImplementation getDOMImplementation()
Obtain an instance of a DOMImplementation object.
XDocument newDocument()
Obtain a new instance of a DOM Document object to build a DOM tree with.
XDocument parseURI([in] string uri)
Parse the content of the given URI as an XML document and return a new DOM Document object.
boolean isValidating()
Indicates whether or not this parser is configured to validate XML documents.
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.
boolean isNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces.
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.
Definition: XDocument.idl:36
makes it possible to modify the behavior of resolving external preferences.
Definition: XEntityResolver.idl:39
is the basic interface for SAX error handlers.
Definition: XErrorHandler.idl:45
Definition: Ambiguous.idl:22