Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

FormatterStringLengthCounter.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(FORMATTERSTRINGLENGTHCOUNTER_HEADER_GUARD_1357924680)
17 #define FORMATTERSTRINGLENGTHCOUNTER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file.
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
41 {
42 public:
43 
44  typedef unsigned long size_type;
45 
49  explicit
51 
52  virtual
54 
55 
56  size_type
57  getCount() const
58  {
59  return m_count;
60  }
61 
62  // These methods are inherited from FormatterListener ...
63 
64  virtual void
65  setDocumentLocator(const LocatorType* const locator);
66 
67  virtual void
68  startDocument();
69 
70  virtual void
71  endDocument();
72 
73  virtual void
75  const XMLCh* const name,
76  AttributeListType& attrs);
77 
78  virtual void
79  endElement(const XMLCh* const name);
80 
81  virtual void
82  characters(
83  const XMLCh* const chars,
84  const unsigned int length);
85 
86  virtual void
88  const XMLCh* const chars,
89  const unsigned int length);
90 
91  virtual void
92  entityReference(const XMLCh* const name);
93 
94  virtual void
96  const XMLCh* const chars,
97  const unsigned int length);
98 
99  virtual void
101  const XMLCh* const target,
102  const XMLCh* const data);
103 
104  virtual void
105  resetDocument();
106 
107  virtual void
108  comment(const XMLCh* const data);
109 
110  virtual void
111  cdata(
112  const XMLCh* const ch,
113  const unsigned int length);
114 
115 private:
116 
117  // These are not implemented.
119 
121  operator=(const FormatterStringLengthCounter&);
122 
123  bool
125 
126  // Data members...
127  size_type m_count;
128 };
129 
130 
131 
132 XALAN_CPP_NAMESPACE_END
133 
134 
135 
136 #endif // FORMATTERSTRINGLENGTHCOUNTER_HEADER_GUARD_1357924680

Interpreting class diagrams

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

dot

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

Apache Logo