SourceForge.net Logo
XQillaNSResolver.hpp
Go to the documentation of this file.
1/*
2 * Copyright (c) 2001, 2008,
3 * DecisionSoft Limited. All rights reserved.
4 * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
5 *
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20#ifndef __XQILLANSRESOLVER_HPP
21#define __XQILLANSRESOLVER_HPP
22
23#include <xqilla/framework/XQillaExport.hpp>
25
30
32
38class XQILLA_API XQillaNSResolver : public XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver
39{
40public:
41
42 // -----------------------------------------------------------------------
43 // Non-standard extension
44 // -----------------------------------------------------------------------
47
56 virtual void addNamespaceBinding(const XMLCh* prefix, const XMLCh* uri) = 0;
57
64 virtual const XMLCh* lookupNamespaceURI(const XMLCh* prefix) const = 0;
65
76 virtual const XMLCh* lookupPrefix(const XMLCh* uri) const = 0;
77
79
88 virtual void release() = 0;
90
91protected:
92 // -----------------------------------------------------------------------
93 // Hidden constructors
94 // -----------------------------------------------------------------------
99};//XQillaNSResolver
100
101
102#endif //__XQILLANSRESOLVER_HPP
Definition XPath2MemoryManager.hpp:46
The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional...
Definition XQillaNSResolver.hpp:39
virtual void addNamespaceBinding(const XMLCh *prefix, const XMLCh *uri)=0
Non-standard extension.
virtual void release()=0
Called to indicate that this object (and its associated children) is no longer in use and that the im...
XQillaNSResolver()
Definition XQillaNSResolver.hpp:97
virtual const XMLCh * lookupPrefix(const XMLCh *uri) const =0
Non-standard extension.
virtual const XMLCh * lookupNamespaceURI(const XMLCh *prefix) const =0
Look up the namespace URI associated to the given namespace prefix.
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition DOMNode.hpp:139
Definition StDOMNode.hpp:35