com.jaxfront.core.util
Class IntrospectionMethodParameter

java.lang.Object
  extended by com.jaxfront.core.util.IntrospectionMethodParameter
All Implemented Interfaces:
java.io.Serializable

public class IntrospectionMethodParameter
extends java.lang.Object
implements java.io.Serializable

This class defines method parameters that can be defined in a XUI (JAXFront's Extensible User Interface) for UIActions.

Version:
1.60
See Also:
Serialized Form

Field Summary
static java.lang.String TYPE_BOOLEAN
           
static java.lang.String TYPE_BOOLEAN_PRIMITIVE
           
static java.lang.String TYPE_INT_ARRAY
           
static java.lang.String TYPE_INTEGER
           
static java.lang.String TYPE_INTEGER_PRIMITIVE
           
static java.lang.String TYPE_STRING
           
static java.lang.String TYPE_STRING_ARRAY
           
 
Constructor Summary
IntrospectionMethodParameter(java.lang.String className, java.lang.String value)
          MethodParameter constructor.
 
Method Summary
 java.lang.Class getParameterClass()
          Gets the right class for the given parameter.
static java.lang.Class[] getParameterClasses(java.util.List methodParameters)
           
static java.lang.Class[] getParameterClasses(MethodParameter[] _methodParameters)
           
static java.lang.Object[] getParameters(java.util.List methodParameters)
          Returns the objects to pass to the constructor of this plugin.
static java.lang.Object[] getParameters(MethodParameter[] _methodParameters)
          Returns the objects to pass to the constructor of this plugin.
 java.lang.Object getParameterValue()
          Gets the parameter value for the given class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_BOOLEAN

public static final java.lang.String TYPE_BOOLEAN
See Also:
Constant Field Values

TYPE_STRING

public static final java.lang.String TYPE_STRING
See Also:
Constant Field Values

TYPE_STRING_ARRAY

public static final java.lang.String TYPE_STRING_ARRAY
See Also:
Constant Field Values

TYPE_INTEGER

public static final java.lang.String TYPE_INTEGER
See Also:
Constant Field Values

TYPE_BOOLEAN_PRIMITIVE

public static final java.lang.String TYPE_BOOLEAN_PRIMITIVE
See Also:
Constant Field Values

TYPE_INTEGER_PRIMITIVE

public static final java.lang.String TYPE_INTEGER_PRIMITIVE
See Also:
Constant Field Values

TYPE_INT_ARRAY

public static final java.lang.String TYPE_INT_ARRAY
See Also:
Constant Field Values
Constructor Detail

IntrospectionMethodParameter

public IntrospectionMethodParameter(java.lang.String className,
                                    java.lang.String value)
MethodParameter constructor.

Parameters:
type - a JAXFront type that holds a DOM
value - a new parameter value
Method Detail

getParameterClass

public java.lang.Class getParameterClass()
Gets the right class for the given parameter.

Returns:
the right class for the given parameter, null otherwise

getParameterValue

public java.lang.Object getParameterValue()
Gets the parameter value for the given class.

Returns:
the parameter value for the given class

getParameterClasses

public static java.lang.Class[] getParameterClasses(MethodParameter[] _methodParameters)

getParameters

public static java.lang.Object[] getParameters(MethodParameter[] _methodParameters)
Returns the objects to pass to the constructor of this plugin.


getParameterClasses

public static java.lang.Class[] getParameterClasses(java.util.List methodParameters)

getParameters

public static java.lang.Object[] getParameters(java.util.List methodParameters)
Returns the objects to pass to the constructor of this plugin.