Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XalanFormatterWriter Class Reference
Inheritance diagram for XalanFormatterWriter:
XalanOtherEncodingWriter< Predicate, ConstantsType > XalanUTF16Writer XalanUTF8Writer

Classes

class  CommonRepresentableCharFunctor
 
class  NewLineWriterFunctor
 
class  WhiteSpaceWriterFunctor
 

Public Types

typedef XalanDOMString::size_type size_type
 

Public Member Functions

 XalanFormatterWriter (Writer &theWriter, MemoryManager &theMemoryManager)
 
MemoryManagerTypegetMemoryManager ()
 
virtual ~XalanFormatterWriter ()
 
WritergetWriter () const
 
XalanOutputStreamgetStream ()
 
const XalanOutputStreamgetStream () const
 
void flushWriter ()
 

Static Public Member Functions

static bool isUTF16HighSurrogate (XalanDOMChar theChar)
 
static bool isUTF16LowSurrogate (XalanDOMChar theChar)
 
static unsigned int decodeUTF16SurrogatePair (XalanDOMChar theHighSurrogate, XalanDOMChar theLowSurrogate, MemoryManager &theManager)
 
static void throwInvalidCharacterException (unsigned int ch, MemoryManager &theManager)
 
static void throwInvalidUTF16SurrogateException (XalanDOMChar ch, XalanDOMChar next, MemoryManagerType &theManager)
 

Protected Member Functions

const XalanDOMStringformatNumericCharacterReference (unsigned int theNumber)
 Format a code point as a numeric character reference. More...
 

Protected Attributes

Writerm_writer
 The writer. More...
 
MemoryManager & m_memoryManager
 The MemoryManager instance to use for any dynamically- allocated memory. More...
 
XalanDOMString m_stringBuffer
 
const XalanDOMChar * m_newlineString
 The string of characters that represents the newline. More...
 
XalanDOMString::size_type m_newlineStringLength
 The length of the the string of characters that represents the newline. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

XalanFormatterWriter::XalanFormatterWriter ( Writer theWriter,
MemoryManager &  theMemoryManager 
)
virtual XalanFormatterWriter::~XalanFormatterWriter ( )
virtual

Member Function Documentation

static unsigned int XalanFormatterWriter::decodeUTF16SurrogatePair ( XalanDOMChar  theHighSurrogate,
XalanDOMChar  theLowSurrogate,
MemoryManager &  theManager 
)
static
void XalanFormatterWriter::flushWriter ( )
const XalanDOMString& XalanFormatterWriter::formatNumericCharacterReference ( unsigned int  theNumber)
protected

Format a code point as a numeric character reference.

Parameters
theCharA Unicode code point.
MemoryManagerType& XalanFormatterWriter::getMemoryManager ( )
XalanOutputStream* XalanFormatterWriter::getStream ( )
const XalanOutputStream* XalanFormatterWriter::getStream ( ) const
Writer* XalanFormatterWriter::getWriter ( ) const
static bool XalanFormatterWriter::isUTF16HighSurrogate ( XalanDOMChar  theChar)
static
static bool XalanFormatterWriter::isUTF16LowSurrogate ( XalanDOMChar  theChar)
static
static void XalanFormatterWriter::throwInvalidCharacterException ( unsigned int  ch,
MemoryManager &  theManager 
)
static
static void XalanFormatterWriter::throwInvalidUTF16SurrogateException ( XalanDOMChar  ch,
XalanDOMChar  next,
MemoryManagerType theManager 
)
static

Member Data Documentation

MemoryManager& XalanFormatterWriter::m_memoryManager
protected

The MemoryManager instance to use for any dynamically- allocated memory.

const XalanDOMChar* XalanFormatterWriter::m_newlineString
protected

The string of characters that represents the newline.

XalanDOMString::size_type XalanFormatterWriter::m_newlineStringLength
protected

The length of the the string of characters that represents the newline.

XalanDOMString XalanFormatterWriter::m_stringBuffer
protected
Writer& XalanFormatterWriter::m_writer
protected

The writer.


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