|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.pmd.properties.AbstractPMDProperty
net.sourceforge.pmd.properties.StringProperty
Defines a datatype that supports String values. When capturing multiple values, all strings must be filtered by the delimiter character.
| Field Summary | |
static char |
defaultDelimiter
|
| Fields inherited from class net.sourceforge.pmd.properties.AbstractPMDProperty |
multiValueDelimiter |
| Fields inherited from interface net.sourceforge.pmd.PropertyDescriptor |
emptyPropertySet |
| Constructor Summary | |
protected |
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Object theDefaultValue,
float theUIOrder,
char aMultiValueDelimiter)
Constructor for StringProperty. |
|
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String[] theValues,
float theUIOrder,
char aMultiValueDelimiter)
Constructor for StringProperty. |
|
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String theDefaultValue,
float theUIOrder)
Constructor for StringProperty. |
| Method Summary | |
int |
preferredRowCount()
Method preferredRowCount. |
java.lang.Class |
type()
Method type. |
protected java.lang.String |
valueErrorFor(java.lang.Object value)
Method valueErrorFor. |
java.lang.Object |
valueFrom(java.lang.String valueString)
Method valueFrom. |
| Methods inherited from class net.sourceforge.pmd.properties.AbstractPMDProperty |
areEqual, asDelimitedString, asString, choices, compareTo, defaultValue, description, errorFor, isArray, isRequired, maxValueCount, maxValueCount, multiValueDelimiter, multiValueDelimiter, name, propertyErrorFor, typeErrorFor, uiOrder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final char defaultDelimiter
| Constructor Detail |
public StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String theDefaultValue,
float theUIOrder)
theName - StringtheDescription - StringtheDefaultValue - StringtheUIOrder - float
public StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String[] theValues,
float theUIOrder,
char aMultiValueDelimiter)
theName - StringtheDescription - StringtheValues - String[]theUIOrder - floataMultiValueDelimiter - String
protected StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Object theDefaultValue,
float theUIOrder,
char aMultiValueDelimiter)
theName - StringtheDescription - StringtheDefaultValue - ObjecttheUIOrder - floataMultiValueDelimiter - String| Method Detail |
public java.lang.Class type()
PropertyDescriptor.type()public java.lang.Object valueFrom(java.lang.String valueString)
valueString - String
PropertyDescriptor.valueFrom(String)protected java.lang.String valueErrorFor(java.lang.Object value)
AbstractPMDProperty
valueErrorFor in class AbstractPMDPropertyvalue - Object
public int preferredRowCount()
AbstractPMDProperty
preferredRowCount in interface PropertyDescriptorpreferredRowCount in class AbstractPMDPropertyPropertyDescriptor.preferredRowCount()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||