Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
XalanUTF8Writer Class Reference

#include <XalanUTF8Writer.hpp>

Inherits XalanFormatterWriter.

Public Types

typedef char value_type
 
- Public Types inherited from XalanFormatterWriter
typedef
FormatterListener::size_type 
size_type
 

Public Member Functions

 XalanUTF8Writer (Writer &writer, MemoryManager &theMemoryManager)
 
virtual ~XalanUTF8Writer ()
 
void outputNewline ()
 Output a line break. More...
 
size_type writeCDATAChar (const XalanDOMChar chars[], size_type start, size_type length, bool &)
 
void writeNameChar (const XalanDOMChar *data, size_type theLength)
 Writes name characters. More...
 
void writePIChars (const XalanDOMChar *data, size_type theLength)
 Writes PI characters. More...
 
void writeCommentChars (const XalanDOMChar *data, size_type theLength)
 Writes comment characters. More...
 
void safeWriteContent (const XalanDOMChar *theChars, size_type theLength)
 
void write (const value_type *theChars, size_type theLength)
 
void write (const XalanDOMChar *theChars)
 
void write (const XalanDOMString &theChars)
 
void write (value_type theChar)
 
void write (const XalanDOMChar *theChars, size_type theLength)
 
size_type write (const XalanDOMChar chars[], size_type start, size_type length)
 
void writeSafe (const XalanDOMChar *theChars, size_type theLength)
 
void write (const value_type *theChars)
 
void flushWriter ()
 
void flushBuffer ()
 
- Public Member Functions inherited from XalanFormatterWriter
 XalanFormatterWriter (Writer &theWriter, MemoryManager &theMemoryManager)
 
MemoryManager & getMemoryManager ()
 
virtual ~XalanFormatterWriter ()
 
WritergetWriter () const
 
XalanOutputStreamgetStream ()
 
const XalanOutputStreamgetStream () const
 
void flushWriter ()
 
void throwUnrepresentableCharacterException (XalanUnicodeChar ch, MemoryManager &theManager)
 

Additional Inherited Members

- Static Public Member Functions inherited from XalanFormatterWriter
static bool isUTF16HighSurrogate (XalanDOMChar theChar)
 
static bool isUTF16LowSurrogate (XalanDOMChar theChar)
 
static XalanUnicodeChar decodeUTF16SurrogatePair (XalanDOMChar theHighSurrogate, XalanDOMChar theLowSurrogate, MemoryManager &theManager)
 
static void throwInvalidCharacterException (XalanUnicodeChar ch, MemoryManager &theManager)
 
static void throwInvalidUTF16SurrogateException (XalanDOMChar ch, XalanDOMChar next, MemoryManager &theManager)
 
- Protected Member Functions inherited from XalanFormatterWriter
const XalanDOMStringformatNumericCharacterReference (XalanUnicodeChar theChar)
 Format a code point as a numeric character reference. More...
 
- Protected Attributes inherited from XalanFormatterWriter
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...
 
size_type m_newlineStringLength
 The length of the the string of characters that represents the newline. More...
 

Detailed Description

Definition at line 110 of file XalanUTF8Writer.hpp.

Member Typedef Documentation

Definition at line 114 of file XalanUTF8Writer.hpp.

Constructor & Destructor Documentation

XalanUTF8Writer::XalanUTF8Writer ( Writer writer,
MemoryManager &  theMemoryManager 
)
virtual XalanUTF8Writer::~XalanUTF8Writer ( )
inlinevirtual

Definition at line 122 of file XalanUTF8Writer.hpp.

Member Function Documentation

void XalanUTF8Writer::flushBuffer ( )
inline

Definition at line 375 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::flushWriter ( )
inline

Definition at line 369 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::outputNewline ( )
inline

Output a line break.

Definition at line 130 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::safeWriteContent ( const XalanDOMChar *  theChars,
size_type  theLength 
)
inline

Definition at line 189 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( const value_type theChars,
size_type  theLength 
)
inline

Definition at line 200 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( const XalanDOMChar *  theChars)
inline

Definition at line 236 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( const XalanDOMString theChars)
inline

Definition at line 242 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( value_type  theChar)
inline

Definition at line 248 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( const XalanDOMChar *  theChars,
size_type  theLength 
)
inline

Definition at line 264 of file XalanUTF8Writer.hpp.

size_type XalanUTF8Writer::write ( const XalanDOMChar  chars[],
size_type  start,
size_type  length 
)
inline

Definition at line 295 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::write ( const value_type theChars)
inline

Definition at line 363 of file XalanUTF8Writer.hpp.

size_type XalanUTF8Writer::writeCDATAChar ( const XalanDOMChar  chars[],
size_type  start,
size_type  length,
bool &   
)
inline

Definition at line 141 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::writeCommentChars ( const XalanDOMChar *  data,
size_type  theLength 
)
inline

Writes comment characters.

If characters that are not representable are encountered, an exception is thrown.

Definition at line 181 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::writeNameChar ( const XalanDOMChar *  data,
size_type  theLength 
)
inline

Writes name characters.

If characters that are not representable are encountered, an exception is thrown.

Definition at line 157 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::writePIChars ( const XalanDOMChar *  data,
size_type  theLength 
)
inline

Writes PI characters.

If characters that are not representable are encountered, an exception is thrown.

Definition at line 169 of file XalanUTF8Writer.hpp.

void XalanUTF8Writer::writeSafe ( const XalanDOMChar *  theChars,
size_type  theLength 
)
inline

Definition at line 326 of file XalanUTF8Writer.hpp.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo