FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoFeatureSchemaCollection Class Reference

#include <FeatureSchemaCollection.h>

Inherits FdoSchemaCollection< FdoFeatureSchema >, FdoXmlDeserializable, and FdoXmlSerializable.

Inheritance diagram for FdoFeatureSchemaCollection:

[legend]
List of all members.

Detailed Description

The FdoFeatureSchemaCollection class represents a collection of FdoFeatureSchema objects.

Definition at line 36 of file FeatureSchemaCollection.h.


Public Member Functions

virtual FDO_API FdoIDisposableCollectionFindClass (const wchar_t *className)
 Takes a qualified or unqualified class name and return a collection of class definitions that match the class name. For qualified name, the collection contains at most one class definition.
virtual FDO_API FdoXmlReaderGetFromExternalStylesheet ()
 Gets the stylesheet for converting a Feature Schema collection from external to internal XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML.
virtual FDO_API FdoXmlReaderGetFromInternalStylesheet ()
 Gets the stylesheet for converting a Feature Schema collection from internal to external XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML.
virtual FdoXmlSaxContextGetSaxContext ()
 DOXYGEN-IGNORE
FDO_API FdoPhysicalSchemaMappingCollectionGetXmlSchemaMappings ()
 Gets a Schema Mapping Collection that describes the mappings between the elements in the GML Schema that were read and the FDO Feature Schema Elements that were created. This function returns the Schema Mapping Collection generated by the last call to ReadXml(). The collection contains one FdoXmlSchemaMapping per schema that was read.
virtual void XmlEndDocument (FdoXmlSaxContext *context)
virtual FdoXmlSaxHandlerXmlStartElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname, FdoXmlAttributeCollection *atts)
 Default Sax callback that is called when the FdoXmlReader reads the start tag for an XML element in the document. Does nothing.

Static Public Member Functions

FDO_API FdoFeatureSchemaCollectionCreate (FdoSchemaElement *parent)
 Constructs an instance of an FdoFeatureSchemaCollection using the specified argument.

Protected Member Functions

virtual void _writeXml (FdoXmlWriter *xmlWriter, const FdoXmlFlags *flags)
 FdoXmlSerializable override that serializes a Feature Schema collection to XML.
virtual void Dispose ()
 Dispose this object.
 FdoFeatureSchemaCollection (FdoSchemaElement *parent)
 Constructs an instance of a FeatureSchemaCollection using the specified argument.
 FdoFeatureSchemaCollection ()
 DOXYGEN-IGNORE
virtual ~FdoFeatureSchemaCollection ()

Constructor & Destructor Documentation

FdoFeatureSchemaCollection::FdoFeatureSchemaCollection  )  [inline, protected]
 

DOXYGEN-IGNORE

Definition at line 43 of file FeatureSchemaCollection.h.

FdoFeatureSchemaCollection::FdoFeatureSchemaCollection FdoSchemaElement parent  )  [inline, protected]
 

Constructs an instance of a FeatureSchemaCollection using the specified argument.

Definition at line 47 of file FeatureSchemaCollection.h.

virtual FdoFeatureSchemaCollection::~FdoFeatureSchemaCollection  )  [protected, virtual]
 


Member Function Documentation

virtual void FdoFeatureSchemaCollection::_writeXml FdoXmlWriter xmlWriter,
const FdoXmlFlags flags
[protected, virtual]
 

FdoXmlSerializable override that serializes a Feature Schema collection to XML.

Implements FdoXmlSerializable.

FDO_API FdoFeatureSchemaCollection* FdoFeatureSchemaCollection::Create FdoSchemaElement parent  )  [static]
 

Constructs an instance of an FdoFeatureSchemaCollection using the specified argument.

Parameters:
parent Input parent
Returns:
Returns FdoFeatureSchemaCollection

virtual void FdoFeatureSchemaCollection::Dispose  )  [inline, protected, virtual]
 

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

Definition at line 56 of file FeatureSchemaCollection.h.

virtual FDO_API FdoIDisposableCollection* FdoFeatureSchemaCollection::FindClass const wchar_t *  className  )  [virtual]
 

Takes a qualified or unqualified class name and return a collection of class definitions that match the class name. For qualified name, the collection contains at most one class definition.

Parameters:
className The class name
Returns:
Returns a collection of classes

virtual FDO_API FdoXmlReader* FdoFeatureSchemaCollection::GetFromExternalStylesheet  )  [virtual]
 

Gets the stylesheet for converting a Feature Schema collection from external to internal XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML.

Returns:
Returns the stylesheet

Reimplemented from FdoXmlDeserializable.

virtual FDO_API FdoXmlReader* FdoFeatureSchemaCollection::GetFromInternalStylesheet  )  [virtual]
 

Gets the stylesheet for converting a Feature Schema collection from internal to external XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML.

Returns:
Returns the stylesheet

Reimplemented from FdoXmlSerializable.

virtual FdoXmlSaxContext* FdoFeatureSchemaCollection::GetSaxContext  )  [virtual]
 

DOXYGEN-IGNORE

FdoXmlDeserializable override for getting the SAX Context for reading Feature Schemas. Not exposed via the FDO API.

Reimplemented from FdoXmlDeserializable.

FDO_API FdoPhysicalSchemaMappingCollection* FdoFeatureSchemaCollection::GetXmlSchemaMappings  ) 
 

Gets a Schema Mapping Collection that describes the mappings between the elements in the GML Schema that were read and the FDO Feature Schema Elements that were created. This function returns the Schema Mapping Collection generated by the last call to ReadXml(). The collection contains one FdoXmlSchemaMapping per schema that was read.

Returns:
Returns FdoPhysicalSchemaMappingCollection*. Returns NULL if ReadXml() has not been called on this object.

virtual void FdoFeatureSchemaCollection::XmlEndDocument FdoXmlSaxContext context  )  [virtual]
 

FdoXmlDeserializable overrides for deserializing a Feature Schema collection from XML. These are not exposed via the FDO API.

Reimplemented from FdoXmlSaxHandler.

virtual FdoXmlSaxHandler* FdoFeatureSchemaCollection::XmlStartElement FdoXmlSaxContext context,
FdoString uri,
FdoString name,
FdoString qname,
FdoXmlAttributeCollection atts
[virtual]
 

Default Sax callback that is called when the FdoXmlReader reads the start tag for an XML element in the document. Does nothing.

Parameters:
saxContext Input caller specified contextual information
uri Input the element's Universal Resource Indicator
name Input the unqualified element name (doesn't include namespace)
qname Input the qualified element name (includes namespace)
atts Input the attributes for the element.
Returns:
Returns the SAX Handler for the element's sub-elements. If NULL then this SAX handler will handle the sub-elements

Reimplemented from FdoXmlSaxHandler.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.