org.apache.xbean.recipe
Class RecipeHelper

java.lang.Object
  extended by org.apache.xbean.recipe.RecipeHelper

public final class RecipeHelper
extends Object


Nested Class Summary
static class RecipeHelper.RecipeComparator
           
 
Method Summary
static boolean hasDefaultConstructor(Class type)
           
static boolean isAssignableFrom(Class expected, Class actual)
           
static boolean isConvertable(Class type, Object propertyValue, ClassLoader classLoader)
           
static boolean isInstance(Class type, Object instance)
           
static boolean isSimpleType(Object o)
           
static
<K,V> List<Map.Entry<K,V>>
prioritizeProperties(Map<K,V> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasDefaultConstructor

public static boolean hasDefaultConstructor(Class type)

isSimpleType

public static boolean isSimpleType(Object o)

prioritizeProperties

public static <K,V> List<Map.Entry<K,V>> prioritizeProperties(Map<K,V> properties)

isInstance

public static boolean isInstance(Class type,
                                 Object instance)

isConvertable

public static boolean isConvertable(Class type,
                                    Object propertyValue,
                                    ClassLoader classLoader)

isAssignableFrom

public static boolean isAssignableFrom(Class expected,
                                       Class actual)


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.