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 at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * 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 and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680) 00017 #define XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00023 00024 00025 00026 #include <xalanc/PlatformSupport/XalanDOMStringPool.hpp> 00027 00028 00029 00030 #include <xercesc/util/Mutexes.hpp> 00031 00032 00033 00034 XALAN_CPP_NAMESPACE_BEGIN 00035 00036 00037 00038 // A version of XalanDOMStringPool which is synchronized using a Xerces Mutex. 00039 class XALAN_XERCESPARSERLIAISON_EXPORT XercesLiaisonXalanDOMStringPool : public XalanDOMStringPool 00040 { 00041 public: 00042 00043 typedef XalanDOMStringPool ParentType; 00044 typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex XMLMutexType; 00045 typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock XMLMutexLockType; 00046 00047 explicit 00048 XercesLiaisonXalanDOMStringPool(); 00049 00050 virtual 00051 ~XercesLiaisonXalanDOMStringPool(); 00052 00053 // These are inherited from XalanDOMStringPool... 00054 00055 virtual void 00056 clear(); 00057 00058 virtual size_t 00059 size() const; 00060 00061 virtual const XalanDOMString& 00062 get(const XalanDOMString& theString); 00063 00064 virtual const XalanDOMString& 00065 get( 00066 const XalanDOMChar* theString, 00067 XalanDOMString::size_type theLength = XalanDOMString::npos); 00068 00069 private: 00070 00071 // Not implemented, for now... 00072 XercesLiaisonXalanDOMStringPool(const XercesLiaisonXalanDOMStringPool&); 00073 00074 XercesLiaisonXalanDOMStringPool& 00075 operator=(const XercesLiaisonXalanDOMStringPool&); 00076 00077 bool 00078 operator==(const XercesLiaisonXalanDOMStringPool&) const; 00079 00080 // Data members... 00081 mutable XMLMutexType m_mutex; 00082 }; 00083 00084 00085 00086 XALAN_CPP_NAMESPACE_END 00087 00088 00089 00090 #endif // !defined(XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.8 |
|