Interface JRCompilationSourceCode
- All Known Implementing Classes:
JRDefaultCompilationSourceCode
public interface JRCompilationSourceCode
A source code unit to be compiled by a report compiler.
In addition to the source code itself, the unit offers the possibility of determining whether
a line of code corresponds to a report expression.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the source code.getExpressionAtLine(int line) Determines whether a line of code corresponds to a report expression.
-
Method Details
-
getCode
String getCode()Returns the source code.- Returns:
- the source code
-
getExpressionAtLine
Determines whether a line of code corresponds to a report expression.- Parameters:
line- the line number- Returns:
- the expression to which the line of code corresponds if any and null otherwise
-