ScriptFactory delegates the creation of the ScriptWrapper to the appropriate ScriptLanguageFactoryScriptFactory creates the script object
ScriptSource which hold the URL or String content of the ScriptscriptType parameter to know which scripting language ScriptWrapper you must use, but all your scripts will implement the same interfaceScriptLanguageFactory depending on the scripting language. In this example, you only need the scriptType parameter to know which scripting language ScriptWrapper you must use, but also the interface you will implementScriptLanguageFactory depending on the total number of scripts in your XULDocumentCopyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence