## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XalanICUMessageLoader.hpp

Go to the documentation of this file.

    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(XALANICUMESSAGELOADER_HEADER_GUARD_1357924680)
    00017 #define ICUMSGLOADER_HEADER_GUARD_1357924680
    00018
    00019 #if defined (XALAN_ICU_MSG_LOADER)
    00020
    00021 // Base include file.  Must be first.
    00022 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
    00023
    00024 #include <xalanc/XalanDOM/XalanDOMString.hpp>
    00025
    00026 #include <xalanc/PlatformSupport/XalanMessageLoader.hpp>
    00027
    00028 #include <xercesc/util/XMLUni.hpp>
    00029
    00030
    00031 #include <unicode/ures.h>
    00032
    00033
    00034 XALAN_CPP_NAMESPACE_BEGIN
    00035
    00036
    00037 class XALAN_PLATFORMSUPPORT_EXPORT XalanICUMessageLoader : public XalanMessageLoader
    00038
    00039 {
    00040 public:
    00041
    00042     XalanICUMessageLoader(MemoryManagerType& theManager);
    00043
    00044     virtual
    00045     ~XalanICUMessageLoader();
    00046
    00047 protected:
    00048     // -----------------------------------------------------------------------
    00049     //  Implementation of the virtual message loader API
    00050     // -----------------------------------------------------------------------
    00051     virtual bool loadMsg
    00052     (
    00053         XalanMessages::Codes    msgToLoad
    00054         ,       XalanDOMChar*   toFill
    00055         , unsigned int            maxChars
    00056     );
    00057
    00058 private:
    00059
    00060     XalanICUMessageLoader(const XalanICUMessageLoader&);
    00061
    00062     XalanICUMessageLoader&
    00063     operator=(const XalanICUMessageLoader&);
    00064
    00065     // -----------------------------------------------------------------------
    00066     //  Private data members
    00067     //
    00068     //  fLocaleBundle
    00069     //      pointer to the required locale specific resource bundle,
    00070     //           or to the default locale resrouce bundle in case the required
    00071     //              locale specific resource bundle unavailable.
    00072     //
    00073      // -----------------------------------------------------------------------
    00074     UResourceBundle*        m_localeBundle;
    00075     UResourceBundle*        m_domainBundle;
    00076
    00077     const XalanDOMString    m_unknownMessage;
    00078 };
    00079
    00080
    00081
    00082
    00083 XALAN_CPP_NAMESPACE_END
    00084
    00085 #endif //  defined (XALAN_ICU_MSG_LOADER)
    00086
    00087 #endif  // XALANICUMESSAGELOADER_HEADER_GUARD_1357924680

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.