LibreOffice
LibreOffice 7.6 SDK API Reference
com
sun
star
xml
xpath
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
24
interface
XXPathAPI
:
com::sun::star::uno::XInterface
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(
37
[in]
com::sun::star::xml::xpath::XXPathExtension
aExtension);
38
55
XXPathObject
eval(
56
[in]
com::sun::star::xml::dom::XNode
contextNode,
57
[in]
string
expr)
58
raises(
com::sun::star::xml::xpath::XPathException
);
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)
83
raises(
com::sun::star::xml::xpath::XPathException
);
84
101
com::sun::star::xml::dom::XNodeList
selectNodeList(
102
[in]
com::sun::star::xml::dom::XNode
contextNode,
103
[in]
string
expr)
104
raises(
com::sun::star::xml::xpath::XPathException
);
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)
129
raises(
com::sun::star::xml::xpath::XPathException
);
130
145
com::sun::star::xml::dom::XNode
selectSingleNode(
146
[in]
com::sun::star::xml::dom::XNode
contextNode,
147
[in]
string
expr)
148
raises(
com::sun::star::xml::xpath::XPathException
);
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)
171
raises(
com::sun::star::xml::xpath::XPathException
);
172
173
};
174
175
}; }; }; }; };
176
177
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::xml::dom::XNode
The primary dom datatype.
Definition:
XNode.idl:60
com::sun::star::xml::xpath::XPathException
Exception that may occur when evaluating an XPath expression.
Definition:
XPathException.idl:29
com::sun::star::xml::xpath::XXPathObject
Definition:
XXPathObject.idl:23
com
Definition:
Ambiguous.idl:20
com::sun::star::xml::xpath::XXPathAPI
Definition:
XXPathAPI.idl:24
com::sun::star::xml::xpath::XXPathExtension
Definition:
XXPathExtension.idl:23
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition:
XInterface.idl:45
com::sun::star::xml::dom::XNodeList
Definition:
XNodeList.idl:25
Generated by
1.8.17