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 StringgetOwnProperty(String key)ObjectgetOwnValue(String key)Map<String,String>getProperties()StringgetProperty(String key)Returns the value of the property.ObjectgetValue(String key)voidremoveProperty(String key)voidsetProperty(String key, String value)voidsetValue(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)
-
-