Class DefaultTypeUtils
- java.lang.Object
-
- com.hybris.cockpitng.core.util.impl.DefaultTypeUtils
-
- All Implemented Interfaces:
CockpitTypeUtils
public class DefaultTypeUtils extends java.lang.Object implements CockpitTypeUtils
-
-
Constructor Summary
Constructors Constructor Description DefaultTypeUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAssignableFrom(java.lang.String superType, java.lang.String subType)Checks type compatibility.protected java.lang.ClassloadClass(java.lang.String type, java.lang.ClassLoader loader)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.core.util.CockpitTypeUtils
findClosestSuperType
-
-
-
-
Method Detail
-
isAssignableFrom
public boolean isAssignableFrom(java.lang.String superType, java.lang.String subType)Description copied from interface:CockpitTypeUtilsChecks type compatibility. Customize it to support additional types other than java classes.- Specified by:
isAssignableFromin interfaceCockpitTypeUtils- Returns:
- true, if superType is assignable from subType, i.e. if superType really is a supertype of subtype.
-
loadClass
protected java.lang.Class loadClass(java.lang.String type, java.lang.ClassLoader loader)
-
-