MlpDtdResolver Class Reference

Resolver that modifies paths to DTD files. More...

#include <MlpDtdResolver.hpp>

List of all members.

Public Member Functions

 MlpDtdResolver ()
 Constructor.
 MlpDtdResolver (std::string)
 Constructor that sets pat to DTD directory.
 ~MlpDtdResolver ()
void setDtdPath (std::string dtdPath)
 Setter of path to DTD directory.
std::string getDtdPath ()
 Getter of path to DTD directory.
virtual xercesc::InputSource * resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId)
 Modifies path where DTD file should be looked for.

Protected Attributes

std::string mlpDtdPath

Detailed Description

Resolver that modifies paths to DTD files.

Every MLP message should contain path doctype definition file that describes this message. Path can be public URI leading to file at Open Mobile Alliance servers. This class modifies these URIs so it leads to local files.


Constructor & Destructor Documentation

MlpDtdResolver::MlpDtdResolver (  ) 

Constructor.

Constructor that sets path to directory with DTD files to empty string.

MlpDtdResolver::MlpDtdResolver ( std::string  dtdPath  ) 

Constructor that sets pat to DTD directory.

Constructor that sets path to directory with DTD files.

MlpDtdResolver::~MlpDtdResolver (  )  [inline]

Member Function Documentation

std::string MlpDtdResolver::getDtdPath (  ) 

Getter of path to DTD directory.

Getter that returns std::string with path to directory with DTD files.

Returns:
mlpDtdPath
xercesc::InputSource * MlpDtdResolver::resolveEntity ( const XMLCh *const   publicId,
const XMLCh *const   systemId 
) [virtual]

Modifies path where DTD file should be looked for.

This method is used for opening DTD files for verifying MLP messages.

Parameters:
publicId 
systemId Path to DTD file
Returns:
xercesc::LocalFileInputSource that represents file with path in systemId
void MlpDtdResolver::setDtdPath ( std::string  dtdPath  ) 

Setter of path to DTD directory.

Setter that sets path to directory with DTD files.

Returns:
mlpDtdPath

Member Data Documentation

std::string MlpDtdResolver::mlpDtdPath [protected]

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

Generated on Tue Jan 19 10:25:56 2010 for "MLP Library" by  doxygen 1.6.1