C# 클래스 HandCoded.Meta.Release

A Release represents an identifiable version of a Specification.
상속: IGrammar
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 메소드들

메소드 설명
HasRootElement ( String rootElement ) : bool

Determines if the indicated root element name is one accepted by this Release.

IsInstance ( XmlDocument document ) : bool

Determines if the given XmlDocument is an instance of the XML grammar represented by this instance.

NewFragment ( string rootElement ) : XmlDocument

Create a new XmlDocument instance which will hold a fragment of a document based on the grammar represented by this release.

NewInstance ( String rootElement ) : XmlDocument

Creates a new instance the XML grammar represented by this instance using the indicated element name as the root element for the document.

ToString ( ) : string

Returns the specification name and version of this Release.

보호된 메소드들

메소드 설명
AddSourceConversion ( Conversion conversion ) : void

Adds the indicated Conversion to the set of conversions that take this Release as the source format.

AddTargetConversion ( Conversion conversion ) : void

Adds the indicated Conversion to the set of conversions that take this Release as the target format.

Release ( Specification specification, string version, string rootElements ) : System

Constructs a Release instance and associates it with the indicated Specification.

메소드 상세

AddSourceConversion() 보호된 메소드

Adds the indicated Conversion to the set of conversions that take this Release as the source format.
protected AddSourceConversion ( Conversion conversion ) : void
conversion Conversion The to be added.
리턴 void

AddTargetConversion() 보호된 메소드

Adds the indicated Conversion to the set of conversions that take this Release as the target format.
protected AddTargetConversion ( Conversion conversion ) : void
conversion Conversion The to be added.
리턴 void

HasRootElement() 공개 메소드

Determines if the indicated root element name is one accepted by this Release.
public HasRootElement ( String rootElement ) : bool
rootElement String The root element name to test.
리턴 bool

IsInstance() 공개 추상적인 메소드

Determines if the given XmlDocument is an instance of the XML grammar represented by this instance.
public abstract IsInstance ( XmlDocument document ) : bool
document System.Xml.XmlDocument The to be tested.
리턴 bool

NewFragment() 공개 추상적인 메소드

Create a new XmlDocument instance which will hold a fragment of a document based on the grammar represented by this release.
public abstract NewFragment ( string rootElement ) : XmlDocument
rootElement string The name of the root element.
리턴 System.Xml.XmlDocument

NewInstance() 공개 추상적인 메소드

Creates a new instance the XML grammar represented by this instance using the indicated element name as the root element for the document.
public abstract NewInstance ( String rootElement ) : XmlDocument
rootElement String The name of the root element.
리턴 System.Xml.XmlDocument

Release() 보호된 메소드

Constructs a Release instance and associates it with the indicated Specification.
protected Release ( Specification specification, string version, string rootElements ) : System
specification Specification The owning .
version string The version identifier for this release.
rootElements string The set of possible root element.
리턴 System

ToString() 공개 메소드

Returns the specification name and version of this Release.
public ToString ( ) : string
리턴 string