public class BasicTypeSupport extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getClassRepresentation(java.lang.String className)
Returns the class for a given primitive class type.
|
static java.lang.String |
getHandlerClass(java.lang.Class c)
Returns the fully qualified class name for the attribute handler for a property of
the specified class.
|
static boolean |
isBasicDataType(java.lang.Class c)
Returns
true if the specified class is a "basic" type, and false
otherwise. |
public static java.lang.String getHandlerClass(java.lang.Class c)
c
- the property class.public static boolean isBasicDataType(java.lang.Class c)
true
if the specified class is a "basic" type, and false
otherwise. Basic types are written as attributes (rather than elements) in XML output.c
- the class.public static java.lang.Class getClassRepresentation(java.lang.String className)
className
- the primitive class name.