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

mgXmlFeatureWriter.h File Reference


Namespaces

namespace  OSGeo
namespace  OSGeo::FDO
namespace  OSGeo::FDO::Commands
namespace  OSGeo::FDO::Common
namespace  OSGeo::FDO::Common::Xml
namespace  OSGeo::FDO::Schema
namespace  OSGeo::FDO::Xml

Classes

class  OSGeo::FDO::Xml::XmlFeatureWriter
 XmlFeatureWriter writes features to an XML document. The features are written in GML format. Each feature is written in 3 steps:
  1. call SetClassDefintion() to define the feature's class name, schema name, and list of valid properties.
  2. call SetProperty() for each feature property value to set.
  3. call WriteFeature() to write the feature with the current property values. The feature's element name is derived from the class and schema name.
WriteFeature() ensures that the properties are written in their proper order. This may have slight performance implications since this writer has to accumulate the property values before writing them. If performance is a concern then XmlFeaturePropertyWriter should be used instead. More...

Comments or suggestions? Send us feedback.