Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


NullPrintWriter.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 #if !defined(NULLPRINTWRITER_HEADER_GUARD_1357924680)
19 #define NULLPRINTWRITER_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
28 // Base class header file.
30 
31 
32 
33 XALAN_CPP_NAMESPACE_BEGIN
34 
35 
36 
38 {
39 public:
40 
41  explicit
42  NullPrintWriter(MemoryManager& theManager);
43 
44  virtual
45  ~NullPrintWriter();
46 
47  // Functions inherited from PrintWriter...
48 
49  virtual bool
50  checkError() const;
51 
52  virtual void
53  close();
54 
55  virtual void
56  flush();
57 
58  virtual void
59  write(
60  const char* s,
61  size_t theOffset = 0,
62  size_t theLength = npos);
63 
64  virtual void
65  write(
66  const XalanDOMChar* s,
67  XalanDOMString::size_type theOffset = 0,
69 
70  virtual void
71  write(XalanDOMChar c);
72 
73  virtual void
74  write(
75  const XalanDOMString& s,
76  XalanDOMString::size_type theOffset = 0,
78 
79 #if !defined(XALAN_BOOL_AS_INT)
80  virtual void
81  print(bool b);
82 #endif
83 
84  virtual void
85  print(char c);
86 
87  virtual void
88  print(
89  const char* s,
90  size_t theLength = npos);
91 
92  virtual void
93  print(
94  const XalanDOMChar* s,
96 
97  virtual void
98  print(double d);
99 
100  virtual void
101  print(int i);
102 
103  virtual void
104  print(long l);
105 
106  virtual void
107  print(const XalanDOMString& s);
108 
109  virtual void
110  println();
111 
112 #if !defined(XALAN_BOOL_AS_INT)
113  virtual void
114  println(bool x);
115 #endif
116 
117  virtual void
118  println(char x);
119 
120  virtual void
121  println(
122  const char* s,
123  size_t theLength = npos);
124 
125  virtual void
126  println(
127  const XalanDOMChar* s,
129 
130  virtual void
131  println(double x);
132 
133  virtual void
134  println(int x);
135 
136  virtual void
137  println(long x);
138 
139  virtual void
140  println(const XalanDOMString& s);
141 
142 private:
143 
144  // Not implemented
146 
148  operator=(const NullPrintWriter&);
149 
150  bool
151  operator==(const NullPrintWriter&);
152 };
153 
154 
155 
156 XALAN_CPP_NAMESPACE_END
157 
158 
159 
160 #endif // NULLPRINTWRITER_HEADER_GUARD_1357924680
virtual void write(const char *s, size_t theOffset=0, size_t theLength=npos)=0
Writes a string.
virtual void close()=0
Close the stream.
XalanSize_t size_type
virtual void println()=0
virtual void flush()=0
Flush the stream.
virtual void print(bool b)=0
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
#define XALAN_PLATFORMSUPPORT_EXPORT
virtual bool checkError() const =0
Flush the stream, then check the error status.

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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo