C# Class HandCoded.Meta.DefaultSchemaReleaseLoader

An instance of the DefaultSchemaReleaseLoader class will extract the description of an XML Schema based grammar from the bootstrap data file and construct a SchemaRelease to hold it.
Inheritance: IReleaseLoader
Afficher le fichier Open project: formicary/fpml-toolkit-csharp

Méthodes publiques

Méthode Description
LoadData ( Specification specification, XmlElement context, SchemaRelease>.Dictionary loadedSchemas ) : void

Extracts the data from the DOM tree below the indicated context XmlElement and create a suitable structure to add to the indicated Specification.

Méthodes protégées

Méthode Description
GetAlternatePrefix ( XmlElement context ) : string

Extracts the release's alternate prefix string from the XML section describing the schema.

GetNamespaceUri ( XmlElement context ) : string

Extracts the release's namespace URI from the XML section describing the schema.

GetPreferredPrefix ( XmlElement context ) : string

Extracts the release's preferred prefix string from the XML section describing the schema.

GetRootElements ( XmlElement context ) : string[]

Extracts the release's root element names from the XML section describing the schema.

GetSchemaLocation ( XmlElement context ) : string

Extracts the release's default schema location path from the XML section describing the schema.

GetVersion ( XmlElement context ) : string

Extracts the release's version number string from the XML section describing the schema.

HandleImports ( SchemaRelease release, XmlElement context, SchemaRelease>.Dictionary loadedSchemas ) : void

Connects this schema to any other schemas that it imports.

Method Details

GetAlternatePrefix() protected méthode

Extracts the release's alternate prefix string from the XML section describing the schema.
protected GetAlternatePrefix ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
Résultat string

GetNamespaceUri() protected méthode

Extracts the release's namespace URI from the XML section describing the schema.
protected GetNamespaceUri ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
Résultat string

GetPreferredPrefix() protected méthode

Extracts the release's preferred prefix string from the XML section describing the schema.
protected GetPreferredPrefix ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
Résultat string

GetRootElements() protected méthode

Extracts the release's root element names from the XML section describing the schema.
protected GetRootElements ( XmlElement context ) : string[]
context System.Xml.XmlElement The context for the section.
Résultat string[]

GetSchemaLocation() protected méthode

Extracts the release's default schema location path from the XML section describing the schema.
protected GetSchemaLocation ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
Résultat string

GetVersion() protected méthode

Extracts the release's version number string from the XML section describing the schema.
protected GetVersion ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
Résultat string

HandleImports() protected méthode

Connects this schema to any other schemas that it imports.
protected HandleImports ( SchemaRelease release, XmlElement context, SchemaRelease>.Dictionary loadedSchemas ) : void
release SchemaRelease The for this schema.
context System.Xml.XmlElement The context for the section.
loadedSchemas SchemaRelease>.Dictionary A dictionay of previous bootstrapped schemas.
Résultat void

LoadData() public méthode

Extracts the data from the DOM tree below the indicated context XmlElement and create a suitable structure to add to the indicated Specification.
public LoadData ( Specification specification, XmlElement context, SchemaRelease>.Dictionary loadedSchemas ) : void
specification Specification The owning .
context System.Xml.XmlElement The context containing data
loadedSchemas SchemaRelease>.Dictionary A dictionary of all ready loaded schemas.
Résultat void