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, 2018 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 
26 XERCES_CPP_NAMESPACE_BEGIN
27 class XercesDefs;
28 class DOMNode;
29 XERCES_CPP_NAMESPACE_END
30 
32 
38 class XQILLA_API XQillaNSResolver : public XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver
39 {
40 public:
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 
91 protected:
92  // -----------------------------------------------------------------------
93  // Hidden constructors
94  // -----------------------------------------------------------------------
99 };//XQillaNSResolver
100 
101 
102 #endif //__XQILLANSRESOLVER_HPP
Definition: XPath2MemoryManager.hpp:45
The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional...
Definition: XQillaNSResolver.hpp:38
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139
XQillaNSResolver()
Definition: XQillaNSResolver.hpp:97