|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.design.JRDefaultCompilationSourceCode
public class JRDefaultCompilationSourceCode
Default JRCompilationSourceCode implementation that can receive
a list of expressions corresponding to lines in the code.
| Constructor Summary | |
|---|---|
JRDefaultCompilationSourceCode(java.lang.String sourceCode,
JRExpression[] lineExpressions)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()
Returns the source code. |
JRExpression |
getExpressionAtLine(int line)
Determines whether a line of code corresponds to a report expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JRDefaultCompilationSourceCode(java.lang.String sourceCode,
JRExpression[] lineExpressions)
sourceCode - the source code.lineExpressions - an array of expressions corresponding to line numbers.
Can be null.| Method Detail |
|---|
public java.lang.String getCode()
JRCompilationSourceCode
getCode in interface JRCompilationSourceCodepublic JRExpression getExpressionAtLine(int line)
JRCompilationSourceCode
getExpressionAtLine in interface JRCompilationSourceCodeline - the line number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||