JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
HTMLWriterFilter Class Reference

A filter for a PrinterWriter encoding HTML. More...

Inheritance diagram for HTMLWriterFilter:
Inheritance graph
Collaboration diagram for HTMLWriterFilter:
Collaboration graph

Public Member Functions

void HTMLWriterFilter (PrinterWriter writer)
 Constructor. More...
 
PrinterWriter getWriter ()
 Returns the wrapped PrinterWriter. More...
 
void _flush (void str)
 
void setWriter (PrinterWriter writer)
 Sets the PrinterWriter to wrap. More...
 
- Public Member Functions inherited from PrinterWriter
void PrinterWriter ()
 
void println (Object data)
 Prints a line into the writer. More...
 
void close ()
 Closes the writer. More...
 
void _flush ()
 
void flush ()
 Flushes the writer. More...
 
void print (Object data)
 Prints into the writer. More...
 

Additional Inherited Members

- Public Attributes inherited from PrinterWriter
int mBuffer
 
int mClosed
 

Detailed Description

A filter for a PrinterWriter encoding HTML.

Constructor & Destructor Documentation

void HTMLWriterFilter::HTMLWriterFilter ( PrinterWriter  writer)

Constructor.

Parameters
writerThe writer to filter. The constructor accepts the writer to wrap.

Member Function Documentation

void HTMLWriterFilter::_flush ( void  str)
PrinterWriter HTMLWriterFilter::getWriter ( )

Returns the wrapped PrinterWriter.

void HTMLWriterFilter::setWriter ( PrinterWriter  writer)

Sets the PrinterWriter to wrap.

Parameters
writerThe writer to filter. If the argument is omitted a StringWriter is created and wrapped.

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

JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5