LibreOffice
LibreOffice 24.2 SDK API Reference
XXPathAPI.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 
21 module com { module sun { module star { module xml { module xpath {
22 
23 
25 {
26 
27  void registerNS(
28  [in] string prefix,
29  [in] string url);
30 
31  void unregisterNS(
32  [in] string prefix,
33  [in] string url);
34 
35  void registerExtension( [in] string serviceName );
36  void registerExtensionInstance(
38 
55  XXPathObject eval(
56  [in] com::sun::star::xml::dom::XNode contextNode,
57  [in] string expr)
59 
79  XXPathObject evalNS(
80  [in] com::sun::star::xml::dom::XNode contextNode,
81  [in] string expr,
82  [in] com::sun::star::xml::dom::XNode namespaceNode)
84 
102  [in] com::sun::star::xml::dom::XNode contextNode,
103  [in] string expr)
105 
125  com::sun::star::xml::dom::XNodeList selectNodeListNS(
126  [in] com::sun::star::xml::dom::XNode contextNode,
127  [in] string expr,
128  [in] com::sun::star::xml::dom::XNode namespaceNode)
130 
145  com::sun::star::xml::dom::XNode selectSingleNode(
146  [in] com::sun::star::xml::dom::XNode contextNode,
147  [in] string expr)
149 
167  com::sun::star::xml::dom::XNode selectSingleNodeNS(
168  [in] com::sun::star::xml::dom::XNode contextNode,
169  [in] string expr,
170  [in] com::sun::star::xml::dom::XNode namespaceNode)
172 
173 };
174 
175 }; }; }; }; };
176 
177 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Exception that may occur when evaluating an XPath expression.
Definition: XPathException.idl:29
The primary dom datatype.
Definition: XNode.idl:60
Definition: XXPathObject.idl:23
Definition: Ambiguous.idl:20
Definition: XNodeList.idl:25
Definition: XXPathAPI.idl:24
Definition: XXPathExtension.idl:23
base interface of all UNO interfaces
Definition: XInterface.idl:45