FDO .NET API Reference Feature Data Objects

OSGeo::FDO::Common::Xml Namespace Reference


Classes

interface  IXmlSaxHandler
 IXmlSaxHandler defines the SAX Handler callback interface. It is not an interface in the strict sense, since each function has a default implementation that does nothing. Implementors can override these callbacks to customize the handling of XML fragments parsed by XmlReader. More...
class  XmlAttribute
 XmlAttribute contains the name and value of a single attribute from an XML document. More...
class  XmlAttributeCollection
 The XmlAttributeCollection class represents a collection of XmlAttribute objects. More...
class  XmlCharDataHandler
 XmlCharDataHandler is convenience class for reading XML element content. When XmlReader encounters the start of an element with simple content, an object of this class can be constructed and pushed onto the XmlReader's SAX handler stack. When the end of the element is reached, the object will contain all of the element's content. More...
class  XmlCopyHandler
 XmlCopyHandler can be used to copy a set of elements from one XML document to another. It can be created and set as the SAX Handler for an XML Reader on the document to copy from. An XML Writer to the document to copy to is passed to one of the Create methods below. The elements to copy will be inserted at the XML writer's current position. More...
class  XmlReader
 XmlReader reads an XML document from a text or binary stream. As various document fragments are read, it calls the appropriate SAX Handler callback on the current SAX Handler. This object maintains a stack of SAX Handlers, with the current one being the top handler in the stack. Callers provide this object with SAX Handlers to customize the processing of the XML document. SAXHandler callbacks also provide a means to push other handlers onto the stack. For example, a SAX Handler for a particular XML element might push another handler to read a particular sub-element. More...
class  XmlSaxHandler
 XmlSaxHandler defines the SAX Handler callback interface. It is not an interface in the strict sense, since each function has a default implementation that does nothing. Implementors can override these callbacks to customize the handling of XML fragments parsed by XmlReader. More...
class  XmlSkipElementHandler
 XmlSkipHandler can be used to skip an XML element, when reading an XML document via XmlReader. It is a XmlSaxHandler with no callback implementations. Therefore, if another XmlSaxHandler's XmlStartElement callback returns a XmlSkipElementHandler then there are no more SAX events until the end of the current element is reached. More...
class  XmlWriter
 XmlWriter writes an XML document to a text or binary stream. Note: The XML document is not completely written until this object is destroyed by releasing all references to it. Therefore, this object must be destroyed before reading back the document being written. More...

Functions

System::Void XmlCharacters (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *characters)
 Default Sax callback that is called when the XmlReader reads a chunk of simple content for the current element. Does nothing by default. This function may be called multiple times for the same element, if the the content is long. Applications must not make any assumptions about the chunk size or number of chunks for each element.
System::Void XmlEndDocument (OSGeo::FDO::Common::Xml::XmlSaxContext *context)
 Default Sax callback that is called when the XmlReader finishes reading an XML document. Does nothing.
System::Boolean XmlEndElement (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *resourceLocation, System::String *name, System::String *qualifiedName)
 Default Sax callback that is called when the XmlReader reads the end tag for an XML element in the document. Does nothing.
OSGeo::FDO::Common::Xml::IXmlSaxHandlerXmlStartElement (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *resourceLocation, System::String *name, System::String *qualifiedName, OSGeo::FDO::Common::Xml::XmlAttributeCollection *attributes)
 Default Sax callback that is called when the XmlReader reads the start tag for an XML element in the document. Does nothing.

Variables

public __gc __interface IXmlSaxHandler
public __gc __interface IXmlSaxHandler
public __gc __interface IXmlSaxHandler

Comments or suggestions? Send us feedback.