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

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

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

Public Member Functions

 InMemHandler (const char *fileName, const char *indexFileName)
 
virtual ~InMemHandler ()
 
virtual void endDocument ()
 
virtual void endElement (const XMLCh *const, const XMLCh *const localname, const XMLCh *const)
 
virtual void startDocument ()
 
virtual void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attributes)
 
virtual void characters (const XMLCh *const chars, const XalanSize_t length)
 
- Public Member Functions inherited from xalanc::SAX2Handler
 SAX2Handler (const char *indexFileName)
 
virtual ~SAX2Handler ()
 
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

virtual void createHeaderForDataFile ()
 
virtual void createBottomForDataFile ()
 
virtual void printBeginOfDataLine ()
 
virtual void printEndOfDataLine ()
 
void printToDataFile (const char *sArrayOfStrings[])
 
- Protected Member Functions inherited from xalanc::SAX2Handler
bool translateCharToXMLByteArray (XMLByte *buffer, int iBufLen, const char *szSource) const
 
void printToIndexFile (const char *sArrayOfStrings[])
 
void printNumbOfRecords ()
 

Protected Attributes

MsgFileOutputStream m_stream
 
- Protected Attributes inherited from xalanc::SAX2Handler
int m_numberOfRecords
 
XMLCh * m_locale
 
bool m_startCollectingCharacters
 

Detailed Description

Definition at line 34 of file InMemHandler.hpp.

Constructor & Destructor Documentation

◆ InMemHandler()

xalanc::InMemHandler::InMemHandler ( const char *  fileName,
const char *  indexFileName 
)

◆ ~InMemHandler()

virtual xalanc::InMemHandler::~InMemHandler ( )
virtual

Member Function Documentation

◆ characters()

virtual void xalanc::InMemHandler::characters ( const XMLCh *const  chars,
const XalanSize_t  length 
)
virtual

◆ createBottomForDataFile()

virtual void xalanc::InMemHandler::createBottomForDataFile ( )
protectedvirtual

Implements xalanc::SAX2Handler.

◆ createHeaderForDataFile()

virtual void xalanc::InMemHandler::createHeaderForDataFile ( )
protectedvirtual

Implements xalanc::SAX2Handler.

◆ endDocument()

virtual void xalanc::InMemHandler::endDocument ( )
virtual

Reimplemented from xalanc::SAX2Handler.

◆ endElement()

virtual void xalanc::InMemHandler::endElement ( const XMLCh * const  ,
const XMLCh *const  localname,
const XMLCh * const   
)
virtual

◆ printBeginOfDataLine()

virtual void xalanc::InMemHandler::printBeginOfDataLine ( )
protectedvirtual

Implements xalanc::SAX2Handler.

◆ printEndOfDataLine()

virtual void xalanc::InMemHandler::printEndOfDataLine ( )
protectedvirtual

Implements xalanc::SAX2Handler.

◆ printToDataFile()

void xalanc::InMemHandler::printToDataFile ( const char *  sArrayOfStrings[])
protectedvirtual

Implements xalanc::SAX2Handler.

◆ startDocument()

virtual void xalanc::InMemHandler::startDocument ( )
virtual

Reimplemented from xalanc::SAX2Handler.

◆ startElement()

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

Reimplemented from xalanc::SAX2Handler.

Member Data Documentation

◆ m_stream

MsgFileOutputStream xalanc::InMemHandler::m_stream
protected

Definition at line 76 of file InMemHandler.hpp.


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