00001 #ifndef DOMXPathNSResolver_HEADER_GUARD_00002 #define DOMXPathNSResolver_HEADER_GUARD_00003
00004 /*00005 * Licensed to the Apache Software Foundation (ASF) under one or more00006 * contributor license agreements. See the NOTICE file distributed with00007 * this work for additional information regarding copyright ownership.00008 * The ASF licenses this file to You under the Apache License, Version 2.000009 * (the "License"); you may not use this file except in compliance with00010 * the License. You may obtain a copy of the License at00011 * 00012 * http://www.apache.org/licenses/LICENSE-2.000013 * 00014 * Unless required by applicable law or agreed to in writing, software00015 * distributed under the License is distributed on an "AS IS" BASIS,00016 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.00017 * See the License for the specific language governing permissions and00018 * limitations under the License.00019 */00020
00021 #include <xercesc/util/XercesDefs.hpp>00022
00023 XERCES_CPP_NAMESPACE_BEGIN00032class DOMXPathNSResolver00033 {
00034
00035 protected:
00036 // -----------------------------------------------------------------------00037 // Hidden constructors00038 // -----------------------------------------------------------------------00041DOMXPathNSResolver() {};
00043
00044 private:
00045 // -----------------------------------------------------------------------00046 // Unimplemented constructors and operators00047 // -----------------------------------------------------------------------00050 DOMXPathNSResolver(constDOMXPathNSResolver &);
00051 DOMXPathNSResolver& operator = (constDOMXPathNSResolver&);
00053
00054 public:
00055 // -----------------------------------------------------------------------00056 // All constructors are hidden, just the destructor is available00057 // -----------------------------------------------------------------------00064virtual ~DOMXPathNSResolver() {};
00066
00067 // -----------------------------------------------------------------------00068 // Virtual DOMDocument interface00069 // -----------------------------------------------------------------------00072
00079 virtualconst XMLCh* lookupNamespaceURI(const XMLCh* prefix) const = 0;
00081
00082
00083 // -----------------------------------------------------------------------00084 // Non-standard extension00085 // -----------------------------------------------------------------------00088
00099 virtualconst XMLCh* lookupPrefix(const XMLCh* URI) const = 0;
00100
00101
00103 };
00104
00105 XERCES_CPP_NAMESPACE_END00106
00107 #endif00108