net.sf.jasperreports.engine.design
public class JRCompilationUnit extends java.lang.Object
Constructor and Description |
---|
JRCompilationUnit(java.lang.String name,
JRCompilationSourceCode sourceCode,
java.io.File sourceFile,
java.util.List expressions,
JRSourceCompileTask compileTask)
Creates a compilation unit.
|
Modifier and Type | Method and Description |
---|---|
JRCompilationSourceCode |
getCompilationSource()
Returns the compilation source code unit.
|
java.io.Serializable |
getCompileData()
Returns the compilation data used for creating expression evaluators.
|
JRSourceCompileTask |
getCompileTask()
Returns the compile task for the unit.
|
java.util.List |
getExpressions()
Returns the list of expressions.
|
java.lang.String |
getName()
Returns the name of the unit.
|
java.lang.String |
getSourceCode()
Returns the source code generated for the unit.
|
java.io.File |
getSourceFile()
Returns the file where the source code was saved.
|
void |
setCompileData(java.io.Serializable compileData)
Sets the compilation data used for creating expression evaluators.
|
public JRCompilationUnit(java.lang.String name, JRCompilationSourceCode sourceCode, java.io.File sourceFile, java.util.List expressions, JRSourceCompileTask compileTask)
name
- the name of the unitsourceCode
- the source code generated for the unitsourceFile
- the file where the source code was savedexpressions
- the list of expressionscompileTask
- the compile task for the unitpublic java.lang.String getName()
public java.lang.String getSourceCode()
public JRCompilationSourceCode getCompilationSource()
public java.io.File getSourceFile()
public java.util.List getExpressions()
public void setCompileData(java.io.Serializable compileData)
compileData
- the compilation datapublic java.io.Serializable getCompileData()
public JRSourceCompileTask getCompileTask()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com