|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.valdoc.codeproc.DefaultCodeProcessorFactory
public class DefaultCodeProcessorFactory
default implementation of a factory
Constructor Summary | |
---|---|
DefaultCodeProcessorFactory()
create a new DefaultCodeProcessorFactory and use the .properties file packaged with ACTF to find processor |
|
DefaultCodeProcessorFactory(InputStream stream)
create a new DefaultCodeProcessorFactory and use the specified stream to find processor |
|
DefaultCodeProcessorFactory(String filename)
create a new DefaultCodeProcessorFactory and use the .properties file with the given name to find processor |
Method Summary | |
---|---|
ICodeProcessor |
getCodeProcessor(String lang,
IModel model)
retrieve a ICodeProcessor for the given language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCodeProcessorFactory()
public DefaultCodeProcessorFactory(String filename) throws IOException
filename
- --
nname of .properties file to use
IOException
public DefaultCodeProcessorFactory(InputStream stream)
stream
- --
stream for resolving language to ICodeProcessorMethod Detail |
---|
public ICodeProcessor getCodeProcessor(String lang, IModel model)
Note: If the supplied model is null
, a processor
will still be generated but the IRenderableModel implementation cannot be
used within the context of construction or validation of GUIs.
getCodeProcessor
in interface ICodeProcessorFactory
lang
- --
language for which a AbstractCodeInterpreter is to be
instantiatedmodel
- --
model for which code interpreter is to be built (may be
null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |