LibreOffice
LibreOffice 6.4 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 #ifndef __com_sun_star_xml_XPath_XXPathAPI_idl__
21 #define __com_sun_star_xml_XPath_XXPathAPI_idl__
22 
29 
30 
31 module com { module sun { module star { module xml { module xpath {
32 
33 
35 {
36 
37  void registerNS(
38  [in] string prefix,
39  [in] string url);
40 
42  [in] string prefix,
43  [in] string url);
44 
45  void registerExtension( [in] string serviceName );
48 
66  [in] com::sun::star::xml::dom::XNode contextNode,
67  [in] string expr)
69 
90  [in] com::sun::star::xml::dom::XNode contextNode,
91  [in] string expr,
92  [in] com::sun::star::xml::dom::XNode namespaceNode)
94 
112  [in] com::sun::star::xml::dom::XNode contextNode,
113  [in] string expr)
115 
136  [in] com::sun::star::xml::dom::XNode contextNode,
137  [in] string expr,
138  [in] com::sun::star::xml::dom::XNode namespaceNode)
140 
156  [in] com::sun::star::xml::dom::XNode contextNode,
157  [in] string expr)
159 
178  [in] com::sun::star::xml::dom::XNode contextNode,
179  [in] string expr,
180  [in] com::sun::star::xml::dom::XNode namespaceNode)
182 
183 };
184 
185 }; }; }; }; };
186 
187 #endif
188 
189 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XInterface.idl
com::sun::star::xml::xpath::XXPathAPI::unregisterNS
void unregisterNS([in] string prefix, [in] string url)
com::sun::star::xml::xpath::XXPathAPI::eval
XXPathObject eval([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr)
Evaluate XPath Expression.
com::sun::star::xml::xpath::XXPathAPI::selectSingleNodeNS
com::sun::star::xml::dom::XNode selectSingleNodeNS([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr, [in] com::sun::star::xml::dom::XNode namespaceNode)
Evaluate an XPath expression to select a single node.
com::sun::star::xml::xpath::XXPathAPI::registerExtensionInstance
void registerExtensionInstance([in] com::sun::star::xml::xpath::XXPathExtension aExtension)
XNode.idl
XNodeList.idl
XXPathExtension.idl
com::sun::star::xml::xpath::XXPathAPI::selectNodeListNS
com::sun::star::xml::dom::XNodeList selectNodeListNS([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr, [in] com::sun::star::xml::dom::XNode namespaceNode)
Evaluate an XPath expression to select a list of nodes.
XXPathObject.idl
com::sun::star::xml::dom::XNode
The primary dom datatype.
Definition: XNode.idl:69
com::sun::star::xml::xpath::XXPathAPI::evalNS
XXPathObject evalNS([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr, [in] com::sun::star::xml::dom::XNode namespaceNode)
Evaluate XPath Expression.
com::sun::star::xml::xpath::XXPathAPI::registerNS
void registerNS([in] string prefix, [in] string url)
com::sun::star::xml::xpath::XPathException
Exception that may occur when evaluating an XPath expression.
Definition: XPathException.idl:35
com::sun::star::xml::xpath::XXPathAPI::selectNodeList
com::sun::star::xml::dom::XNodeList selectNodeList([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr)
Evaluate an XPath expression to select a list of nodes.
com::sun::star::xml::xpath::XXPathAPI::registerExtension
void registerExtension([in] string serviceName)
com::sun::star::xml::xpath::XXPathAPI::selectSingleNode
com::sun::star::xml::dom::XNode selectSingleNode([in] com::sun::star::xml::dom::XNode contextNode, [in] string expr)
Evaluate an XPath expression to select a single node.
com::sun::star::xml::xpath::XXPathObject
Definition: XXPathObject.idl:32
com
Definition: Ambiguous.idl:22
com::sun::star::xml::xpath::XXPathAPI
Definition: XXPathAPI.idl:35
com::sun::star::xml::xpath::XXPathExtension
Definition: XXPathExtension.idl:29
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
XPathException.idl