public interface XCompilationParameters
XCompilationFactory
compile
and load
methods. New compilation
parameters objects can be created through the XCompilationFactory
newOutputParameters
method.Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getClassLoader()
Get the class loader.
|
java.lang.String |
getClassName()
Get the base class name for the generated classes.
|
java.lang.String |
getDirectoryName()
Get the directory name.
|
java.lang.String |
getPackageName()
Get the package name for the generated classes.
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Specify the class loader to use when loading the classes.
|
void |
setClassName(java.lang.String className)
Specify the base class name to use for the
generated class files at compile time or
the base class name to search
for at load time.
|
void |
setDirectoryName(java.lang.String directoryName)
Specify the directory to write the
class files to at compile time.
|
void |
setPackageName(java.lang.String packageName)
Specify the package name to use for the
class files at compile time or the package name to search
for at load time.
|
void setClassName(java.lang.String className)
setPackageName
to set the package name.className
- The class name.java.lang.NullPointerException
- if className
is null
.setPackageName(String)
java.lang.String getClassName()
void setPackageName(java.lang.String packageName)
setClassName
to set the class name.packageName
- The package name or null
to use
the Java default package.setClassName(String)
java.lang.String getPackageName()
null
if not specified.void setDirectoryName(java.lang.String directoryName)
directoryName
- The directory name or null
to restore the default.java.lang.String getDirectoryName()
null
if not specified.void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
- The class loader or null
to
restore the default.java.lang.ClassLoader getClassLoader()
null
if not specified.