LibreOffice
LibreOffice 24.2 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 module com { module sun { module star { module xml { module dom {
21 
22 interface XDocument: XNode
23 {
29  XAttr createAttribute([in] string name) raises (DOMException);
30 
44  XAttr createAttributeNS([in] string namespaceURI, [in] string qualifiedName) raises (DOMException);
45 
51  XCDATASection createCDATASection([in] string data) raises (DOMException);
52 
56  XComment createComment([in] string data);
57 
61  XDocumentFragment createDocumentFragment();
62 
63 
69  XElement createElement([in] string tagName) raises (DOMException);
70 
71 
84  XElement createElementNS([in] string namespaceURI, [in] string qualifiedName) raises (DOMException);
85 
94  XEntityReference createEntityReference([in] string name) raises (DOMException);
95 
103  XProcessingInstruction createProcessingInstruction(
104  [in] string target, [in] string data) raises (DOMException);
105 
109  XText createTextNode([in] string data);
110 
115  XDocumentType getDoctype();
116 
121  XElement getDocumentElement();
122 
126  XElement getElementById([in] string elementId);
127 
133  XNodeList getElementsByTagName([in] string tagname);
134 
140  XNodeList getElementsByTagNameNS([in] string namespaceURI, [in] string localName);
141 
145  XDOMImplementation getImplementation();
146 
152  XNode importNode([in] XNode importedNode, [in] boolean deep) raises (DOMException);
153 };
154 };};};};};
155 
156 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: XDocumentType.idl:22
Definition: XAttr.idl:24
The primary dom datatype.
Definition: XNode.idl:60
Definition: Ambiguous.idl:20
Definition: XEntityReference.idl:22
Definition: XNodeList.idl:25
Definition: XDocumentFragment.idl:22
Definition: XProcessingInstruction.idl:22
Definition: XCDATASection.idl:22
Definition: XText.idl:22
Definition: XComment.idl:23
Definition: XDOMImplementation.idl:26
Definition: XDocument.idl:22
Definition: XElement.idl:22
encapsulates the details of an XML parse error or warning.
Definition: DOMException.idl:27