FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoXmlFeatureHandler Class Reference

#include <FeatureHandler.h>

Inherited by FdoXmlFeatureReader.

Inheritance diagram for FdoXmlFeatureHandler:

[legend]
List of all members.

Detailed Description

FdoXmlFeatureHandler defines the callback interface for reading features from XML. It is not an interface in the strict sense, since each function has a default implementation that does nothing. Implementors can override these callbacks to customize the handling of feature fragments parsed by FdoXmlFeaturePropertyReader. Note that the default FeatureProperty implementations log errors in certain circumstances. Therefore, these functions must be overridden to avoid these errors and indicate that these types of properties are being handled by the caller.

Definition at line 39 of file FeatureHandler.h.


Public Member Functions

virtual FDO_API FdoBoolean FeatureBinaryData (FdoXmlFeatureContext *featureContext, FdoByte *bytes, FdoSize count)
 Default Feature callback that is called when the FdoXmlFeaturePropertyReader reads a chunk of data for a Raster or BLOB property. Does nothing by default. This function may be called multiple times for the same property, if the the property value is large. Applications must not make any assumptions about the chunk size or number of chunks for each property.
virtual FDO_API FdoBoolean FeatureCharacters (FdoXmlFeatureContext *featureContext, FdoString *chars)
 Default Feature Handle callback that is called when the FdoXmlFeaturePropertyReader reads a chunk of data for a CLOB property. Does nothing by default. This function may be called multiple times for the same property, if the the property value is large. Applications must not make any assumptions about the chunk size or number of chunks for each property.
virtual FDO_API FdoBoolean FeatureCollectionEnd (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a feature collection. Does nothing.
virtual FDO_API FdoXmlFeatureHandlerFeatureCollectionStart (FdoXmlFeatureContext *featureContext, FdoClassDefinition *classDefinition)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a feature collection. Does nothing.
virtual FDO_API void FeatureDocumentEnd (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader finishes reading an XML document. Does nothing.
virtual FDO_API FdoXmlFeatureHandlerFeatureDocumentStart (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader starts reading an XML document. Does nothing.
virtual FDO_API FdoBoolean FeatureEnd (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a feature. Does nothing.
virtual FDO_API FdoBoolean FeatureEndAssociationProperty (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of an association property. Does nothing.
virtual FDO_API FdoBoolean FeatureEndLobProperty (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a lob property. Does nothing.
virtual FDO_API FdoBoolean FeatureEndObjectProperty (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of an object property. Does nothing.
virtual FDO_API FdoBoolean FeatureEndRasterProperty (FdoXmlFeatureContext *featureContext)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a raster property. Does nothing.
virtual FDO_API FdoBoolean FeatureGeometricProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoByte *geometryByteArray, FdoInt32 byteCount)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a geometric property. Logs an error when the current ErrorLevel is High or Normal.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoString *stringPropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with string value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoFloat floatPropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with single precision value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoInt64 int64PropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int64 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoInt32 int32PropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int32 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoInt16 int16PropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int16 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoDouble doublePropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with double value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoDateTime dateTimePropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with DataTime value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoByte bytePropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with single byte value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoBoolean FeatureProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoBoolean boolPropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with boolean value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.
virtual FDO_API FdoXmlFeatureHandlerFeatureStart (FdoXmlFeatureContext *featureContext, FdoClassDefinition *classDefinition)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a feature. Does nothing.
virtual FDO_API FdoXmlFeatureHandlerFeatureStartAssociationProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoClassDefinition *classDefinition)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of an association property. Does nothing by default. A number of other events are fired between FeatureStartAssociationProperty and FeatureEndAssociationProperty, to identify the associated feature referenced by the current association property:
  • if the associated feature is specified by an xlink:href, then the href value is sent through a single FeatureProperty event. The property is named "gml/id".
  • if the associated feature is specified by its identity property values, then a FeatureProperty event is fired for each identity property value.
  • if the associated feature is inline (specified by a sub-element of current association property) then a set of FeatureStart, FeatureProperty, and FeatureEnd events are fired.
.
virtual FDO_API FdoBoolean FeatureStartLobProperty (FdoXmlFeatureContext *featureContext, FdoString *name)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a lob property. Logs an error when the current ErrorLevel is High or Normal. If this is a BLOB property then its value is sent through the FeatureBinaryData() callback. If this is a CLOB property then its value is sent through the FeatureCharacters() callback.
virtual FDO_API FdoXmlFeatureHandlerFeatureStartObjectProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoClassDefinition *classDefinition)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of an object property. Does nothing.
virtual FDO_API FdoBoolean FeatureStartRasterProperty (FdoXmlFeatureContext *featureContext, FdoString *name, FdoIRaster *rasterPropertyValue)
 Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a raster property. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable. The raster image is sent by subsequent calls to FeatureBinaryData().

Member Function Documentation

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureBinaryData FdoXmlFeatureContext featureContext,
FdoByte bytes,
FdoSize  count
[virtual]
 

Default Feature callback that is called when the FdoXmlFeaturePropertyReader reads a chunk of data for a Raster or BLOB property. Does nothing by default. This function may be called multiple times for the same property, if the the property value is large. Applications must not make any assumptions about the chunk size or number of chunks for each property.

Parameters:
featureContext Input caller specified contextual information
bytes Input the next chunk of binary content in unencoded form. An exception is thrown if the content cannot be decoded.
count Input the number of bytes of binary content.
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureCharacters FdoXmlFeatureContext featureContext,
FdoString chars
[virtual]
 

Default Feature Handle callback that is called when the FdoXmlFeaturePropertyReader reads a chunk of data for a CLOB property. Does nothing by default. This function may be called multiple times for the same property, if the the property value is large. Applications must not make any assumptions about the chunk size or number of chunks for each property.

Parameters:
featureContext Input caller specified contextual information
chars Input the next chunk of simple content
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureCollectionEnd FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a feature collection. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoXmlFeatureHandler* FdoXmlFeatureHandler::FeatureCollectionStart FdoXmlFeatureContext featureContext,
FdoClassDefinition classDefinition
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a feature collection. Does nothing.

Parameters:
featureContext Input caller specified contextual information
classDefinition Input class definition.
Returns:
Returns the feature Handler for the features in this collection. If NULL, this feature handler remains in effect.

virtual FDO_API void FdoXmlFeatureHandler::FeatureDocumentEnd FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader finishes reading an XML document. Does nothing.

Parameters:
featureContext Input caller specified contextual information

virtual FDO_API FdoXmlFeatureHandler* FdoXmlFeatureHandler::FeatureDocumentStart FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader starts reading an XML document. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returns the feature Handler for all sub-elements of the element that was current when the read started. If NULL, this feature handler remains in effect.

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureEnd FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a feature. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureEndAssociationProperty FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of an association property. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureEndLobProperty FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a lob property. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureEndObjectProperty FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of an object property. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureEndRasterProperty FdoXmlFeatureContext featureContext  )  [virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the end of a raster property. Does nothing.

Parameters:
featureContext Input caller specified contextual information
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureGeometricProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoByte geometryByteArray,
FdoInt32  byteCount
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a geometric property. Logs an error when the current ErrorLevel is High or Normal.

Parameters:
featureContext Input caller specified contextual information
name Input property name
geometryByteArray Input pointer to the byte array defining the geometry value
byteCount Input number of bytes in the byte array
Returns:
Returning true causes the current parse to stop. Returning false causes the parse continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoString stringPropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with string value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
stringPropertyValue Input string property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoFloat  floatPropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with single precision value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
floatPropertyValue Input float property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoInt64  int64PropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int64 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
int64PropertyValue Input Int64 property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoInt32  int32PropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int32 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
int32PropertyValue Input Int32 property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoInt16  int16PropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with int16 value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
int16PropertyValue Input Int16 property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoDouble  doublePropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with double value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
doublePropertyValue Input double property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoDateTime  dateTimePropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with DataTime value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
dateTimePropertyValue Input FdoDateTime property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoByte  bytePropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with single byte value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
bytePropertyValue Input byte property value
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoBoolean  boolPropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters a property with boolean value. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable.

Parameters:
featureContext Input caller specified contextual information
name Input property name
boolPropertyValue Input value of boolean property.
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoXmlFeatureHandler* FdoXmlFeatureHandler::FeatureStart FdoXmlFeatureContext featureContext,
FdoClassDefinition classDefinition
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a feature. Does nothing.

Parameters:
featureContext Input caller specified contextual information
classDefinition Input definition containing feature class name, schema name, valid property list, etc.
Returns:
Returns the feature Handler for the feature's properties. If NULL, this feature handler remains in effect.

virtual FDO_API FdoXmlFeatureHandler* FdoXmlFeatureHandler::FeatureStartAssociationProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoClassDefinition classDefinition
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of an association property. Does nothing by default. A number of other events are fired between FeatureStartAssociationProperty and FeatureEndAssociationProperty, to identify the associated feature referenced by the current association property:

  • if the associated feature is specified by an xlink:href, then the href value is sent through a single FeatureProperty event. The property is named "gml/id".
  • if the associated feature is specified by its identity property values, then a FeatureProperty event is fired for each identity property value.
  • if the associated feature is inline (specified by a sub-element of current association property) then a set of FeatureStart, FeatureProperty, and FeatureEnd events are fired.
.

Parameters:
featureContext Input caller specified contextual information
name Input association property name
classDefinition Input definition for the association property's associated class.
Returns:
Returns the feature Handler for the current association property's sub-properties. If NULL, this feature handler remains in effect.

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureStartLobProperty FdoXmlFeatureContext featureContext,
FdoString name
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a lob property. Logs an error when the current ErrorLevel is High or Normal. If this is a BLOB property then its value is sent through the FeatureBinaryData() callback. If this is a CLOB property then its value is sent through the FeatureCharacters() callback.

Parameters:
featureContext Input caller specified contextual information
name Input property name
Returns:
Returning true causes the current parse to stop. Returning false cause the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

virtual FDO_API FdoXmlFeatureHandler* FdoXmlFeatureHandler::FeatureStartObjectProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoClassDefinition classDefinition
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of an object property. Does nothing.

Parameters:
featureContext Input caller specified contextual information
name Input object property name
classDefinition Input definition for the object property's class.
Returns:
Returns the feature Handler for the current object property's sub-properties. If NULL, this feature handler remains in effect.

virtual FDO_API FdoBoolean FdoXmlFeatureHandler::FeatureStartRasterProperty FdoXmlFeatureContext featureContext,
FdoString name,
FdoIRaster rasterPropertyValue
[virtual]
 

Default feature handler callback that is called when the FdoXmlFeaturePropertyReader encounters the start of a raster property. Logs an error when the current ErrorLevel is High or Normal. An error is also logged when the ErrorLevel is Low and the current property is not nullable. The raster image is sent by subsequent calls to FeatureBinaryData().

Parameters:
featureContext Input caller specified contextual information
name Input property name
rasterPropertyValue Input raster image properties. This object always has a NULL stream reader. The image is handled by the FeatureBinaryData() callback.
Returns:
Returning true causes the current parse to stop. Returning false causes the parse to continue. Return value is ignored if the current parse is not an incremental parse ( see FdoXmlFeaturePropertyReader::Parse())

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.