public static AbstractParser CreateXMLParser() { ParserBuilder builder = ParserBuilderFactory.GetParserBuilderFactory().GetParserBuilder(ParserVersions.XMLParserVersion); builder.SetUbicationManager(LastVersionVariables.UbicationVersion); builder.SetDataFormatManager(LastVersionVariables.SaveDataFormatVersion); return(builder.GetParser()); }
public void SetSysteme(ISysteme system) { this.systeme = system; SystemConfiguration configuration = this.systeme.GetConfiguration(); ParserBuilder builder = ParserBuilderFactory.GetParserBuilderFactory().GetParserBuilder(configuration.parserVersion); builder.SetUbicationManager(configuration.ubicationVersion); builder.SetDataFormatManager(configuration.saveDataVersion); this.parser = builder.GetParser(); }