Package net.sf.jasperreports.engine
Interface JasperReportsContext
-
- All Known Implementing Classes:
DefaultJasperReportsContext
,LocalJasperReportsContext
,SimpleJasperReportsContext
public interface JasperReportsContext
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T> List<T>
getExtensions(Class<T> extensionType)
Returns a list of extension objects for a specific extension type.default String
getOwnProperty(String key)
Object
getOwnValue(String key)
Map<String,String>
getProperties()
String
getProperty(String key)
Returns the value of the property.Object
getValue(String key)
void
removeProperty(String key)
void
setProperty(String key, String value)
void
setValue(String key, Object value)
-
-
-
Method Detail
-
getExtensions
<T> List<T> getExtensions(Class<T> extensionType)
Returns a list of extension objects for a specific extension type.- Type Parameters:
T
- generic extension type- Parameters:
extensionType
- the extension type- Returns:
- a list of extension objects
-
getProperty
String getProperty(String key)
Returns the value of the property.- Parameters:
key
- the key- Returns:
- the property value
-
removeProperty
void removeProperty(String key)
-
-