public class ElementTypeUtils extends Object
Modifier and Type | Method and 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) |
public static Object queryFieldName(ReportElement element)
public static Object queryStaticValue(ReportElement element)
public static Object queryFieldOrValue(ExpressionRuntime runtime, ReportElement element)
public static String queryResourceId(ExpressionRuntime runtime, ReportElement element)
public static Number getNumberAttribute(ReportElement e, String namespace, String name, Number defaultValue)
public static int getIntAttribute(ReportElement e, String namespace, String name, int defaultValue)
public static String getStringAttribute(ReportElement e, String namespace, String name, String defaultValue)
public static boolean getBooleanAttribute(ReportElement e, String namespace, String name, boolean defaultValue)