LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
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
21module com { module sun { module star { module xml { module dom {
22
23interface XDocument;
24
61{
62
76 XNode appendChild([in] XNode newChild) raises (DOMException);
77
88 XNode cloneNode([in] boolean deep);
89
95
100
105
110
114 string getLocalName();
115
120
125
129 string getNodeName();
130
135
143 string getNodeValue() raises (DOMException);
144
149
154
158 string getPrefix();
159
164
168 boolean hasAttributes();
169
173 boolean hasChildNodes();
174
187 XNode insertBefore([in] XNode newChild, [in] XNode refChild) raises (DOMException);
188
193 boolean isSupported([in] string feature, [in] string ver);
194
202 void normalize();
203
211 XNode removeChild([in] XNode oldChild) raises (DOMException);
212
227 XNode replaceChild([in] XNode newChild, [in] XNode oldChild) raises (DOMException);
228
236 void setNodeValue([in] string nodeValue) raises (DOMException);
237
252 void setPrefix([in] string prefix) raises (DOMException);
253
254};
255
256}; }; }; }; };
257
258/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
encapsulates the details of an XML parse error or warning.
Definition DOMException.idl:28
base interface of all UNO interfaces
Definition XInterface.idl:46
Definition XDocument.idl:23
Definition XNamedNodeMap.idl:25
Definition XNodeList.idl:26
The primary dom datatype.
Definition XNode.idl:61
XNode getPreviousSibling()
The node immediately preceding this node.
XNode cloneNode([in] boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
XNode removeChild([in] XNode oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
XNamedNodeMap getAttributes()
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
void setNodeValue([in] string nodeValue)
The value of this node, depending on its type; see the table above.
string getNodeValue()
The value of this node, depending on its type; see the table above.
string getPrefix()
The namespace prefix of this node, or null if it is unspecified.
string getLocalName()
Returns the local part of the qualified name of this node.
boolean isSupported([in] string feature, [in] string ver)
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...
string getNamespaceURI()
The namespace URI of this node, or null if it is unspecified.
XNode appendChild([in] XNode newChild)
Adds the node newChild to the end of the list of children of this node.
boolean hasAttributes()
Returns whether this node (if it is an element) has any attributes.
boolean hasChildNodes()
Returns whether this node has any children.
XNodeList getChildNodes()
A NodeList that contains all children of this node.
XNode getParentNode()
The parent of this node.
void setPrefix([in] string prefix)
The namespace prefix of this node, or null if it is unspecified.
string getNodeName()
The name of this node, depending on its type; see the table above.
XNode getFirstChild()
The first child of this node.
NodeType getNodeType()
A code representing the type of the underlying object, as defined above.
void normalize()
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes...
XNode insertBefore([in] XNode newChild, [in] XNode refChild)
Inserts the node newChild before the existing child node refChild.
XNode getLastChild()
The last child of this node.
XNode getNextSibling()
The node immediately following this node.
XNode replaceChild([in] XNode newChild, [in] XNode oldChild)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
XDocument getOwnerDocument()
The Document object associated with this node.
NodeType
Definition NodeType.idl:23
Definition Ambiguous.idl:20