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. | |
virtual void | flush ()=0 |
Flush the stream. | |
virtual XalanOutputStream * | getStream () |
Get the stream associated with the writer... | |
virtual const XalanOutputStream * | getStream () const |
Get the stream associated with the writer... | |
virtual void | write (const char *s, size_t theOffset=0, size_t theLength=npos)=0 |
Writes a string. | |
virtual void | write (const XalanDOMChar *s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
Writes a string. | |
virtual void | write (XalanDOMChar c)=0 |
Writes a character. | |
virtual void | write (const XalanDOMString &s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
Writes a string. | |
Static Public Attributes | |
static const size_t | npos |
Definition at line 44 of file Writer.hpp.
xalanc::Writer::Writer | ( | ) |
|
virtual |
Close the stream.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
Flush the stream.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
|
virtual |
Get the stream associated with the writer...
Reimplemented in xalanc::XalanOutputStreamPrintWriter.
|
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::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
|
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::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
|
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::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
References xalanc::operator==().
|
pure virtual |
Writes a character.
c | character to write |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, xalanc::XalanOutputStreamPrintWriter, and xalanc::PrintWriter.
Definition at line 80 of file Writer.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:15 for Xalan-C++ API Reference by