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::XmlSchemaMapping Class Reference

Inherits OSGeo::FDO::Commands::Schema::PhysicalSchemaMapping.

Inheritance diagram for OSGeo::FDO::Xml::XmlSchemaMapping:

[legend]
List of all members.

Detailed Description

XmlSchemaMapping specifies overrides for translating a feature schema between FDO and GML.


Public Member Functions

__property System::String * get_TargetNamespace ()
 Gets the target namespace URI for the GML version of this schema.
OSGeo::FDO::Xml::XmlClassMappingCollectionGetClassMappings ()
 Gets the mappings for FDO Classes.
OSGeo::FDO::Xml::XmlElementMappingCollectionGetElementMappings ()
 Gets the mappings between GML global elements and their types as Fdo Classes. These mappings are used in two circumstances:
  • when features are read from a GML Document, these mappings determine the Feature class of each feature, based on its element name. If the element name is not in these mappings then the class name defaults to the element name.
  • when the Feature Schema for these overrides is written to GML, a global element is created from each item in element mappings collection.
.
System::String * GetProvider ()
 Gets the provider name.
__property System::Void set_TargetNamespace (System::String *package)
 Sets the target namespace URI for the GML version of this schema. When the Feature Schema for these overrides is written to GML, its targetNamespace is set to this value.

Member Function Documentation

__property System::String* OSGeo::FDO::Xml::XmlSchemaMapping::get_TargetNamespace  ) 
 

Gets the target namespace URI for the GML version of this schema.

Returns:
Returns the target namespace.

OSGeo ::FDO ::Xml ::XmlClassMappingCollection* OSGeo::FDO::Xml::XmlSchemaMapping::GetClassMappings  ) 
 

Gets the mappings for FDO Classes.

Returns:
Returns XmlClassMappingCollection

OSGeo ::FDO ::Xml ::XmlElementMappingCollection* OSGeo::FDO::Xml::XmlSchemaMapping::GetElementMappings  ) 
 

Gets the mappings between GML global elements and their types as Fdo Classes. These mappings are used in two circumstances:

  • when features are read from a GML Document, these mappings determine the Feature class of each feature, based on its element name. If the element name is not in these mappings then the class name defaults to the element name.
  • when the Feature Schema for these overrides is written to GML, a global element is created from each item in element mappings collection.
.

Returns:
Returns XmlElementMappingCollection

System::String* OSGeo::FDO::Xml::XmlSchemaMapping::GetProvider  ) 
 

Gets the provider name.

Returns:
Returns "OSGeo.GML.1.0". Note: this is the name given to this particular type of Schema Override set and is not the name of an actual FDO provider.

__property System::Void OSGeo::FDO::Xml::XmlSchemaMapping::set_TargetNamespace System::String *  package  ) 
 

Sets the target namespace URI for the GML version of this schema. When the Feature Schema for these overrides is written to GML, its targetNamespace is set to this value.

Parameters:
package Input the target namespace.

Comments or suggestions? Send us feedback.