internal ConstMsgSaxHandler(LanguageData enclosingInstance, byte[] constMessages) { _enclosingInstance = enclosingInstance; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(constMessages); }
internal KbdMapTableSaxHandler(KeyboardMappingTable enclosingInstance, byte[] keyMapXml) { _enclosingInstance = enclosingInstance; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(keyMapXml); }
internal FontTableSaxHandler(FontsTable enclosingInstance, byte[] fontxml) { _enclosingInstance = enclosingInstance; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(fontxml); }
/// <summary> /// CTOR /// </summary> /// <param name="xmlData"></param> /// <param name="ddm"></param> public DataSourceDefinitionManagerSaxHandler(byte[] xmlData, DataSourceDefinitionManager dataSourceDefinitionManager) { this.dataSourceDefinitionManager = dataSourceDefinitionManager; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlData); }
/// <summary> /// CTOR /// </summary> /// <param name="xmlData"></param> /// <param name="ddm"></param> public DatabaseDefinitionsSaxParser(byte[] xmlData, DatabaseDefinitionsManager databaseDefinitionsManager) { this.databaseDefinitionsManager = databaseDefinitionsManager; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlData); }
/// <summary> /// CTOR - create and activate the parsing process /// </summary> /// <param name="dataSourceDefinition"></param> /// <param name="xmlData"></param> public DataSourceDefinitionSaxHandler(DataSourceDefinition dataSourceDefinition, DataSourceBuilder dataSourceBuilder, byte[] xmlData) { this.dataSourceDefinition = dataSourceDefinition; this.dataSourceBuilder = dataSourceBuilder; MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlData); }
/// <summary> /// CTOR - create and activate the parsing process /// </summary> /// <param name="dataSourceDefinition"></param> /// <param name="xmlData"></param> public DataviewHeadersSaxHandler(Task task, Hashtable dataviewHeaders, byte[] xmlData) { _dataviewHeaders = dataviewHeaders; _task = task; _dataviewHeadersFactory = new DataviewHeaderFactory(); MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlData); }
/// <summary> /// This function reads the execution properties from an XML source /// </summary> /// <param name="XMLdata"></param> /// <param name="encoding"></param> internal void loadFromXML(String XMLdata, Encoding encoding) { MgSAXHandler mgSAXHandler = new MgSAXHandler(this); try { mgSAXHandler.parse(encoding.GetBytes(XMLdata), true); } catch (Exception ex) { Logger.Instance.WriteExceptionToLog(ex); } }
/// <summary> /// /// </summary> /// <param name="xmlSerializedTaskDefinitionsTable"></param> public void parse(byte[] xmlSerializedSnippetAssemblies) { MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlSerializedSnippetAssemblies); }
/// <summary> /// parse the supplied buffer using the previously supplied handler /// </summary> /// <param name="xmlSerializedTaskDefinitionsTable"></param> public void parse(byte[] xmlSerializedTaskDefinitionsTable) { MgSAXHandler mgSAXHandler = new MgSAXHandler(this); mgSAXHandler.parse(xmlSerializedTaskDefinitionsTable); }