Xerces-C++: DOMXPathNSResolver.hpp Source File

| API Docs for SAX and DOM |
| Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages # DOMXPathNSResolver.hpp Go to the documentation of this file.
    00001 #ifndef DOMXPathNSResolver_HEADER_GUARD_
    00002 #define DOMXPathNSResolver_HEADER_GUARD_
    00003
    00004 /*
    00005  * Copyright 2001-2004 The Apache Software Foundation.
    00006  *
    00007  * Licensed under the Apache License, Version 2.0 (the "License");
    00008  * you may not use this file except in compliance with the License.
    00009  * You may obtain a copy of the License at
    00010  *
    00011  *      http://www.apache.org/licenses/LICENSE-2.0
    00012  *
    00013  * Unless required by applicable law or agreed to in writing, software
    00014  * distributed under the License is distributed on an "AS IS" BASIS,
    00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00016  * See the License for the specific language governing permissions and
    00017  * limitations under the License.
    00018  */
    00019
    00020 #include <xercesc/util/XercesDefs.hpp>
    00021
    00022 XERCES_CPP_NAMESPACE_BEGIN
    00031 class  DOMXPathNSResolver
    00032 {
    00033
    00034 protected:
    00035     // -----------------------------------------------------------------------
    00036     //  Hidden constructors
    00037     // -----------------------------------------------------------------------
    00040     DOMXPathNSResolver() {};
    00042
    00043 private:
    00044     // -----------------------------------------------------------------------
    00045     // Unimplemented constructors and operators
    00046     // -----------------------------------------------------------------------
    00049     DOMXPathNSResolver(const DOMXPathNSResolver &);
    00050     DOMXPathNSResolver& operator = (const  DOMXPathNSResolver&);
    00052
    00053 public:
    00054     // -----------------------------------------------------------------------
    00055     //  All constructors are hidden, just the destructor is available
    00056     // -----------------------------------------------------------------------
    00063     virtual ~DOMXPathNSResolver() {};
    00065
    00066     // -----------------------------------------------------------------------
    00067     // Virtual DOMDocument interface
    00068     // -----------------------------------------------------------------------
    00071
    00078     virtual const XMLCh*          lookupNamespaceURI(const XMLCh* prefix) const = 0;
    00080
    00081
    00082     // -----------------------------------------------------------------------
    00083     // Non-standard extension
    00084     // -----------------------------------------------------------------------
    00087
    00098     virtual const XMLCh*          lookupPrefix(const XMLCh* URI) const = 0;
    00099
    00100
    00102 };
    00103
    00104 XERCES_CPP_NAMESPACE_END
    00105
    00106 #endif
    00107

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.