Xalan-C++ API Reference  1.12.0
ICUResHandler.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 #if !defined(ICURESHANDLER_1357924680)
20 #define ICURESHANDLER_1357924680
21 
22 
23 
25 
26 #include "SAX2Handler.hpp"
27 
28 
29 
30 namespace XALAN_CPP_NAMESPACE {
31 
32 
33 
34 class ICUResHandler : public SAX2Handler
35 {
36 public:
37 
38  // -----------------------------------------------------------------------
39  // Constructors
40  // -----------------------------------------------------------------------
42  const char* fileName,
43  const char* indexFileName);
44 
45  virtual
47 
48  // -----------------------------------------------------------------------
49  // Implementations of the SAX DocumentHandler interface
50  // -----------------------------------------------------------------------
51  virtual void
53 
54  virtual void
56  const XMLCh* const,
57  const XMLCh* const localname,
58  const XMLCh* const);
59 
60  virtual void
62 
63  virtual void
65  const XMLCh* const uri,
66  const XMLCh* const localname,
67  const XMLCh* const qname,
68  const Attributes& attributes);
69 
70  virtual void
72  const XMLCh* const chars,
73  const XalanSize_t length);
74 
75 protected:
76 
77  virtual void
79 
80  virtual void
82 
83  virtual void
85 
86  virtual void
88 
89  void
90  printToDataFile(const char* sArrayOfStrings[]);
91 
92 
94 
95 private:
96 
97  // Not implemented...
99  operator=(const ICUResHandler&);
100 
102 
103  bool
104  operator==(const ICUResHandler&) const;
105 };
106 
107 
108 
109 }
110 
111 
112 
113 #endif // ICURESHANDLER_1357924680
xalanc::ICUResHandler::endElement
virtual void endElement(const XMLCh *const, const XMLCh *const localname, const XMLCh *const)
xalanc::ICUResHandler::printEndOfDataLine
virtual void printEndOfDataLine()
xalanc::ICUResHandler::printBeginOfDataLine
virtual void printBeginOfDataLine()
xalanc::ICUResHandler::startDocument
virtual void startDocument()
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::ICUResHandler::createBottomForDataFile
virtual void createBottomForDataFile()
xalanc::ICUResHandler::ICUResHandler
ICUResHandler(const char *fileName, const char *indexFileName)
xalanc::ICUResHandler::characters
virtual void characters(const XMLCh *const chars, const XalanSize_t length)
xalanc::ICUResHandler
Definition: ICUResHandler.hpp:35
xalanc::ICUResHandler::m_stream
MsgFileOutputStream m_stream
Definition: ICUResHandler.hpp:93
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
xalanc::ICUResHandler::startElement
virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attributes)
xalanc::ICUResHandler::createHeaderForDataFile
virtual void createHeaderForDataFile()
xalanc::ICUResHandler::printToDataFile
void printToDataFile(const char *sArrayOfStrings[])
xalanc::ICUResHandler::~ICUResHandler
virtual ~ICUResHandler()
SAX2Handler.hpp
xalanc::length
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
Definition: DOMStringHelper.hpp:235
xalanc::ICUResHandler::endDocument
virtual void endDocument()
PlatformDefinitions.hpp
xalanc::MsgFileOutputStream
Definition: MsgFileOutputStream.hpp:42
xalanc::SAX2Handler
Definition: SAX2Handler.hpp:116