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  

Writer Class Reference

#include <Writer.hpp>

Inheritance diagram for Writer:

PrintWriter DOMStringPrintWriter NullPrintWriter XalanOutputStreamPrintWriter List of all members.

Public Methods


Detailed Description


Constructor & Destructor Documentation

Writer::Writer ()

virtual Writer::~Writer () [virtual]


Member Function Documentation

void Writer::close () [pure virtual]

Close the stream.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.

void Writer::flush () [pure virtual]

Flush the stream.

Reimplemented in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.

const XalanOutputStream * Writer::getStream () const [virtual]

Get the stream associated with the writer...

Reimplemented in XalanOutputStreamPrintWriter.

XalanOutputStream * Writer::getStream () [virtual]

Get the stream associated with the writer...

Reimplemented in XalanOutputStreamPrintWriter.

void Writer::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 in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.

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

Writes a character.

Parameters:
c   character to write

Reimplemented in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.

void Writer::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 in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.

void Writer::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 in DOMStringPrintWriter, NullPrintWriter, PrintWriter, and XalanOutputStreamPrintWriter.


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.