C# 클래스 HandCoded.Meta.SchemaRelease

The SchemaRelease class adds support for the ISchema interface to the base Release class.
상속: Release, ISchema
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 메소드들

메소드 설명
AddImport ( SchemaRelease release ) : void

Creates a bi-directional reference between this SchemaRelease and the meta data for other instance that it imports.

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.

RemoveImport ( SchemaRelease release ) : void

Breaks the bi-directional reference between this SchemaRelease and the indicated one.

SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix ) : System

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.

This constructor should be used when creating a description of a pure extension schema, i.e. one that contains no useable root elements.

SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, InstanceInitialiser initialiser, SchemaRecogniser recogniser ) : System

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.

This constructor should be used when creating a description of a pure extension schema, i.e. one that contains no useable root elements.

SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, InstanceInitialiser initialiser, SchemaRecogniser recogniser, string rootElement ) : System

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.

This constructor should be used when creating a description of a schema that has only a single root element.

SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, string rootElement ) : System

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.

This constructor should be used when creating a description of a schema that has only a single root element.

비공개 메소드들

메소드 설명
FindAllImports ( List releases ) : List

Recursively build a set of SchemaRelease instances containing this one and any that it imports with the least dependent first.

메소드 상세

AddImport() 공개 메소드

Creates a bi-directional reference between this SchemaRelease and the meta data for other instance that it imports.
public AddImport ( SchemaRelease release ) : void
release SchemaRelease The imported .
리턴 void

IsInstance() 공개 메소드

Determines if the given XmlDocument is an instance of the XML grammar represented by this instance.
public 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 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 NewInstance ( string rootElement ) : XmlDocument
rootElement string The name of the root element.
리턴 System.Xml.XmlDocument

RemoveImport() 공개 메소드

Breaks the bi-directional reference between this SchemaRelease and the indicated one.
public RemoveImport ( SchemaRelease release ) : void
release SchemaRelease The no longer imported.
리턴 void

SchemaRelease() 공개 메소드

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.
This constructor should be used when creating a description of a pure extension schema, i.e. one that contains no useable root elements.
public SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix ) : System
specification Specification The owning .
version string The version identifier for this release.
namespaceUri string The namespace used to identify the schema.
schemaLocation string The default schema location.
preferredPrefix string The preferred prefix for the namespace.
alternatePrefix string The alternate prefix for the namespace.
리턴 System

SchemaRelease() 공개 메소드

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.
This constructor should be used when creating a description of a pure extension schema, i.e. one that contains no useable root elements.
public SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, InstanceInitialiser initialiser, SchemaRecogniser recogniser ) : System
specification Specification The owning .
version string The version identifier for this release.
namespaceUri string The namespace used to identify the schema.
schemaLocation string The default schema location.
preferredPrefix string The preferred prefix for the namespace.
alternatePrefix string The alternate prefix for the namespace.
initialiser InstanceInitialiser The .
recogniser SchemaRecogniser The .
리턴 System

SchemaRelease() 공개 메소드

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.
This constructor should be used when creating a description of a schema that has only a single root element.
public SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, InstanceInitialiser initialiser, SchemaRecogniser recogniser, string rootElement ) : System
specification Specification The owning .
version string The version identifier for this release.
namespaceUri string The namespace used to identify the schema.
schemaLocation string The default schema location.
preferredPrefix string The preferred prefix for the namespace.
alternatePrefix string The alternate prefix for the namespace.
initialiser InstanceInitialiser The .
recogniser SchemaRecogniser The .
rootElement string The normal root element.
리턴 System

SchemaRelease() 공개 메소드

Constructs a SchemaRelease instance describing a schema based release of a particular Specification.
This constructor should be used when creating a description of a schema that has only a single root element.
public SchemaRelease ( Specification specification, string version, string namespaceUri, string schemaLocation, string preferredPrefix, string alternatePrefix, string rootElement ) : System
specification Specification The owning .
version string The version identifier for this release.
namespaceUri string The namespace used to identify the schema.
schemaLocation string The default schema location.
preferredPrefix string The preferred prefix for the namespace.
alternatePrefix string The alternate prefix for the namespace.
rootElement string The normal root element.
리턴 System