FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Xml::XmlFeatureHandler Class Reference

Inherits OSGeo::FDO::Runtime::Disposable.

Inherited by OSGeo::FDO::Xml::XmlFeatureReader.

Inheritance diagram for OSGeo::FDO::Xml::XmlFeatureHandler:

[legend]
List of all members.

Detailed Description

XmlFeatureHandler 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 XmlFeaturePropertyReader. 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.


Public Member Functions

System::Boolean FeatureBinaryData (OSGeo::FDO::Xml::XmlFeatureContext *context, System::Byte buffer[])
 Default Feature callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureCharacters (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *value)
 Default Feature Handle callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureCollectionEnd (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of a feature collection. Does nothing.
OSGeo::FDO::Xml::XmlFeatureHandlerFeatureCollectionStart (OSGeo::FDO::Xml::XmlFeatureContext *context, OSGeo::FDO::Schema::ClassDefinition *definition)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the start of a feature collection. Does nothing.
System::Void FeatureDocumentEnd (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader finishes reading an XML document. Does nothing.
OSGeo::FDO::Xml::XmlFeatureHandlerFeatureDocumentStart (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader starts reading an XML document. Does nothing.
System::Boolean FeatureEnd (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of a feature. Does nothing.
System::Boolean FeatureEndAssociationProperty (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of an association property. Does nothing.
System::Boolean FeatureEndLobProperty (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of a lob property. Does nothing.
System::Boolean FeatureEndObjectProperty (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of an object property. Does nothing.
System::Boolean FeatureEndRasterProperty (OSGeo::FDO::Xml::XmlFeatureContext *context)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the end of a raster property. Does nothing.
System::Boolean FeatureGeometricProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Byte buffer[])
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters a geometric property. Logs an error when the current ErrorLevel is High or Normal.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::String *value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Single value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Int64 value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Int32 value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Int16 value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Double value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::DateTime value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Byte value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
System::Boolean FeatureProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, System::Boolean value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
OSGeo::FDO::Xml::XmlFeatureHandlerFeatureStart (OSGeo::FDO::Xml::XmlFeatureContext *context, OSGeo::FDO::Schema::ClassDefinition *definition)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the start of a feature. Does nothing.
OSGeo::FDO::Xml::XmlFeatureHandlerFeatureStartAssociationProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, OSGeo::FDO::Schema::ClassDefinition *value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
.
System::Boolean FeatureStartLobProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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.
OSGeo::FDO::Xml::XmlFeatureHandlerFeatureStartObjectProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, OSGeo::FDO::Schema::ClassDefinition *value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader encounters the start of an object property. Does nothing.
System::Boolean FeatureStartRasterProperty (OSGeo::FDO::Xml::XmlFeatureContext *context, System::String *name, OSGeo::FDO::Raster::IRaster *value)
 Default feature handler callback that is called when the XmlFeaturePropertyReader 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().

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureBinaryData OSGeo::FDO::Xml::XmlFeatureContext context,
System::Byte  buffer[]
 

Default Feature callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
buffer Input the next chunk of binary content in unencoded form. An exception is thrown if the content cannot be decoded.
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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureCharacters OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  value
 

Default Feature Handle callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
value 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureCollectionEnd OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

OSGeo ::FDO ::Xml ::XmlFeatureHandler* OSGeo::FDO::Xml::XmlFeatureHandler::FeatureCollectionStart OSGeo::FDO::Xml::XmlFeatureContext context,
OSGeo::FDO::Schema::ClassDefinition definition
 

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

Parameters:
context Input caller specified contextual information
definition Input definition containing feature class name, schema name, valid property list, etc.
Returns:
Returns the feature Handler for the features in this collection. If NULL, this feature handler remains in effect.

System::Void OSGeo::FDO::Xml::XmlFeatureHandler::FeatureDocumentEnd OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context Input caller specified contextual information

OSGeo ::FDO ::Xml ::XmlFeatureHandler* OSGeo::FDO::Xml::XmlFeatureHandler::FeatureDocumentStart OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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.

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureEnd OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureEndAssociationProperty OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureEndLobProperty OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureEndObjectProperty OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureEndRasterProperty OSGeo::FDO::Xml::XmlFeatureContext context  ) 
 

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

Parameters:
context 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureGeometricProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Byte  buffer[]
 

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

Parameters:
context Input caller specified contextual information
name Input property name
buffer Input pointer to the byte array defining the geometry value
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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::String *  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Single  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Int64  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Int32  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Int16  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Double  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::DateTime  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Byte  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
System::Boolean  value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value Input 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 XmlFeaturePropertyReader::Parse())

OSGeo ::FDO ::Xml ::XmlFeatureHandler* OSGeo::FDO::Xml::XmlFeatureHandler::FeatureStart OSGeo::FDO::Xml::XmlFeatureContext context,
OSGeo::FDO::Schema::ClassDefinition definition
 

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

Parameters:
context Input caller specified contextual information
definition 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.

OSGeo ::FDO ::Xml ::XmlFeatureHandler* OSGeo::FDO::Xml::XmlFeatureHandler::FeatureStartAssociationProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
OSGeo::FDO::Schema::ClassDefinition value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input association property name
value 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.

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureStartLobProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context 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 XmlFeaturePropertyReader::Parse())

OSGeo ::FDO ::Xml ::XmlFeatureHandler* OSGeo::FDO::Xml::XmlFeatureHandler::FeatureStartObjectProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
OSGeo::FDO::Schema::ClassDefinition value
 

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

Parameters:
context Input caller specified contextual information
name Input object property name
value 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.

System::Boolean OSGeo::FDO::Xml::XmlFeatureHandler::FeatureStartRasterProperty OSGeo::FDO::Xml::XmlFeatureContext context,
System::String *  name,
OSGeo::FDO::Raster::IRaster value
 

Default feature handler callback that is called when the XmlFeaturePropertyReader 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:
context Input caller specified contextual information
name Input property name
value 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 XmlFeaturePropertyReader::Parse())

System::Void OSGeo::FDO::Xml::XmlFeatureHandler::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.