|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICodeProcessorFactory
Implementations of this interface retreave the desired ICodeProcessor based upon the language and model being used as given in the actf:scriptlang and actf:model attribute values of the <rulebase> element.
Method Summary | |
---|---|
ICodeProcessor |
getCodeProcessor(String lang,
IModel model)
retrieve a ICodeProcessor for the given language. |
Method Detail |
---|
ICodeProcessor getCodeProcessor(String lang, IModel model)
If the actf:scriptlang attribute value is set to 'java' and/or actf:class and actf:package attributes are provided, then the ICodeProcessor returned is a CodeCompiler object so that Java code may be embedded in the XML document.
lang
- --
language for which a AbstractCodeInterpreter is to be
instantiatedmodel
- --
model for which code interpreter is to be built
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |