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