|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprocope.tools.userclasses.UserParameter
public class UserParameter
Represents a single parameter of a the constructor of a user-defined class. Used internally by ProCope and thus not very well documented.
UserClusterer
,
UserScoresCalculator
Constructor Summary | |
---|---|
UserParameter(String name,
String defVal,
UserDataType dataType)
Creates a new user parameter |
Method Summary | |
---|---|
Class<?> |
getDataClass()
Returns the data class of this parameter |
UserDataType |
getDataType()
Returns the data type of this parameter |
String |
getDefaultValue()
Returns the default value (string representation) of this parameter |
static UserParameter |
getFromSAX(Attributes atts)
Get a user parameter from a SAX parses Attributes object |
String |
getName()
Returns the name of this parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserParameter(String name, String defVal, UserDataType dataType)
Method Detail |
---|
public String getName()
public UserDataType getDataType()
public Class<?> getDataClass()
public String getDefaultValue()
public static UserParameter getFromSAX(Attributes atts) throws UserClassSpecException
UserClassSpecException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |