org.apache.myfaces.view.facelets.util
Class ReflectionUtil

java.lang.Object
  extended by org.apache.myfaces.view.facelets.util.ReflectionUtil

public class ReflectionUtil
extends Object


Field Summary
protected static String[] EMPTY_STRING
           
protected static String[] PRIMITIVE_NAMES
           
protected static Class<?>[] PRIMITIVES
           
 
Method Summary
static Class<?> forName(String name)
           
protected static Class<?> forNamePrimitive(String name)
           
protected static String paramString(Class<?>... types)
           
static Class<?>[] toTypeArray(String[] s)
          Converts an array of Class names to Class types
static String[] toTypeNameArray(Class<?>[] c)
          Converts an array of Class types to Class names
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_STRING

protected static final String[] EMPTY_STRING

PRIMITIVE_NAMES

protected static final String[] PRIMITIVE_NAMES

PRIMITIVES

protected static final Class<?>[] PRIMITIVES
Method Detail

forName

public static Class<?> forName(String name)
                        throws ClassNotFoundException
Throws:
ClassNotFoundException

forNamePrimitive

protected static Class<?> forNamePrimitive(String name)

toTypeArray

public static Class<?>[] toTypeArray(String[] s)
                              throws ClassNotFoundException
Converts an array of Class names to Class types

Parameters:
s -
Returns:
Throws:
ClassNotFoundException

toTypeNameArray

public static String[] toTypeNameArray(Class<?>[] c)
Converts an array of Class types to Class names

Parameters:
c -
Returns:

paramString

protected static final String paramString(Class<?>... types)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.