DWFToolkit::DWFXCustomPropertiesReader Class Reference

#include "dwf/dwfx/reader/DWFPropertiesReader.h"

Inheritance diagram for DWFToolkit::DWFXCustomPropertiesReader:

Inheritance graph
[legend]
Collaboration diagram for DWFToolkit::DWFXCustomPropertiesReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class implements the required XML parsing handlers to compose dwfx core properties.

Since:
7.4.0
This class contains the processing logic particular to the known versions of the custom properties. The algorithm is tuned specifically for this schema and is not intended to be generic.

Definition at line 59 of file CustomPropertiesReader.h.

Public Member Functions

_DWFTK_API DWFXCustomPropertiesReader () throw ()
virtual _DWFTK_API ~DWFXCustomPropertiesReader () throw ()
_DWFTK_API DWFXCustomPropertiesReaderfilter () const throw ()
_DWFTK_API void setFilter (DWFXCustomPropertiesReader *pFilter) throw ()
virtual _DWFTK_API DWFPropertyprovideProperty (DWFProperty *pProperty) throw ()
_DWFTK_API void notifyStartElement (const char *zName, const char **ppAttributeList) throw ()
_DWFTK_API void notifyEndElement (const char *zName) throw ()
_DWFTK_API void notifyStartNamespace (const char *zPrefix, const char *zURI) throw ()
_DWFTK_API void notifyEndNamespace (const char *zPrefix) throw ()
_DWFTK_API void notifyCharacterData (const char *zCData, int nLength) throw ()

Protected Attributes

DWFXMLElementBuilder _oDefaultElementBuilder
DWFXMLElementBuilder_pElementBuilder


Constructor & Destructor Documentation

_DWFTK_API DWFToolkit::DWFXCustomPropertiesReader::DWFXCustomPropertiesReader  )  throw ()
 

Constructor

Exceptions:
None 

virtual _DWFTK_API DWFToolkit::DWFXCustomPropertiesReader::~DWFXCustomPropertiesReader  )  throw () [virtual]
 

Destructor

Exceptions:
None 


Member Function Documentation

_DWFTK_API DWFXCustomPropertiesReader* DWFToolkit::DWFXCustomPropertiesReader::filter  )  const throw ()
 

Returns the parser filter, if applicable.

Returns:
The external filter to be applied to this parser. This pointer must be deleted by the caller with the DWFCORE_FREE_OBJECT macro.
Exceptions:
None 

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::notifyCharacterData const char *  zCData,
int  nLength
throw ()
 

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::notifyEndElement const char *  zName  )  throw ()
 

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::notifyEndNamespace const char *  zPrefix  )  throw ()
 

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::notifyStartElement const char *  zName,
const char **  ppAttributeList
throw ()
 

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::notifyStartNamespace const char *  zPrefix,
const char *  zURI
throw ()
 

virtual _DWFTK_API DWFProperty* DWFToolkit::DWFXCustomPropertiesReader::provideProperty DWFProperty pProperty  )  throw () [virtual]
 

Accept the property.

Parameters:
pProperty The new property.
Returns:
The filtered property.
Exceptions:
None 

Reimplemented in DWFToolkit::DWFXCustomProperties.

_DWFTK_API void DWFToolkit::DWFXCustomPropertiesReader::setFilter DWFXCustomPropertiesReader pFilter  )  throw ()
 

Inserts a parser filter.

Parameters:
pFilter The filter to apply to this parser. This pointer is not ever deleted by this object. This pointer must be deleted by the caller with the DWFCORE_FREE_OBJECT macro.
Exceptions:
None 


Member Data Documentation

DWFXMLElementBuilder DWFToolkit::DWFXCustomPropertiesReader::_oDefaultElementBuilder [protected]
 

Default building behavior and element object allocator for readers.

Definition at line 162 of file CustomPropertiesReader.h.

DWFXMLElementBuilder* DWFToolkit::DWFXCustomPropertiesReader::_pElementBuilder [protected]
 

This will point to the default builder initially. But implementation classes can alter this pointer as necessary but they should all use only this pointer to do the actual work.

Definition at line 169 of file CustomPropertiesReader.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:24 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5