org.pentaho.reporting.engine.classic.core.filter.types
Class ElementTypeUtils

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.filter.types.ElementTypeUtils

public class ElementTypeUtils
extends Object

Todo: Document Me

Author:
Thomas Morgner

Method Summary
static boolean getBooleanAttribute(Element e, String namespace, String name, boolean defaultValue)
           
static Number[] getData(Object o)
           
static int getIntAttribute(Element e, String namespace, String name, int defaultValue)
           
static Number getNumberAttribute(Element e, String namespace, String name, Number defaultValue)
           
static Object queryFieldName(Element element)
           
static Object queryFieldOrValue(ExpressionRuntime runtime, Element element)
           
static String queryResourceId(ExpressionRuntime runtime, Element element)
           
static Object queryStaticValue(Element element)
           
static String toString(Object object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

queryFieldName

public static Object queryFieldName(Element element)

queryStaticValue

public static Object queryStaticValue(Element element)

queryFieldOrValue

public static Object queryFieldOrValue(ExpressionRuntime runtime,
                                       Element element)

queryResourceId

public static String queryResourceId(ExpressionRuntime runtime,
                                     Element element)

toString

public static String toString(Object object)

getNumberAttribute

public static Number getNumberAttribute(Element e,
                                        String namespace,
                                        String name,
                                        Number defaultValue)

getIntAttribute

public static int getIntAttribute(Element e,
                                  String namespace,
                                  String name,
                                  int defaultValue)

getBooleanAttribute

public static boolean getBooleanAttribute(Element e,
                                          String namespace,
                                          String name,
                                          boolean defaultValue)

getData

public static Number[] getData(Object o)