public interface OVLCompiler
This interface allows to compile source code to an executable
OVLProgram.
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description OVLProgram
compile(String subNamespace, String code)
Compiles source code to an OVLProgram instance.void
setContextClassLoader(ClassLoader contextClassLoader)
The context classloader can be changed if special classes must be loaded for compilation.
-
Method Details
-
setContextClassLoader
The context classloader can be changed if special classes must be loaded for compilation.- Parameters:
contextClassLoader
-- Throws:
Exception
-
compile
Compiles source code to an OVLProgram instance.- Parameters:
subNamespace
- the sub-namespace of the new program (appended to the plug-in's namespace)code
- the OVL code- Returns:
- an OVLProgram
- Throws:
IllegalArgumentException
- if namespace exists
-