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::Commands::Schema::PhysicalClassMapping Class Reference

Inherits OSGeo::FDO::Commands::Schema::PhysicalElementMapping.

Inherited by OSGeo::FDO::Xml::XmlClassMapping.

Inheritance diagram for OSGeo::FDO::Commands::Schema::PhysicalClassMapping:

[legend]
List of all members.

Detailed Description

PhysicalClassMapping is an abstract class that acts as a base class for all Physical Schema Mapping class overrides.


Public Member Functions

System::Void InitFromXml (OSGeo::FDO::Common::Xml::XmlSaxContext *context, OSGeo::FDO::Common::Xml::XmlAttributeCollection *attributes)
 Initializes this class from its XML attributes. Called when the class is deserialized from XML. This function decodes any encoded class names (See _writeXml) and strips off the "Type" suffix if present. Can be extended to handle particular XML attributes for derived classes.
System::Void WriteXml (OSGeo::FDO::Common::Xml::XmlWriter *xmlWriter, OSGeo::FDO::Xml::XmlFlags *flags)
 Writes this class to XML. Called when the class is serialized to XML. This function converts (encodes) class names to be valid XML element names and appends the "Type" suffix to the name. Can be extended to handle particular XML attributes for derived classes.

Note: Schema Override elements that do not require name encoding should be based on PhysicalElementMapping instead of this class.


Protected Member Functions

 PhysicalClassMapping (System::IntPtr unmanaged, System::Boolean autoDelete)
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

OSGeo::FDO::Commands::Schema::PhysicalClassMapping::PhysicalClassMapping System::IntPtr  unmanaged,
System::Boolean  autoDelete
[protected]
 

DOXYGEN-IGNORE


Member Function Documentation

System::Void OSGeo::FDO::Commands::Schema::PhysicalClassMapping::InitFromXml OSGeo::FDO::Common::Xml::XmlSaxContext context,
OSGeo::FDO::Common::Xml::XmlAttributeCollection attributes
 

Initializes this class from its XML attributes. Called when the class is deserialized from XML. This function decodes any encoded class names (See _writeXml) and strips off the "Type" suffix if present. Can be extended to handle particular XML attributes for derived classes.

Parameters:
context Input context contain information about the current deserialization operation
attributes Input the XML attributes.
Returns:
Returns nothing

Reimplemented from OSGeo::FDO::Commands::Schema::PhysicalElementMapping.

System::Void OSGeo::FDO::Commands::Schema::PhysicalClassMapping::WriteXml OSGeo::FDO::Common::Xml::XmlWriter xmlWriter,
OSGeo::FDO::Xml::XmlFlags flags
 

Writes this class to XML. Called when the class is serialized to XML. This function converts (encodes) class names to be valid XML element names and appends the "Type" suffix to the name. Can be extended to handle particular XML attributes for derived classes.

Note: Schema Override elements that do not require name encoding should be based on PhysicalElementMapping instead of this class.

Parameters:
xmlWriter Input write the class to this XML writer
flags Input flags that control the writing of the class.
Returns:
Returns nothing
Write this element to XML.

Reimplemented from OSGeo::FDO::Commands::Schema::PhysicalElementMapping.


Comments or suggestions? Send us feedback.