Xalan-C++ API Reference 1.12.0
|
#include <xalanc/PlatformSupport/PrintWriter.hpp>
Public Member Functions | |
PrintWriter (bool fAutoFlush=false, MemoryManager &theManager XALAN_DEFAULT_MEMMGR) | |
Constructor. More... | |
MemoryManager & | getMemoryManager () |
virtual | ~PrintWriter () |
virtual bool | checkError () const =0 |
Flush the stream, then check the error status. More... | |
virtual void | close ()=0 |
Close the stream. More... | |
virtual void | flush ()=0 |
Flush the stream. 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... | |
virtual void | print (bool b)=0 |
virtual void | print (char c)=0 |
virtual void | print (const char *s, size_t theLength=npos)=0 |
virtual void | print (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
virtual void | print (double d)=0 |
virtual void | print (XMLInt32 i)=0 |
virtual void | print (XMLInt64 l)=0 |
virtual void | print (const XalanDOMString &s)=0 |
virtual void | println ()=0 |
virtual void | println (bool b)=0 |
virtual void | println (char x)=0 |
virtual void | println (const char *s, size_t theLength=npos)=0 |
virtual void | println (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
virtual void | println (double x)=0 |
virtual void | println (XMLInt32 x)=0 |
virtual void | println (XMLInt64 x)=0 |
virtual void | println (const XalanDOMString &s)=0 |
![]() | |
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... | |
Protected Attributes | |
const bool | m_fAutoFlush |
MemoryManager & | m_memoryManager |
Static Protected Attributes | |
static const XalanDOMChar | s_trueString [] |
static const XalanDOMChar | s_falseString [] |
static const XalanDOMChar | s_newlineString [] |
Additional Inherited Members | |
![]() | |
static const size_t | npos |
Definition at line 37 of file PrintWriter.hpp.
xalanc::PrintWriter::PrintWriter | ( | bool | fAutoFlush = false , |
MemoryManager &theManager | XALAN_DEFAULT_MEMMGR | ||
) |
Constructor.
fAutoFlush | if true, the output will not be buffered |
|
virtual |
|
pure virtual |
Flush the stream, then check the error status.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Close the stream.
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Flush the stream.
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
inline |
Definition at line 49 of file PrintWriter.hpp.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Implemented in xalanc::DOMStringPrintWriter, and 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. |
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and 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 XalanDOMString::npos, then the array is assumed to be null-terminated. |
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and 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 XalanDOMString::npos, then the entire string is printed. |
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
pure virtual |
Writes a character.
c | character to write |
Implements xalanc::Writer.
Implemented in xalanc::DOMStringPrintWriter, xalanc::NullPrintWriter, and xalanc::XalanOutputStreamPrintWriter.
|
protected |
Definition at line 164 of file PrintWriter.hpp.
|
protected |
Definition at line 166 of file PrintWriter.hpp.
|
staticprotected |
Definition at line 171 of file PrintWriter.hpp.
|
staticprotected |
Definition at line 173 of file PrintWriter.hpp.
|
staticprotected |
Definition at line 169 of file PrintWriter.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat Feb 4 2023 19:58:13 for Xalan-C++ API Reference by