Class FunctionsInfo
- java.lang.Object
-
- net.sf.jasperreports.functions.annotations.FunctionsInfo
-
public class FunctionsInfo extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_MESSAGES_BUNDLE
static String
PROPERTY_PARAMETER_OPTIONAL
static String
PROPERTY_PARAMETER_REQUIRED
static String
PROPERTY_SUFFIX_DESCRIPTION
static String
PROPERTY_SUFFIX_NAME
static String
PROPERTY_SUFFIX_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>
addCategories(FunctionCategories categories)
protected String
addCategoryClass(Class<?> categoryClass)
protected void
addFunction(Method functionMethod, MessageProvider provider, Set<String> categoryIds, Method[] boundaryMethods)
protected void
addFunctionClass(Class<?> functionClass)
protected void
addFunctionParameter(FunctionBean functionBean, FunctionParameter functionParameter, MessageProvider provider, Class<?> type, boolean isRequired)
protected void
addFunctions()
Collection<FunctionCategoryBean>
getCategories()
static FunctionsInfo
getInstance(JasperReportsContext jasperReportsContext, Locale locale)
-
-
-
Field Detail
-
DEFAULT_MESSAGES_BUNDLE
public static final String DEFAULT_MESSAGES_BUNDLE
- See Also:
- Constant Field Values
-
PROPERTY_SUFFIX_NAME
public static final String PROPERTY_SUFFIX_NAME
- See Also:
- Constant Field Values
-
PROPERTY_SUFFIX_DESCRIPTION
public static final String PROPERTY_SUFFIX_DESCRIPTION
- See Also:
- Constant Field Values
-
PROPERTY_SUFFIX_TYPE
public static final String PROPERTY_SUFFIX_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_PARAMETER_REQUIRED
public static final String PROPERTY_PARAMETER_REQUIRED
- See Also:
- Constant Field Values
-
PROPERTY_PARAMETER_OPTIONAL
public static final String PROPERTY_PARAMETER_OPTIONAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static FunctionsInfo getInstance(JasperReportsContext jasperReportsContext, Locale locale)
-
getCategories
public Collection<FunctionCategoryBean> getCategories()
-
addFunctions
protected void addFunctions()
-
addFunctionClass
protected void addFunctionClass(Class<?> functionClass)
-
addCategories
protected Set<String> addCategories(FunctionCategories categories)
-
addFunction
protected void addFunction(Method functionMethod, MessageProvider provider, Set<String> categoryIds, Method[] boundaryMethods)
-
addFunctionParameter
protected void addFunctionParameter(FunctionBean functionBean, FunctionParameter functionParameter, MessageProvider provider, Class<?> type, boolean isRequired)
-
-