Xalan-C++ API Reference  1.12.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
xalanc::SAX2Handler Class Referenceabstract

#include <xalanc/Utils/MsgCreator/SAX2Handler.hpp>

Inheritance diagram for xalanc::SAX2Handler:
[legend]
Collaboration diagram for xalanc::SAX2Handler:
[legend]

Public Member Functions

 SAX2Handler (const char *indexFileName)
 
virtual ~SAX2Handler ()
 
virtual void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attributes)
 
virtual void startDocument ()
 
virtual void endDocument ()
 
virtual void error (const SAXParseException &e)
 
virtual void fatalError (const SAXParseException &e)
 
virtual void warning (const SAXParseException &e)
 
void setLocale (const char *localeName)
 
const XMLCh * getLocale () const
 

Protected Member Functions

bool translateCharToXMLByteArray (XMLByte *buffer, int iBufLen, const char *szSource) const
 
virtual void createHeaderForDataFile ()=0
 
virtual void createBottomForDataFile ()=0
 
virtual void printBeginOfDataLine ()=0
 
virtual void printEndOfDataLine ()=0
 
virtual void printToDataFile (const char *sArrayOfStrings[])=0
 
void printToIndexFile (const char *sArrayOfStrings[])
 
void printNumbOfRecords ()
 

Protected Attributes

int m_numberOfRecords
 
XMLCh * m_locale
 
bool m_startCollectingCharacters
 

Detailed Description

Definition at line 115 of file SAX2Handler.hpp.

Constructor & Destructor Documentation

◆ SAX2Handler()

xalanc::SAX2Handler::SAX2Handler ( const char *  indexFileName)

◆ ~SAX2Handler()

virtual xalanc::SAX2Handler::~SAX2Handler ( )
virtual

Member Function Documentation

◆ createBottomForDataFile()

virtual void xalanc::SAX2Handler::createBottomForDataFile ( )
protectedpure virtual

◆ createHeaderForDataFile()

virtual void xalanc::SAX2Handler::createHeaderForDataFile ( )
protectedpure virtual

◆ endDocument()

virtual void xalanc::SAX2Handler::endDocument ( )
virtual

◆ error()

virtual void xalanc::SAX2Handler::error ( const SAXParseException &  e)
virtual

◆ fatalError()

virtual void xalanc::SAX2Handler::fatalError ( const SAXParseException &  e)
virtual

◆ getLocale()

const XMLCh* xalanc::SAX2Handler::getLocale ( ) const
inline

Definition at line 155 of file SAX2Handler.hpp.

◆ printBeginOfDataLine()

virtual void xalanc::SAX2Handler::printBeginOfDataLine ( )
protectedpure virtual

◆ printEndOfDataLine()

virtual void xalanc::SAX2Handler::printEndOfDataLine ( )
protectedpure virtual

◆ printNumbOfRecords()

void xalanc::SAX2Handler::printNumbOfRecords ( )
protected

◆ printToDataFile()

virtual void xalanc::SAX2Handler::printToDataFile ( const char *  sArrayOfStrings[])
protectedpure virtual

◆ printToIndexFile()

void xalanc::SAX2Handler::printToIndexFile ( const char *  sArrayOfStrings[])
protected

◆ setLocale()

void xalanc::SAX2Handler::setLocale ( const char *  localeName)

◆ startDocument()

virtual void xalanc::SAX2Handler::startDocument ( )
virtual

◆ startElement()

virtual void xalanc::SAX2Handler::startElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname,
const Attributes &  attributes 
)
virtual

◆ translateCharToXMLByteArray()

bool xalanc::SAX2Handler::translateCharToXMLByteArray ( XMLByte *  buffer,
int  iBufLen,
const char *  szSource 
) const
protected

◆ warning()

virtual void xalanc::SAX2Handler::warning ( const SAXParseException &  e)
virtual

Member Data Documentation

◆ m_locale

XMLCh* xalanc::SAX2Handler::m_locale
protected

Definition at line 207 of file SAX2Handler.hpp.

◆ m_numberOfRecords

int xalanc::SAX2Handler::m_numberOfRecords
protected

Definition at line 205 of file SAX2Handler.hpp.

◆ m_startCollectingCharacters

bool xalanc::SAX2Handler::m_startCollectingCharacters
protected

Definition at line 209 of file SAX2Handler.hpp.


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