FDO API Reference Feature Data Objects

XmlDeserializable Class Reference

List of all members.

Detailed Description

FdoXmlDeserializable provides the ability to deserialize an FDO object from an XML Document. Deserialization support can be added to any class by basing it on FdoXmlDeserializable and implementing the XmlSaxHander callbacks.


Public Member Functions

NAMESPACE_OSGEO_FDO_XML::XmlFlags * GetDeserializationFlags ()
 Gets the XML Flags that were passed to the ReadXml() function that is currently being executed. This function would typically be called by the FdoXmlSaxHandler callbacks.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetFromExternalStylesheet ()
 Gets the stylesheet for converting the XML document from external to internal format. When classes derived from FdoXmlDeserializable define an internal format, they must override this function to return a stylesheet that does the conversion.
NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext * GetSaxContext ()
 Gets the SAX context to pass to the FdoXmlSaxHandler callbacks. Classes derived from FdoXmlDeserializable can override this function to specify a SAX context with class-specific information.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetXmlReader ()
 Gets the current XML Reader. This function would typically be called by the FdoXmlSaxHandler callbacks when ReadXml() is being invoked. When ReadXml() reads from a file, stream, or text reader, a wrapping XML reader is automatically created.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream)
 Reads an XML document from a stream.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoTextReader *textReader, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoTextReader *textReader)
 Reads an XML document from a text reader.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_XML::XmlReader *xmlReader, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_XML::XmlReader *xmlReader)
 Reads an XML document from an XML reader.
System::Void ReadXml (System::String *fileName, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (System::String *fileName)
 Reads from an XML document in a file.

Comments or suggestions? Send us feedback.