## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.6

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

# NullPrintWriter Class Reference

`#include <NullPrintWriter.hpp>`

Inheritance diagram for NullPrintWriter

Collaboration diagram for NullPrintWriter:

List of all members.

## Public Methods

- NullPrintWriter ()
- virtual ~NullPrintWriter ()
- virtual bool checkError () const
    Flush the stream, then check the error status. More...
- virtual void close ()
    Close the stream.
- virtual void flush ()
    Flush the stream.
- 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 (int i)
- virtual void print (long 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 (int x)
- virtual void println (long x)
- virtual void println (const XalanDOMString& s)

## Constructor & Destructor Documentation

NullPrintWriter::NullPrintWriter ( | )`[explicit]`

virtual NullPrintWriter::~NullPrintWriter ( | )`[virtual]`

## Member Function Documentation

virtual bool NullPrintWriter::checkError ( | ) const`[virtual]`

Flush the stream, then check the error status.

Returns:
  true if no errors

Reimplemented from PrintWriter.

virtual void NullPrintWriter::close ( | )`[virtual]`

Close the stream.

Reimplemented from PrintWriter.

virtual void NullPrintWriter::flush ( | )`[virtual]`

Flush the stream.

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | const XalanDOMString & s )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | long l )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | int i )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | double d )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | const XalanDOMChar * s,
| XalanDOMString::size_type theLength = XalanDOMString::npos )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | const char * s,
| size_t theLength = npos )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | char c )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::print ( | bool b )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | const XalanDOMString & s )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | long x )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | int x )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | double x )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | const XalanDOMChar * s,
| XalanDOMString::size_type theLength = XalanDOMString::npos )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | const char * s,
| size_t theLength = npos )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | char x )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | bool x )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::println ( | )`[virtual]`

Reimplemented from PrintWriter.

virtual void NullPrintWriter::write ( | const XalanDOMString & s,
| XalanDOMString::size_type theOffset = 0,
| XalanDOMString::size_type theLength = XalanDOMString::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 XalanDOMString::npos, then the entire string is printed.

Reimplemented from PrintWriter.

virtual void NullPrintWriter::write ( | XalanDOMChar c )`[virtual]`

Writes a character.

Parameters:

  c | character to write

Reimplemented from PrintWriter.

virtual void NullPrintWriter::write ( | const XalanDOMChar * s,
| XalanDOMString::size_type theOffset = 0,
| XalanDOMString::size_type theLength = XalanDOMString::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 XalanDOMString::npos, then the array is assumed to be null-terminated.

Reimplemented from PrintWriter.

virtual void NullPrintWriter::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.

Reimplemented from PrintWriter.

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

- NullPrintWriter.hpp

Interpreting class diagrams

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

Xalan-C++ XSLT Processor Version 1.6 Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.