Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PrintWriter Class Reference

#include <PrintWriter.hpp>

Inheritance diagram for PrintWriter:

Writer DOMStringPrintWriter NullPrintWriter XalanOutputStreamPrintWriter Collaboration diagram for PrintWriter:

List of all members.

Public Methods

Static Public Methods

Protected Attributes

Static Protected Attributes


Detailed Description


Constructor & Destructor Documentation

PrintWriter::PrintWriter ( bool fAutoFlush = false)

Constructor.

Parameters:
fAutoFlush   if true, the output will not be buffered

virtual PrintWriter::~PrintWriter () [virtual]


Member Function Documentation

bool PrintWriter::checkError () const [pure virtual]

Flush the stream, then check the error status.

Returns:
true if no errors

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::close () [pure virtual]

Close the stream.

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::flush () [pure virtual]

Flush the stream.

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

void PrintWriter::initialize () [static]

Initialize static data.

Must be called before any other functions are called. See PlatformSupportInit.

virtual void PrintWriter::print ( const XalanDOMString & s) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( long l) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( int i) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( double d) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( const XalanDOMChar * s,
unsigned int theLength = UINT_MAX) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( const char * s,
unsigned int theLength = UINT_MAX) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( char c) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::print ( bool b) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( const XalanDOMString & s) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( long l) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( int i) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( double d) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( const XalanDOMChar * s,
unsigned int theLength = UINT_MAX) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( const char * s,
unsigned int theLength = UINT_MAX) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( char c) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println ( bool b) [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::println () [pure virtual]

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

void PrintWriter::terminate () [static]

Destroy static data.

After thus function is called, no other functions can be called. See PlatformSupportInit.

virtual void PrintWriter::write ( const XalanDOMString & s,
unsigned int theOffset = 0,
unsigned int theLength = UINT_MAX) [pure 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 UINT_MAX, then the entire string is printed. Default is UINT_MAX.

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::write ( XalanDOMChar c) [pure virtual]

Writes a character.

Parameters:
c   character to write

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::write ( const XalanDOMChar * s,
unsigned int theOffset = 0,
unsigned int theLength = UINT_MAX) [pure 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 UINT_MAX, then the array is assumed to be null-terminated. Default is UINT_MAX.

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::write ( const char * s,
unsigned int theOffset = 0,
unsigned int theLength = UINT_MAX) [pure 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 UINT_MAX, then the array is assumed to be null-terminated. Default is UINT_MAX.

Reimplemented from Writer.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.


Member Data Documentation

const bool PrintWriter::m_fAutoFlush [protected]

const XalanDOMString & PrintWriter::s_falseString [static, protected]

const XalanDOMString & PrintWriter::s_newlineString [static, protected]

const XalanDOMString & PrintWriter::s_trueString [static, protected]


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.