Class ElementTypeUtils
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.filter.types.ElementTypeUtils
-
public class ElementTypeUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getBooleanAttribute(ReportElement e, String namespace, String name, boolean defaultValue)
static Number[]
getData(Object o)
static int
getIntAttribute(ReportElement e, String namespace, String name, int defaultValue)
static Number
getNumberAttribute(ReportElement e, String namespace, String name, Number defaultValue)
static String
getStringAttribute(ReportElement e, String namespace, String name, String defaultValue)
static Object
queryFieldName(ReportElement element)
static Object
queryFieldOrValue(ExpressionRuntime runtime, ReportElement element)
static String
queryResourceId(ExpressionRuntime runtime, ReportElement element)
static Object
queryStaticValue(ReportElement element)
static String
toString(Object object)
-
-
-
Method Detail
-
queryFieldName
public static Object queryFieldName(ReportElement element)
-
queryStaticValue
public static Object queryStaticValue(ReportElement element)
-
queryFieldOrValue
public static Object queryFieldOrValue(ExpressionRuntime runtime, ReportElement element)
-
queryResourceId
public static String queryResourceId(ExpressionRuntime runtime, ReportElement element)
-
getNumberAttribute
public static Number getNumberAttribute(ReportElement e, String namespace, String name, Number defaultValue)
-
getIntAttribute
public static int getIntAttribute(ReportElement e, String namespace, String name, int defaultValue)
-
getStringAttribute
public static String getStringAttribute(ReportElement e, String namespace, String name, String defaultValue)
-
getBooleanAttribute
public static boolean getBooleanAttribute(ReportElement e, String namespace, String name, boolean defaultValue)
-
-