public class DefaultScriptFactory extends AbstractScriptFactory
ScriptTag
).
The createScriptLanguageFactoryImpl(short, int, org.scripthelper.model.ScriptSource)
will invariably return
an unique DefaultScriptLanguageFactory
instance.classLoader, context, exceptionListener, langFactories, scriptLogger
Constructor and Description |
---|
DefaultScriptFactory() |
Modifier and Type | Method and Description |
---|---|
ScriptLanguageFactory<?> |
createScriptLanguageFactoryImpl(short scriptType,
int countScripts,
org.scripthelper.model.ScriptSource source)
Return the unique ScriptLanguageFactory.
|
addScript, addScript, addScriptToDocuments, addScriptToXUL, containsScript, getClassLoader, getInterfaces, getScript, getScriptContext, getScriptExceptionListener, getScriptLogger, getScripts, getScriptType, hasScript, removeScript, setClassLoader, setScriptContext, setScriptExceptionListener, setScriptLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createScriptLanguageFactory
public ScriptLanguageFactory<?> createScriptLanguageFactoryImpl(short scriptType, int countScripts, org.scripthelper.model.ScriptSource source)
ScriptTag
.scriptType
- the script typecountScripts
- the total number of scripts in the XULDocumentsource
- the script sourceDefaultScriptLanguageFactory
Copyright © 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence