C# Class HandCoded.Meta.DTDRelease

A DTDRelease instance contains a meta-description of an XML Specification represented by an XML DTD.
Inheritance: Release, IDTD
Show file Open project: formicary/fpml-toolkit-csharp

Public Methods

Method Description
DTDRelease ( Specification specification, string version, string publicId, string systemId, string rootElement ) : System

Constructs a DTDRelease instance describing a DTD based release of a particular Specification.

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.

Method Details

DTDRelease() public method

Constructs a DTDRelease instance describing a DTD based release of a particular Specification.
public DTDRelease ( Specification specification, string version, string publicId, string systemId, string rootElement ) : System
specification Specification The owning .
version string The version identifier for this release.
publicId string The public name for the DTD.
systemId string The system name for the DTD.
rootElement string The normal root element.
return System

IsInstance() public method

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

NewFragment() public method

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.
return System.Xml.XmlDocument

NewInstance() public method

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.
return System.Xml.XmlDocument