C# Class HandCoded.FpML.Meta.FpMLSchemaRecogniser

The FpMLInstanceInitialiser class provides additional initialisation logic for FpML schema based instances, in particular it ensures that the FpML version attribute is set to match the referenced schema.
Inheritance: HandCoded.Meta.DefaultSchemaRecogniser
Mostra file Open project: formicary/fpml-toolkit-csharp

Public Methods

Method Description
FpMLSchemaRecogniser ( ) : System

Constructs a FpMLSchemaRecogniser that performs additional initialisation for FpML documents.

Recognises ( HandCoded release, XmlDocument document ) : bool

Determines if the XmlDocument could be an instance of the indicated SchemaRelease. Also checks that the FpML version attribute matches the SchemaRelease instance.

Method Details

FpMLSchemaRecogniser() public method

Constructs a FpMLSchemaRecogniser that performs additional initialisation for FpML documents.
public FpMLSchemaRecogniser ( ) : System
return System

Recognises() public method

Determines if the XmlDocument could be an instance of the indicated SchemaRelease. Also checks that the FpML version attribute matches the SchemaRelease instance.
public Recognises ( HandCoded release, XmlDocument document ) : bool
release HandCoded The potential .
document System.Xml.XmlDocument The to be tested.
return bool