|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.services.TransformUtils
public final class TransformUtils
Support code for generating code (used when transforming component classes).
| Method Summary | |
|---|---|
static java.lang.String |
getDefaultValue(java.lang.String type)
Returns the default value for a type. |
static java.lang.String |
getUnwrapperMethodName(java.lang.String type)
For primitive types, returns the method on the wrapper type that converts back to the primitive. |
static java.lang.Class |
getWrapperType(java.lang.Class type)
Returns the wrapper type for a given input type. |
static java.lang.String |
getWrapperTypeName(java.lang.String type)
Returns the name of wrapper type for a given input type. |
static boolean |
isPrimitive(java.lang.String type)
Returns true if the specified type is a primitive type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isPrimitive(java.lang.String type)
public static java.lang.String getWrapperTypeName(java.lang.String type)
type - primitive type name, or fully qualified class namepublic static java.lang.String getUnwrapperMethodName(java.lang.String type)
type - the primitive type
public static java.lang.Class getWrapperType(java.lang.Class type)
type - primitive or object typepublic static java.lang.String getDefaultValue(java.lang.String type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||