Xalan-C++ API Reference
1.12.0
|
#include <xalanc/PlatformSupport/Writer.hpp>
Public Member Functions | |
Writer () | |
virtual | ~Writer () |
virtual void | close ()=0 |
Close the stream. More... | |
virtual void | flush ()=0 |
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)=0 |
Writes a string. More... | |
virtual void | write (const XalanDOMChar *s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
Writes a string. More... | |
virtual void | write (XalanDOMChar c)=0 |
Writes a character. More... | |
virtual void | write (const XalanDOMString &s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
Writes a string. More... | |
Static Public Attributes | |
static const size_t | npos |
Definition at line 44 of file Writer.hpp.
xalanc::Writer::Writer | ( | ) |
|
virtual |
|
pure virtual |
Close the stream.
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
pure virtual |
Flush the stream.
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
virtual |
Get the stream associated with the writer...
Reimplemented in xalanc::XalanOutputStreamPrintWriter.
Referenced by xalanc::XalanFormatterWriter::XalanFormatterWriter().
|
virtual |
Get the stream associated with the writer...
Reimplemented in xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Writes a string.
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. |
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
pure virtual |
Writes a string.
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. |
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
pure virtual |
Writes a string.
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. |
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
pure virtual |
Writes a character.
c | character to write |
Implemented in xalanc::PrintWriter, xalanc::XalanOutputStreamPrintWriter, xalanc::DOMStringPrintWriter, and xalanc::NullPrintWriter.
|
static |
Definition at line 80 of file Writer.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:34 for Xalan-C++ API Reference by 1.8.17