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

List of all members.

Detailed Description

This static class provides the ability to serialize and deserialize features to and from GML.


Static Public Member Functions

System::Void XmlSerialize (OSGeo::FDO::Commands::Feature::IFeatureReader *reader, OSGeo::FDO::Xml::XmlFeatureWriter *writer, OSGeo::FDO::Xml::XmlFeatureFlags *flags)
 writes the features retrieved by a feature reader to an XML document.
System::Void XmlSerialize (OSGeo::FDO::Commands::Feature::IFeatureReader *reader, OSGeo::FDO::Xml::XmlFeatureWriter *writer)
 writes the features retrieved by a feature reader to an XML document.

Member Function Documentation

System::Void OSGeo::FDO::Xml::XmlFeatureSerializer::XmlSerialize OSGeo::FDO::Commands::Feature::IFeatureReader reader,
OSGeo::FDO::Xml::XmlFeatureWriter writer,
OSGeo::FDO::Xml::XmlFeatureFlags flags
[static]
 

writes the features retrieved by a feature reader to an XML document.

Parameters:
reader Input the Feature Reader.
writer Input XML document writer. By default, the features written are wrapped in a GML FeatureCollection element. This behaviour can be changed by setting flags->writeCollection. The name of the collection element can also be customized by setting flags->collectionUri and flags->collectionName.
flags Input options for controlling the serializing of the features. If NULL then the flags passed to the document writer are used.

System::Void OSGeo::FDO::Xml::XmlFeatureSerializer::XmlSerialize OSGeo::FDO::Commands::Feature::IFeatureReader reader,
OSGeo::FDO::Xml::XmlFeatureWriter writer
[static]
 

writes the features retrieved by a feature reader to an XML document.

Parameters:
reader Input the Feature Reader.
writer Input XML document writer. By default, the features written are wrapped in a GML FeatureCollection element. This behaviour can be changed by setting flags->writeCollection. The name of the collection element can also be customized by setting flags->collectionUri and flags->collectionName.

Comments or suggestions? Send us feedback.