Package net.sf.jasperreports.compilers
Class ReportClassFilter
- java.lang.Object
-
- net.sf.jasperreports.compilers.ReportClassFilter
-
- All Implemented Interfaces:
ClassLoaderFilter
public class ReportClassFilter extends Object implements ClassLoaderFilter
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_CLASS_NOT_VISIBLE
static String
PROPERTY_PREFIX_CLASS_FILTER_ENABLED
static String
PROPERTY_PREFIX_CLASS_WHITELIST
-
Constructor Summary
Constructors Constructor Description ReportClassFilter(JasperReportsContext jasperReportsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClassVisibility(String className)
boolean
isClassVisible(String className)
boolean
isFilteringEnabled()
protected boolean
visible(String className)
-
-
-
Field Detail
-
PROPERTY_PREFIX_CLASS_FILTER_ENABLED
public static final String PROPERTY_PREFIX_CLASS_FILTER_ENABLED
- See Also:
- Constant Field Values
-
PROPERTY_PREFIX_CLASS_WHITELIST
public static final String PROPERTY_PREFIX_CLASS_WHITELIST
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_CLASS_NOT_VISIBLE
public static final String EXCEPTION_MESSAGE_KEY_CLASS_NOT_VISIBLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReportClassFilter
public ReportClassFilter(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
isFilteringEnabled
public boolean isFilteringEnabled()
-
checkClassVisibility
public void checkClassVisibility(String className) throws JRRuntimeException
- Specified by:
checkClassVisibility
in interfaceClassLoaderFilter
- Throws:
JRRuntimeException
-
isClassVisible
public boolean isClassVisible(String className)
-
visible
protected boolean visible(String className)
-
-