#include <XalanOutputStreamPrintWriter.hpp>
Inherits PrintWriter.
|
| | XalanOutputStreamPrintWriter (XalanOutputStream &theOutputStream, bool fAutoFlush=false) |
| | Construct a XalanOutputStreamPrintWriter instance. More...
|
| |
| virtual | ~XalanOutputStreamPrintWriter () |
| |
| virtual bool | checkError () const |
| | Flush the stream, then check the error status. More...
|
| |
| virtual void | close () |
| | Close the stream. More...
|
| |
| virtual void | flush () |
| | Flush the stream. More...
|
| |
| virtual XalanOutputStream * | getStream () |
| | Get the stream associated with the writer... More...
|
| |
| virtual const XalanOutputStream * | getStream () const |
| | Get the stream associated with the writer... More...
|
| |
| virtual void | write (const char *s, size_t theOffset=0, size_t theLength=npos) |
| | Writes a string. More...
|
| |
| virtual void | write (const XalanDOMChar *s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| | Writes a string. More...
|
| |
| virtual void | write (XalanDOMChar c) |
| | Writes a character. More...
|
| |
| virtual void | write (const XalanDOMString &s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| | Writes a string. More...
|
| |
| virtual void | print (bool b) |
| |
| virtual void | print (char c) |
| |
| virtual void | print (const char *s, size_t theLength=npos) |
| |
| virtual void | print (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| |
| virtual void | print (double d) |
| |
| virtual void | print (int i) |
| |
| virtual void | print (long l) |
| |
| virtual void | print (const XalanDOMString &s) |
| |
| virtual void | println () |
| |
| virtual void | println (bool x) |
| |
| virtual void | println (char x) |
| |
| virtual void | println (const char *s, size_t theLength=npos) |
| |
| virtual void | println (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| |
| virtual void | println (double x) |
| |
| virtual void | println (int x) |
| |
| virtual void | println (long x) |
| |
| virtual void | println (const XalanDOMString &s) |
| |
| | PrintWriter (bool fAutoFlush=false, MemoryManager &theManager XALAN_DEFAULT_MEMMGR) |
| | Constructor. More...
|
| |
| MemoryManager & | getMemoryManager () |
| |
| virtual | ~PrintWriter () |
| |
| | Writer () |
| |
| virtual | ~Writer () |
| |
| XalanOutputStreamPrintWriter::XalanOutputStreamPrintWriter |
( |
XalanOutputStream & |
theOutputStream, |
|
|
bool |
fAutoFlush = false |
|
) |
| |
Construct a XalanOutputStreamPrintWriter instance.
- Parameters
-
| theOutputStream | output stream to write |
| fAutoFlush | if true, the output will not be buffered |
| virtual XalanOutputStreamPrintWriter::~XalanOutputStreamPrintWriter |
( |
| ) |
|
|
virtual |
| virtual bool XalanOutputStreamPrintWriter::checkError |
( |
| ) |
const |
|
virtual |
Flush the stream, then check the error status.
- Returns
- true if no errors
Implements PrintWriter.
| virtual void XalanOutputStreamPrintWriter::close |
( |
| ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::flush |
( |
| ) |
|
|
virtual |
Get the stream associated with the writer...
Reimplemented from Writer.
Get the stream associated with the writer...
Reimplemented from Writer.
| virtual void XalanOutputStreamPrintWriter::print |
( |
bool |
b | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
char |
c | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
double |
d | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
int |
i | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
long |
l | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::print |
( |
const XalanDOMString & |
s | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
| ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
bool |
x | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
char |
x | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
double |
x | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
int |
x | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
long |
x | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::println |
( |
const XalanDOMString & |
s | ) |
|
|
virtual |
| virtual void XalanOutputStreamPrintWriter::write |
( |
const char * |
s, |
|
|
size_t |
theOffset = 0, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
virtual |
Writes a string.
- Parameters
-
| s | string to write |
| theOffset | starting offset in string to begin writing, default 0 |
| theLength | number of characters to write. If the length is npos, then the array is assumed to be null-terminated. |
Implements PrintWriter.
Writes a string.
- Parameters
-
| s | string to write |
| theOffset | starting offset in string to begin writing, default 0 |
| theLength | number of characters to write. If the length is XalanDOMString::npos, then the array is assumed to be null-terminated. |
Implements PrintWriter.
| virtual void XalanOutputStreamPrintWriter::write |
( |
XalanDOMChar |
c | ) |
|
|
virtual |
Writes a string.
- Parameters
-
| s | string to write |
| theOffset | starting offset in string to begin writing, default 0 |
| theLength | number of characters to write. If the length is XalanDOMString::npos, then the entire string is printed. |
Implements PrintWriter.
The documentation for this class was generated from the following file: