00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 00019 #if !defined(NLSHANDLER_MSGCREATOR_1357924680) 00020 #define NLSHANDLER_MSGCREATOR_1357924680 00021 00022 #include "xalanc/Include/PlatformDefinitions.hpp" 00023 00024 #include "ICUResHandler.hpp" 00025 00026 00027 00028 XALAN_CPP_NAMESPACE_BEGIN 00029 00030 00031 00032 XERCES_CPP_NAMESPACE_USE 00033 00034 00035 00036 class NLSHandler : public ICUResHandler 00037 { 00038 public: 00039 00040 NLSHandler( 00041 const char* fileName, 00042 const char* indexFileName, 00043 bool createUnicode = false); 00044 00045 virtual 00046 ~NLSHandler(){} 00047 00048 virtual void 00049 createHeaderForDataFile(); 00050 00051 virtual void 00052 createBottomForDataFile(); 00053 00054 virtual void 00055 printBeginOfDataLine(); 00056 00057 virtual void 00058 printEndOfDataLine(); 00059 00060 void 00061 characters( 00062 const XMLCh* const chars, 00063 const XalanSize_t length); 00064 00065 void 00066 startDocument(); 00067 00068 protected: 00069 00070 // ASCII version of print 00071 void 00072 printToDataFileAsASCII(const char* sArrayOfStrings[]); 00073 00074 private: 00075 00076 int m_runningNumber; 00077 00078 const bool m_createUnicode; 00079 00080 00081 // Not implemented... 00082 NLSHandler& 00083 operator=(const NLSHandler&); 00084 00085 NLSHandler(const NLSHandler&); 00086 00087 bool 00088 operator==(const NLSHandler&) const; 00089 }; 00090 00091 00092 00093 XALAN_CPP_NAMESPACE_END 00094 00095 00096 00097 #endif //NLSHANDLER_MSGCREATOR_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|