LibreOffice
LibreOffice 6.4 SDK API Reference
XNode.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_XNode_idl__
21 #define __com_sun_star_xml_dom_XNode_idl__
22 
27 
28 
29 module com { module sun { module star { module xml { module dom {
30 
31 interface XDocument;
32 
69 {
70 
84  XNode appendChild([in] XNode newChild) raises (DOMException);
85 
96  XNode cloneNode([in] boolean deep);
97 
103 
108 
113 
118 
122  string getLocalName();
123 
127  string getNamespaceURI();
128 
133 
137  string getNodeName();
138 
143 
151  string getNodeValue() raises (DOMException);
152 
156  XDocument getOwnerDocument();
157 
161  XNode getParentNode();
162 
166  string getPrefix();
167 
171  XNode getPreviousSibling();
172 
176  boolean hasAttributes();
177 
181  boolean hasChildNodes();
182 
195  XNode insertBefore([in] XNode newChild, [in] XNode refChild) raises (DOMException);
196 
201  boolean isSupported([in] string feature, [in] string ver);
202 
210  void normalize();
211 
219  XNode removeChild([in] XNode oldChild) raises (DOMException);
220 
235  XNode replaceChild([in] XNode newChild, [in] XNode oldChild) raises (DOMException);
236 
244  void setNodeValue([in] string nodeValue) raises (DOMException);
245 
260  void setPrefix([in] string prefix) raises (DOMException);
261 
262 };
263 
264 }; }; }; }; };
265 
266 #endif
267 
268 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XInterface.idl
com::sun::star::xml::dom::XNode::getNextSibling
XNode getNextSibling()
The node immediately following this node.
com::sun::star::xml::dom::XNode::getNodeValue
string getNodeValue()
The value of this node, depending on its type; see the table above.
XNodeList.idl
com::sun::star::xml::dom::XNode::getFirstChild
XNode getFirstChild()
The first child of this node.
com::sun::star::xml::dom::XNode
The primary dom datatype.
Definition: XNode.idl:69
com::sun::star::xml::dom::NodeType
NodeType
Definition: NodeType.idl:26
com::sun::star::xml::dom::XNode::cloneNode
XNode cloneNode([in] boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
com::sun::star::xml::dom::DOMException
encapsulates the details of an XML parse error or warning.
Definition: DOMException.idl:34
com::sun::star::xml::dom::XNode::getLocalName
string getLocalName()
Returns the local part of the qualified name of this node.
com::sun::star::xml::dom::XNode::getNodeType
NodeType getNodeType()
A code representing the type of the underlying object, as defined above.
XNamedNodeMap.idl
com::sun::star::xml::dom::XNode::appendChild
XNode appendChild([in] XNode newChild)
Adds the node newChild to the end of the list of children of this node.
com::sun::star::xml::dom::XNode::getAttributes
XNamedNodeMap getAttributes()
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
com::sun::star::xml::dom::XDocument
Definition: XDocument.idl:36
com::sun::star::xml::dom::XNode::getNamespaceURI
string getNamespaceURI()
The namespace URI of this node, or null if it is unspecified.
com
Definition: Ambiguous.idl:22
NodeType.idl
com::sun::star::xml::dom::XNode::getNodeName
string getNodeName()
The name of this node, depending on its type; see the table above.
com::sun::star::xml::dom::XNode::getLastChild
XNode getLastChild()
The last child of this node.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::xml::dom::XNodeList
Definition: XNodeList.idl:31
com::sun::star::xml::dom::XNamedNodeMap
Definition: XNamedNodeMap.idl:31
com::sun::star::xml::dom::XNode::getChildNodes
XNodeList getChildNodes()
A NodeList that contains all children of this node.