C# Class HandCoded.Meta.DefaultDTDReleaseLoader

An instance of the DefaultDTDReleaseLoader class will extract the description of a DTD based grammar from the bootstrap data file and construct a DTDRelease to hold it.
Inheritance: IReleaseLoader
Mostra file Open project: formicary/fpml-toolkit-csharp

Public Methods

Method 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.

Protected Methods

Method Description
GetPublicId ( XmlElement context ) : string

Extracts the release's public name from the XML section describing the DTD.

GetRootElement ( XmlElement context ) : string

Extracts the release's system identifier from the XML section describing the DTD.

GetSystemId ( XmlElement context ) : string

GetVersion ( XmlElement context ) : string

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

Method Details

GetPublicId() protected method

Extracts the release's public name from the XML section describing the DTD.
protected GetPublicId ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
return string

GetRootElement() protected method

Extracts the release's system identifier from the XML section describing the DTD.
protected GetRootElement ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
return string

GetSystemId() protected method

protected GetSystemId ( XmlElement context ) : string
context System.Xml.XmlElement The context for the section.
return string

GetVersion() protected method

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

LoadData() public method

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.
return void