Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Member Functions | Protected Attributes | Static Protected Attributes
PrintWriter Class Reference
Inheritance diagram for PrintWriter:
Writer DOMStringPrintWriter NullPrintWriter XalanOutputStreamPrintWriter

List of all members.

Public Member Functions

Protected Attributes

Static Protected Attributes


Constructor & Destructor Documentation

PrintWriter::PrintWriter ( bool  fAutoFlush = false,
MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR 
)

Constructor.

Parameters:
fAutoFlushif true, the output will not be buffered
virtual PrintWriter::~PrintWriter ( ) [virtual]

Member Function Documentation

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

Flush the stream, then check the error status.

Returns:
true if no errors

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

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

Close the stream.

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

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

Flush the stream.

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

MemoryManagerType& PrintWriter::getMemoryManager ( )
virtual void PrintWriter::print ( const XalanDOMString s) [pure virtual]
virtual void PrintWriter::print ( bool  b) [pure virtual]
virtual void PrintWriter::print ( char  c) [pure virtual]
virtual void PrintWriter::print ( const char *  s,
size_t  theLength = npos 
) [pure virtual]
virtual void PrintWriter::print ( const XalanDOMChar *  s,
XalanDOMString::size_type  theLength = XalanDOMString::npos 
) [pure virtual]
virtual void PrintWriter::print ( double  d) [pure virtual]
virtual void PrintWriter::print ( int  i) [pure virtual]
virtual void PrintWriter::print ( long  l) [pure virtual]
virtual void PrintWriter::println ( char  x) [pure virtual]
virtual void PrintWriter::println ( const XalanDOMString s) [pure virtual]
virtual void PrintWriter::println ( double  x) [pure virtual]
virtual void PrintWriter::println ( const XalanDOMChar *  s,
XalanDOMString::size_type  theLength = XalanDOMString::npos 
) [pure virtual]
virtual void PrintWriter::println ( ) [pure virtual]
virtual void PrintWriter::println ( int  x) [pure virtual]
virtual void PrintWriter::println ( const char *  s,
size_t  theLength = npos 
) [pure virtual]
virtual void PrintWriter::println ( bool  b) [pure virtual]
virtual void PrintWriter::println ( long  x) [pure virtual]
virtual void PrintWriter::write ( const XalanDOMChar *  s,
XalanDOMString::size_type  theOffset = 0,
XalanDOMString::size_type  theLength = XalanDOMString::npos 
) [pure virtual]

Writes a string.

Parameters:
sstring to write
theOffsetstarting offset in string to begin writing, default 0
theLengthnumber of characters to write. If the length is XalanDOMString::npos, then the array is assumed to be null-terminated.

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::write ( const char *  s,
size_t  theOffset = 0,
size_t  theLength = npos 
) [pure virtual]

Writes a string.

Parameters:
sstring to write
theOffsetstarting offset in string to begin writing, default 0
theLengthnumber of characters to write. If the length is npos, then the array is assumed to be null-terminated.

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

virtual void PrintWriter::write ( const XalanDOMString s,
XalanDOMString::size_type  theOffset = 0,
XalanDOMString::size_type  theLength = XalanDOMString::npos 
) [pure virtual]

Writes a string.

Parameters:
sstring to write
theOffsetstarting offset in string to begin writing, default 0
theLengthnumber of characters to write. If the length is XalanDOMString::npos, then the entire string is printed.

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.

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

Writes a character.

Parameters:
ccharacter to write

Implements Writer.

Implemented in DOMStringPrintWriter, NullPrintWriter, and XalanOutputStreamPrintWriter.


Member Data Documentation

const bool PrintWriter::m_fAutoFlush [protected]
const XalanDOMChar PrintWriter::s_falseString[] [static, protected]
const XalanDOMChar PrintWriter::s_newlineString[] [static, protected]
const XalanDOMChar 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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo