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

FdoXmlClassMapping Class Reference

#include <ClassMapping.h>

Inherits FdoPhysicalClassMapping.

Inheritance diagram for FdoXmlClassMapping:

[legend]
List of all members.

Detailed Description

FdoXmlClassMapping describes GML to FDO mappings for a particular FDO class Only mappings that cannot be represented in FDO are described.

Definition at line 32 of file ClassMapping.h.


Public Member Functions

virtual void _writeXml (FdoXmlWriter *xmlWriter, const FdoXmlFlags *flags)
 DOXYGEN-IGNORE Writes this XML Class Mapping to XML. Called when the element is serialized to XML.
FDO_API FdoXmlElementMappingCollectionGetElementMappings ()
 Gets the mappings between GML elements for this class's properties and their Fdo Classes.
FDO_API FdoStringGetGmlName ()
 Gets the name of the class's corresponding GML complexType.
FDO_API FdoStringGetWkBaseName ()
 Gets the most specialized well-known base type.
FDO_API FdoStringGetWkSchemaName ()
 Gets the schema containing most specialized well-known base type.

Static Public Member Functions

FDO_API FdoXmlClassMappingCreate (FdoString *name, FdoString *gmlName, FdoString *wkBaseName, FdoString *wkSchemaName=L"")
 Constructs an object describing the GML-FDO mappings for an FDO class.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoXmlClassMapping (FdoString *name, FdoString *gmlName, FdoString *wkBaseName, FdoString *wkSchemaName)
 FdoXmlClassMapping ()
 DOXYGEN-IGNORE
virtual void InitFromXml (FdoXmlSaxContext *pContext, FdoXmlAttributeCollection *attrs)
 Functions for XML support Initializes this Xml Class Mapping from its XML attributes. Called when the element is deserialized from XML.
virtual ~FdoXmlClassMapping ()

Constructor & Destructor Documentation

FdoXmlClassMapping::FdoXmlClassMapping  )  [inline, protected]
 

DOXYGEN-IGNORE

Definition at line 116 of file ClassMapping.h.

FdoXmlClassMapping::FdoXmlClassMapping FdoString name,
FdoString gmlName,
FdoString wkBaseName,
FdoString wkSchemaName
[protected]
 

virtual FdoXmlClassMapping::~FdoXmlClassMapping  )  [protected, virtual]
 


Member Function Documentation

virtual void FdoXmlClassMapping::_writeXml FdoXmlWriter xmlWriter,
const FdoXmlFlags flags
[virtual]
 

DOXYGEN-IGNORE Writes this XML Class Mapping to XML. Called when the element is serialized to XML.

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

Reimplemented from FdoPhysicalClassMapping.

FDO_API FdoXmlClassMapping* FdoXmlClassMapping::Create FdoString name,
FdoString gmlName,
FdoString wkBaseName,
FdoString wkSchemaName = L""
[static]
 

Constructs an object describing the GML-FDO mappings for an FDO class.

Returns:
Returns FdoXmlClassMapping

virtual void FdoXmlClassMapping::Dispose  )  [protected, virtual]
 

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

FDO_API FdoXmlElementMappingCollection* FdoXmlClassMapping::GetElementMappings  ) 
 

Gets the mappings between GML elements for this class's properties and their Fdo Classes.

Returns:
Returns FdoXmlElementMappingCollection*

FDO_API FdoString* FdoXmlClassMapping::GetGmlName  ) 
 

Gets the name of the class's corresponding GML complexType.

Returns:
Returns FdoString.

FDO_API FdoString* FdoXmlClassMapping::GetWkBaseName  ) 
 

Gets the most specialized well-known base type.

Returns:
Returns FdoString.

FDO_API FdoString* FdoXmlClassMapping::GetWkSchemaName  ) 
 

Gets the schema containing most specialized well-known base type.

Returns:
Returns FdoString.

virtual void FdoXmlClassMapping::InitFromXml FdoXmlSaxContext pContext,
FdoXmlAttributeCollection attrs
[protected, virtual]
 

Functions for XML support Initializes this Xml Class Mapping from its XML attributes. Called when the element is deserialized from XML.

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

Reimplemented from FdoPhysicalClassMapping.


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