LibreOffice: com/sun/star/xml/dom/XDocument.idl Source File

LibreOffice LibreOffice 5.1 SDK API Reference

XDocument.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_XDocument_idl__
21 #define __com_sun_star_xml_dom_XDocument_idl__
22
23 #include <com/sun/star/xml/dom/XNode.idl>
24 #include <com/sun/star/xml/dom/XAttr.idl>
25 #include <com/sun/star/xml/dom/XCDATASection.idl>
26 #include <com/sun/star/xml/dom/XComment.idl>
27 #include <com/sun/star/xml/dom/XDocumentFragment.idl>
28 #include <com/sun/star/xml/dom/XEntityReference.idl>
29 #include <com/sun/star/xml/dom/XProcessingInstruction.idl>
30 #include <com/sun/star/xml/dom/XDocumentType.idl>
31 #include <com/sun/star/xml/dom/XDOMImplementation.idl>
32
33 module com { module sun { module star { module xml { module dom {
34
35 interface XDocument: XNode
36 {
42 XAttr createAttribute([in] string name) raises (DOMException);
43
57 XAttr createAttributeNS([in] string namespaceURI, [in] string qualifiedName) raises (DOMException);
58
64 XCDATASection createCDATASection([in] string data) raises (DOMException);
65
69 XComment createComment([in] string data);
70
74 XDocumentFragment createDocumentFragment();
75
76
82 XElement createElement([in] string tagName) raises (DOMException);
83
84
97 XElement createElementNS([in] string namespaceURI, [in] string qualifiedName) raises (DOMException);
98
107 XEntityReference createEntityReference([in] string name) raises (DOMException);
108
116 XProcessingInstruction createProcessingInstruction(
117 [in] string target, [in] string data) raises (DOMException);
118
122 XText createTextNode([in] string data);
123
128 XDocumentType getDoctype();
129
134 XElement getDocumentElement();
135
139 XElement getElementById([in] string elementId);
140
146 XNodeList getElementsByTagName([in] string tagname);
147
153 XNodeList getElementsByTagNameNS([in] string namespaceURI, [in] string localName);
154
158 XDOMImplementation getImplementation();
159
165 XNode importNode([in] XNode importedNode, [in] boolean deep) raises (DOMException);
166 };
167 };};};};};
168
169 #endif
170
171 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::xml::dom::XDocumentType
Definition: XDocumentType.idl:28
XEntityReference.idl
XProcessingInstruction.idl
com::sun::star::xml::dom::XAttr
Definition: XAttr.idl:29
com::sun::star::xml::dom::XNode
The primary dom datatype.
Definition: XNode.idl:68
XDocumentType.idl
com
Definition: Ambiguous.idl:22
com::sun::star::xml::dom::XEntityReference
Definition: XEntityReference.idl:27
com::sun::star::xml::dom::XNodeList
Definition: XNodeList.idl:30
com::sun::star::xml::dom::XDocumentFragment
Definition: XDocumentFragment.idl:27
XAttr.idl
com::sun::star::xml::dom::XProcessingInstruction
Definition: XProcessingInstruction.idl:27
XComment.idl
com::sun::star::xml::dom::XCDATASection
Definition: XCDATASection.idl:27
com::sun::star::xml::dom::XText
Definition: XText.idl:27
com::sun::star::xml::dom::XComment
Definition: XComment.idl:28
XDOMImplementation.idl
XCDATASection.idl
com::sun::star::xml::dom::XDOMImplementation
Definition: XDOMImplementation.idl:32
XDocumentFragment.idl
XNode.idl
com::sun::star::xml::dom::XDocument
Definition: XDocument.idl:35
com::sun::star::xml::dom::XElement
Definition: XElement.idl:28
com::sun::star::xml::dom::DOMException
encapsulates the details of an XML parse error or warning.
Definition: DOMException.idl:33