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

SAXBase Class Reference

An abstract predecessor of all SAX related classes. More...

#include <saxbase.h>

Inheritance diagram for SAXBase:

SAXEmitter SAXReceptor XmlParserBase OutputSAXReceptor XmlParser List of all members.

Public Methods

virtual void reportError (void)
 Report parser error messages. More...

virtual void startElement (void *userData, const XmlChar *name, const XmlChar **atts)
 Start element handler. More...

virtual void endElement (void *userData, const XmlChar *name)
 End element handler. More...

virtual void characterData (void *userData, const XmlChar *data, int length)
 Character data handler. More...

virtual void processingInstruction (void *userData, const XmlChar *target, const XmlChar *data)
 Processing instruction handler. More...

virtual void comment (void *userData, const XmlChar *data)
 Comment handler. More...

virtual void startCDATASection (void *userData)
 Start CDATA section handler. More...

virtual void endCDATASection (void *userData)
 End CDATA section handler. More...

virtual void defaultHandler (void *userData, const XmlChar *data, int length)
 Default handler. More...

virtual int unknownEncoding (void *unknownEncodingData, const XmlChar *name, XML_Encoding *info)
 Unknown encoding handler. More...

virtual void xmlDecl (void *userData, const XmlChar *version, const XmlChar *encoding, int standalone)
 XML declaration handler. More...

virtual void startDoctypeDecl (void *userData, const XmlChar *doctypeName, const XmlChar *systemId, const XmlChar *publicId, int hasInternalSubset)
 Start doctype handler. More...

virtual void endDoctypeDecl (void *userData)
 End doctype handler. More...

virtual void entityDecl (void *userData, const XmlChar *entityName, int isParameterEntity, const XmlChar *value, int valueLength, const XmlChar *base, const XmlChar *systemId, const XmlChar *publicId, const XmlChar *notationName)
 Entity declaration handler. More...

virtual void notationDecl (void *userData, const XmlChar *notationName, const XmlChar *base, const XmlChar *systemId, const XmlChar *publicId)
 Notation declaration handler. More...


Detailed Description

An abstract predecessor of all SAX related classes.

Inherit this class whenever you want to use the SAX callback functionality.

Definition at line 40 of file saxbase.h.


Member Function Documentation

virtual void SAXBase::characterData void *    userData,
const XmlChar *    data,
int    length
[inline, virtual]
 

Character data handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
data  Character data.
length  Length of the data.

Reimplemented in OutputSAXReceptor.

Definition at line 83 of file saxbase.h.

References XmlChar.

virtual void SAXBase::comment void *    userData,
const XmlChar *    data
[inline, virtual]
 

Comment handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
data  The comment data.

Reimplemented in OutputSAXReceptor.

Definition at line 108 of file saxbase.h.

References XmlChar.

virtual void SAXBase::defaultHandler void *    userData,
const XmlChar *    data,
int    length
[inline, virtual]
 

Default handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
data  The default data.
length  The length of the default data.

Reimplemented in OutputSAXReceptor.

Definition at line 139 of file saxbase.h.

References XmlChar.

virtual void SAXBase::endCDATASection void *    userData [inline, virtual]
 

End CDATA section handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.

Reimplemented in OutputSAXReceptor.

Definition at line 128 of file saxbase.h.

virtual void SAXBase::endDoctypeDecl void *    userData [inline, virtual]
 

End doctype handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.

Reimplemented in OutputSAXReceptor.

Definition at line 196 of file saxbase.h.

virtual void SAXBase::endElement void *    userData,
const XmlChar *    name
[inline, virtual]
 

End element handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
name  Name of the element.

Reimplemented in OutputSAXReceptor.

Definition at line 71 of file saxbase.h.

References XmlChar.

virtual void SAXBase::entityDecl void *    userData,
const XmlChar *    entityName,
int    isParameterEntity,
const XmlChar *    value,
int    valueLength,
const XmlChar *    base,
const XmlChar *    systemId,
const XmlChar *    publicId,
const XmlChar *    notationName
[inline, virtual]
 

Entity declaration handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
entityName  The name of the entity.
isParameterEntity  Is the entity a parametric entity?
value  The value of the entity.
valueLength  The length of the value.
base  The base.
systemId  The system id.
publicId  The public id.
notationName  The name of the notation.

Reimplemented in OutputSAXReceptor.

Definition at line 214 of file saxbase.h.

References XmlChar.

virtual void SAXBase::notationDecl void *    userData,
const XmlChar *    notationName,
const XmlChar *    base,
const XmlChar *    systemId,
const XmlChar *    publicId
[inline, virtual]
 

Notation declaration handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
notationName  The name of the notation.
base  The base.
systemId  The system id.
publicId  The public id.

Reimplemented in OutputSAXReceptor.

Definition at line 235 of file saxbase.h.

References XmlChar.

virtual void SAXBase::processingInstruction void *    userData,
const XmlChar *    target,
const XmlChar *    data
[inline, virtual]
 

Processing instruction handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
target  Target of the instruction.
data  Data of the instruction.

Reimplemented in OutputSAXReceptor.

Definition at line 96 of file saxbase.h.

References XmlChar.

virtual void SAXBase::reportError void    [inline, virtual]
 

Report parser error messages.

Does nothing.

Reimplemented in OutputSAXReceptor.

Definition at line 48 of file saxbase.h.

virtual void SAXBase::startCDATASection void *    userData [inline, virtual]
 

Start CDATA section handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.

Reimplemented in OutputSAXReceptor.

Definition at line 118 of file saxbase.h.

virtual void SAXBase::startDoctypeDecl void *    userData,
const XmlChar *    doctypeName,
const XmlChar *    systemId,
const XmlChar *    publicId,
int    hasInternalSubset
[inline, virtual]
 

Start doctype handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
doctypeName  The name of the doctype.
systemId  The system id.
publicId  The public id.
hasInternalSubset  Has the DTD an internal subset?

Reimplemented in OutputSAXReceptor.

Definition at line 183 of file saxbase.h.

References XmlChar.

virtual void SAXBase::startElement void *    userData,
const XmlChar *    name,
const XmlChar **    atts
[inline, virtual]
 

Start element handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
name  Name of the element.
atts  An Array of attributes.

Reimplemented in OutputSAXReceptor.

Definition at line 59 of file saxbase.h.

References XmlChar.

virtual int SAXBase::unknownEncoding void *    unknownEncodingData,
const XmlChar *    name,
XML_Encoding *    info
[inline, virtual]
 

Unknown encoding handler.

Does nothing.

Parameters:
unknownEncodingData  The description of the encoding.
name  The name of the encoding
info  The Expat's info structure.

Reimplemented in OutputSAXReceptor.

Definition at line 152 of file saxbase.h.

References XmlChar.

virtual void SAXBase::xmlDecl void *    userData,
const XmlChar *    version,
const XmlChar *    encoding,
int    standalone
[inline, virtual]
 

XML declaration handler.

Does nothing.

Parameters:
userData  Pointer to the user data structure.
version  The XML version.
encoding  The encoding of the document.
standalone  Is the document standalone?

Reimplemented in OutputSAXReceptor.

Definition at line 167 of file saxbase.h.

References XmlChar.


The documentation for this class was generated from the following file:
Generated on Wed Feb 5 10:43:06 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002