C# 클래스 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.
상속: IReleaseLoader
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

GetAlternatePrefix() 보호된 메소드

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.
리턴 string

GetNamespaceUri() 보호된 메소드

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.
리턴 string

GetPreferredPrefix() 보호된 메소드

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.
리턴 string

GetRootElements() 보호된 메소드

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.
리턴 string[]

GetSchemaLocation() 보호된 메소드

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.
리턴 string

GetVersion() 보호된 메소드

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.
리턴 string

HandleImports() 보호된 메소드

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.
리턴 void

LoadData() 공개 메소드

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.
리턴 void