Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.design
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.

Version:
  $Id: JRCompilationSourceCode.java 3033 2009-08-27 11:46:22Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)

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.

Method Detail

### getCode

    java.lang.String getCode()

  Returns the source code.

  Returns:
    the source code

### getExpressionAtLine

    JRExpression getExpressionAtLine(int line)

  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com