18 using System.Collections.Generic;
22 using TraceLabSDK.Types;
23 using System.ComponentModel;
24 using TraceLabSDK.Component.Config;
26 namespace TraceLab.Components.Library.Importers.SimilarityMatrices
28 [Component(Name =
"Answer Matrix XML Importer",
29 Description =
"Imports an answer matrix from a standard CoEST XML file.",
32 ConfigurationType = typeof(AnswerMatrixImporterConfig))]
33 [IOSpec(IOSpecType.Output,
"AnswerMatrix", typeof(TLSimilarityMatrix))]
34 [Tag(
"Importers.TLSimilarityMatrix.From XML")]
43 Configuration = _config;
48 Workspace.Store(
"AnswerMatrix", DevelopmentKit.IO.Oracle.ImportXML(_config.OracleDocument.Absolute,
true));
54 [DisplayName(
"Oracle file")]
55 [Description(
"Oracle file location")]
56 public FilePath OracleDocument {
get; set; }