org.apache.expreval.expr
Class TypeSupport

java.lang.Object
  extended by org.apache.expreval.expr.TypeSupport

public class TypeSupport
extends Object


Constructor Summary
TypeSupport()
           
 
Method Summary
static boolean allowsNullValues(Class clazz)
           
static Class<? extends GenericValue> getGenericExprType(GenericValue val)
           
static boolean isACollection(Object obj)
           
static boolean isParentClass(Class parentClass, Class... childrenClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSupport

public TypeSupport()
Method Detail

isACollection

public static boolean isACollection(Object obj)

isParentClass

public static boolean isParentClass(Class parentClass,
                                    Class... childrenClasses)

getGenericExprType

public static Class<? extends GenericValue> getGenericExprType(GenericValue val)

allowsNullValues

public static boolean allowsNullValues(Class clazz)


Copyright © 2011. All Rights Reserved.