Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

outputsaxreceptor.cpp File Reference

Definition of OutputSAXReceptor class methods. More...

#include "outputsaxreceptor.h"

Go to the source code of this file.

Defines

#define ENSURE_TEXT_CODEC_EXISTS
#define OUTPUT_TO_DEVICE(str)
#define OUTPUT_TO_DEVICE_LENGTH(str, length)
#define OUTPUT_TO_DEVICE_CHAR(c)


Detailed Description

Definition of OutputSAXReceptor class methods.

This file contains the definition of OutputSAXReceptor class methods.

Definition in file outputsaxreceptor.cpp.


Define Documentation

#define ENSURE_TEXT_CODEC_EXISTS
 

Value:

{                                       \
  if (!textCodec)                       \
    createDefaultTextCodec();           \
}
Ensure that an instance of TextCodec exists. If it doesn't exist, a new instance is created.

Definition at line 36 of file outputsaxreceptor.cpp.

#define OUTPUT_TO_DEVICE str   
 

Value:

{                                                                               \
  ENSURE_TEXT_CODEC_EXISTS;                                                     \
  if (outputDevice)                                                             \
    textCodec->output(outputDevice, str,                                        \
                      (Encodings::MIB)ExaltOptions::getOption(ExaltOptions::Encoding)); \
}
Output a string (must be zero terminated!) to the output device.
Parameters:
str  String for output.

Definition at line 49 of file outputsaxreceptor.cpp.

Referenced by OutputSAXReceptor::characterData, OutputSAXReceptor::comment, OutputSAXReceptor::endCDATASection, OutputSAXReceptor::endDoctypeDecl, OutputSAXReceptor::endElement, OutputSAXReceptor::entityDecl, OutputSAXReceptor::notationDecl, OutputSAXReceptor::processingInstruction, OutputSAXReceptor::startCDATASection, OutputSAXReceptor::startDoctypeDecl, OutputSAXReceptor::startElement, and OutputSAXReceptor::xmlDecl.

#define OUTPUT_TO_DEVICE_CHAR  
 

Value:

{                                                                               \
  ENSURE_TEXT_CODEC_EXISTS;                                                     \
  if (outputDevice)                                                             \
    textCodec->output(outputDevice, c,                                          \
                      (Encodings::MIB)ExaltOptions::getOption(ExaltOptions::Encoding)); \
}
Output one character to the output device.
Parameters:
c  Character for output.

Definition at line 79 of file outputsaxreceptor.cpp.

Referenced by OutputSAXReceptor::characterData.

#define OUTPUT_TO_DEVICE_LENGTH str,
length   
 

Value:

{                                                                               \
  ENSURE_TEXT_CODEC_EXISTS;                                                     \
  if (outputDevice)                                                             \
    textCodec->output(outputDevice, str, length,                                \
                      (Encodings::MIB)ExaltOptions::getOption(ExaltOptions::Encoding)); \
}
Output a string of given length to the output device.
Parameters:
str  String for output.
length  The length of the string.

Definition at line 65 of file outputsaxreceptor.cpp.

Referenced by OutputSAXReceptor::characterData, OutputSAXReceptor::defaultHandler, and OutputSAXReceptor::entityDecl.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002