|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by net.sourceforge.pmd.properties.AbstractPMDProperty extended by net.sourceforge.pmd.properties.StringProperty
public class 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
- floatpublic StringProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String[] theValues, float theUIOrder, char aMultiValueDelimiter)
theName
- StringtheDescription
- StringtheValues
- String[]theUIOrder
- floataMultiValueDelimiter
- Stringprotected StringProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Object theDefaultValue, float theUIOrder, char aMultiValueDelimiter)
theName
- StringtheDescription
- StringtheDefaultValue
- ObjecttheUIOrder
- floataMultiValueDelimiter
- StringMethod 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 AbstractPMDProperty
value
- Object
public int preferredRowCount()
AbstractPMDProperty
preferredRowCount
in interface PropertyDescriptor
preferredRowCount
in class AbstractPMDProperty
PropertyDescriptor.preferredRowCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |