sptk2 logo
SPTK Home Page

sptk::CXmlEntities Class Reference
[XML]

XML entities. More...

#include <CXmlEntities.h>

List of all members.

Public Member Functions

 CXmlEntities ()
 Constructor.
void removeEntity (const char *name)
 Removes named entity.
void setEntity (const char *name, const char *replacement)
 Adds entity to map.


Detailed Description

XML entities.

Maps an XML entity string to a presentation string.


Member Function Documentation

void sptk::CXmlEntities::removeEntity ( const char *  name  )  [inline]

Removes named entity.

Parameters:
name const char *, entity name to remove
Returns:
true, if operation succeeds

Referenced by sptk::CXmlDocType::removeEntity().

void sptk::CXmlEntities::setEntity ( const char *  name,
const char *  replacement 
) [inline]

Adds entity to map.

If entity named 'name' exists already in map, its value is replaced with 'replacement'

Parameters:
name const char *, entity to add/change
replacement const char *, value that represents entity

Referenced by sptk::CXmlDocType::setEntity().


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

Mon Mar 5 11:56:22 2012: SPTK 3.5.7