net.sourceforge.pmd.properties
public class TypeProperty extends StringProperty
Version: $Revision$
| Constructor Summary | |
|---|---|
| TypeProperty(String theName, String theDescription, Class theDefault, float theUIOrder)
Constructor for TypeProperty. | |
| TypeProperty(String theName, String theDescription, Class[] theDefaults, float theUIOrder)
Constructor for TypeProperty. | |
| Method Summary | |
|---|---|
| protected String | asString(Object value)
Method asString. |
| Class<Class> | type()
Method type. |
| protected String | valueErrorFor(Object value)
Neutralize unwanted superclass functionality that will result
in a class cast exception.
|
| Object | valueFrom(String valueString)
Method valueFrom. |
Parameters: theName String theDescription String theDefault Class theUIOrder float
Parameters: theName String theDescription String theDefaults Class[] theUIOrder float
Parameters: value Object
Returns: String
Returns: Class
See Also: type
Parameters: value Object
Returns: String