Beans.isInstanceOf

Beans.isInstanceOf

Class Overview | Class Members | This Package | All Packages

Syntax
public static boolean isInstanceOf( Object bean, Class targetType )
Parameters
bean
Bean from which we want to obtain a view.
targetType
The type of view we'd like to get.
Returns
"true" if the given bean supports the given targetType.
Description
Check if a bean can be viewed as a given target type. The result will be true if the Beans.getInstanceof method can be used on the given bean to obtain an object that represents the specified targetType type view.