org.jfree.xml.util
Class BasicTypeSupport
java.lang.Object
org.jfree.xml.util.BasicTypeSupport
A class that contains information about some basic types.
static Class | getClassRepresentation(String className) - Returns the class for a given primitive class type.
|
static String | getHandlerClass(Class c) - Returns the fully qualified class name for the attribute handler for a property of
the specified class.
|
static boolean | isBasicDataType(Class c) - Returns
true if the specified class is a "basic" type, and false
otherwise.
|
getClassRepresentation
public static Class getClassRepresentation(String className)
Returns the class for a given primitive class type.
className
- the primitive class name.
getHandlerClass
public static String getHandlerClass(Class c)
Returns the fully qualified class name for the attribute handler for a property of
the specified class.
- the attribute handler class name.
isBasicDataType
public static boolean isBasicDataType(Class c)
Returns true
if the specified class is a "basic" type, and false
otherwise. Basic types are written as attributes (rather than elements) in XML output.