com.ibm.xsp.registry.types
Class FacesSimpleTypes
java.lang.Object
com.ibm.xsp.registry.types.FacesSimpleTypes
public class FacesSimpleTypes
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
- See Also:
- Constant Field Values
TYPE_CHAR
public static final int TYPE_CHAR
- See Also:
- Constant Field Values
TYPE_BYTE
public static final int TYPE_BYTE
- See Also:
- Constant Field Values
TYPE_SHORT
public static final int TYPE_SHORT
- See Also:
- Constant Field Values
TYPE_INT
public static final int TYPE_INT
- See Also:
- Constant Field Values
TYPE_LONG
public static final int TYPE_LONG
- See Also:
- Constant Field Values
TYPE_FLOAT
public static final int TYPE_FLOAT
- See Also:
- Constant Field Values
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- See Also:
- Constant Field Values
TYPE_BOOLEAN
public static final int TYPE_BOOLEAN
- See Also:
- Constant Field Values
TYPE_STRING
public static final int TYPE_STRING
- See Also:
- Constant Field Values
TYPE_PRIMITIVE_OBJECT
public static final int TYPE_PRIMITIVE_OBJECT
- Objects that are handled as primitive types
- See Also:
- Constant Field Values
TYPE_OBJECT
public static final int TYPE_OBJECT
- Object type (need a
FacesDefinition
to be complete). Implies that
the java class is not java.lang.Object, but is some subclass of it or an interface.
- See Also:
- Constant Field Values
TYPE_GENERIC
public static final int TYPE_GENERIC
- The generic type. Implies that the java class is java.lang.Object.
- See Also:
- Constant Field Values
FacesSimpleTypes
public FacesSimpleTypes()
isPrimitive
public static boolean isPrimitive(int type)
- Parameters:
type
-
- Returns:
- True if the specified type corresponds to a simple type.
isPrimitiveObject
public static boolean isPrimitiveObject(int type)
- Parameters:
type
-
- Returns:
- True if the specified type corresponds to one of our primitive objects.
isGeneric
public static boolean isGeneric(int type)
- Parameters:
type
-
- Returns:
- True if the specified type corresponds to a generic type.
isSomeObject
public static boolean isSomeObject(int type)
- If the type specifies some non-generic object. i.e. any non-primitive,
non-string class that isn't Object.class
- Parameters:
type
-
- Returns:
toString
public static java.lang.String toString(int type)
- Parameters:
type
-
- Returns:
getType
public static int getType(java.lang.Class<?> javaClass)