|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.ant.JMX.Param
The class Param is used to represent a object by
means of a string representation of its value and its type.
| Constructor Summary | |
JMX.Param()
|
|
| Method Summary | |
String |
getArg()
|
String |
getType()
|
Object |
getValue()
The getValue method uses PropertyEditors to convert
the string representation of the value to an object, which it returns. |
void |
setArg(String arg)
The setArg method sets the string representation
of the parameters value. |
void |
setType(String type)
The setType method sets the fully qualified class
name of the type represented by the param object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JMX.Param()
| Method Detail |
public void setArg(String arg)
setArg method sets the string representation
of the parameters value.
arg - a String valuepublic String getArg()
public void setType(String type)
setType method sets the fully qualified class
name of the type represented by the param object.
type - a String valuepublic String getType()
public Object getValue() throws Exception
getValue method uses PropertyEditors to convert
the string representation of the value to an object, which it returns.
The PropertyEditor to use is determined by the type specified.
Object value
Exception - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||