|
API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface XCompilationParameters
Interface for compilation parameter settings. Used when generating
precompiled Java classes for an expression, query or stylesheet and
when loading precompiled classes using the XCompilationFactory
compile and load methods. New compilation
parameters objects can be created through the XCompilationFactory
newOutputParameters method.
XCompilationFactory.newCompilationParameters(String),
XCompilationFactory| Method Summary | |
|---|---|
ClassLoader |
getClassLoader()
Get the class loader. |
String |
getClassName()
Get the base class name for the generated classes. |
String |
getDirectoryName()
Get the directory name. |
String |
getPackageName()
Get the package name for the generated classes. |
void |
setClassLoader(ClassLoader classLoader)
Specify the class loader to use when loading the classes. |
void |
setClassName(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(String directoryName)
Specify the directory to write the class files to at compile time. |
void |
setPackageName(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. |
| Method Detail |
|---|
void setClassName(String className)
setPackageName to set the package name.
className - The class name.
NullPointerException - if className is null.setPackageName(String)String getClassName()
void setPackageName(String packageName)
setClassName to set the class name.
packageName - The package name or null to use
the Java default package.setClassName(String)String getPackageName()
null if not specified.void setDirectoryName(String directoryName)
directoryName - The directory name or null to restore the default.String getDirectoryName()
null if not specified.void setClassLoader(ClassLoader classLoader)
classLoader - The class loader or null to
restore the default.ClassLoader getClassLoader()
null if not specified.
|
IBM Copyright 2004-2008 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||