|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--mx4j.adaptor.http.CommandProcessorUtil
Contains utilities common to CommandProcessor objects
| Constructor Summary | |
|---|---|
CommandProcessorUtil()
|
|
| Method Summary | |
|---|---|
protected static boolean |
canCreateParameterValue(java.lang.String parameterType)
Checks if the given type is primitive of can be initialized from String. This is done by trying to load the class and checking if there is a public String only constructor. |
protected static java.lang.Object |
createParameterValue(java.lang.String parameterType,
java.lang.String parameterValue)
Creates a parameter object of the given type containing a given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandProcessorUtil()
| Method Detail |
protected static java.lang.Object createParameterValue(java.lang.String parameterType,
java.lang.String parameterValue)
throws java.lang.Exception
parameterType - Indicates the type of the parameter, for instance java.lang.StringparameterValue - The value of the parameter as a String
Thrown - in case there is a data conversion error
java.lang.Exceptionprotected static boolean canCreateParameterValue(java.lang.String parameterType)
parameterType - Indicates the type of the parameter, for instance java.lang.String
Thrown - in case there is a data conversion error
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||