00001 /*00002 * Copyright 1999-2004 The Apache Software Foundation.00003 *00004 * Licensed under the Apache License, Version 2.0 (the "License");00005 * you may not use this file except in compliance with the License.00006 * You may obtain a copy of the License at00007 *00008 * http://www.apache.org/licenses/LICENSE-2.000009 *00010 * Unless required by applicable law or agreed to in writing, software00011 * distributed under the License is distributed on an "AS IS" BASIS,00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.00013 * See the License for the specific language governing permissions and00014 * limitations under the License.00015 */00016 #if !defined(PREFIXRESOLVER_HEADER_GUARD_1357924680)00017#define PREFIXRESOLVER_HEADER_GUARD_135792468000018
00019
00020
00021 // Base include file. Must be first.00022 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>00023
00024
00025 XALAN_CPP_NAMESPACE_BEGIN
00026
00027
00028
00029 class XalanDOMString;
00030
00031
00032
00037class XALAN_PLATFORMSUPPORT_EXPORTPrefixResolver00038 {
00039 public:
00040
00041
00042 PrefixResolver();
00043
00044 PrefixResolver(constPrefixResolver&);
00045
00046 virtual00047 ~PrefixResolver();
00048
00057 virtualconstXalanDOMString*
00058 getNamespaceForPrefix(constXalanDOMString& prefix) const = 0;
00059
00065 virtualconstXalanDOMString&
00066 getURI() const = 0;
00067 };
00068
00069
00070
00071 XALAN_CPP_NAMESPACE_END
00072
00073
00074
00075 #endif // PREFIXRESOLVER_HEADER_GUARD_1357924680