#include <xalanc/PlatformSupport/DOMStringPrintWriter.hpp>
|
| DOMStringPrintWriter (XalanDOMString &theString) |
|
virtual | ~DOMStringPrintWriter () |
|
XalanDOMString & | getString () const |
|
void | setString (XalanDOMString &newString) |
|
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 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 (XMLInt32 i) |
|
virtual void | print (XMLInt64 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 (XMLInt32 x) |
|
virtual void | println (XMLInt64 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 () |
|
virtual XalanOutputStream * | getStream () |
| Get the stream associated with the writer... More...
|
|
virtual const XalanOutputStream * | getStream () const |
| Get the stream associated with the writer... More...
|
|
Definition at line 40 of file DOMStringPrintWriter.hpp.
◆ DOMStringPrintWriter()
xalanc::DOMStringPrintWriter::DOMStringPrintWriter |
( |
XalanDOMString & |
theString | ) |
|
◆ ~DOMStringPrintWriter()
virtual xalanc::DOMStringPrintWriter::~DOMStringPrintWriter |
( |
| ) |
|
|
virtual |
◆ checkError()
virtual bool xalanc::DOMStringPrintWriter::checkError |
( |
| ) |
const |
|
virtual |
Flush the stream, then check the error status.
- Returns
- true if no errors
Implements xalanc::PrintWriter.
◆ close()
virtual void xalanc::DOMStringPrintWriter::close |
( |
| ) |
|
|
virtual |
◆ flush()
virtual void xalanc::DOMStringPrintWriter::flush |
( |
| ) |
|
|
virtual |
◆ getString()
◆ print() [1/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
bool |
b | ) |
|
|
virtual |
◆ print() [2/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
char |
c | ) |
|
|
virtual |
◆ print() [3/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
virtual |
◆ print() [4/8]
◆ print() [5/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
const XalanDOMString & |
s | ) |
|
|
virtual |
◆ print() [6/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
double |
d | ) |
|
|
virtual |
◆ print() [7/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
XMLInt32 |
i | ) |
|
|
virtual |
◆ print() [8/8]
virtual void xalanc::DOMStringPrintWriter::print |
( |
XMLInt64 |
l | ) |
|
|
virtual |
◆ println() [1/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
| ) |
|
|
virtual |
◆ println() [2/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
bool |
x | ) |
|
|
virtual |
◆ println() [3/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
char |
x | ) |
|
|
virtual |
◆ println() [4/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
virtual |
◆ println() [5/9]
◆ println() [6/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
const XalanDOMString & |
s | ) |
|
|
virtual |
◆ println() [7/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
double |
x | ) |
|
|
virtual |
◆ println() [8/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
XMLInt32 |
x | ) |
|
|
virtual |
◆ println() [9/9]
virtual void xalanc::DOMStringPrintWriter::println |
( |
XMLInt64 |
x | ) |
|
|
virtual |
◆ setString()
void xalanc::DOMStringPrintWriter::setString |
( |
XalanDOMString & |
newString | ) |
|
|
inline |
◆ write() [1/4]
virtual void xalanc::DOMStringPrintWriter::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 xalanc::PrintWriter.
◆ write() [2/4]
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 xalanc::PrintWriter.
◆ write() [3/4]
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 xalanc::PrintWriter.
◆ write() [4/4]
virtual void xalanc::DOMStringPrintWriter::write |
( |
XalanDOMChar |
c | ) |
|
|
virtual |
◆ m_outputString
The documentation for this class was generated from the following file: