|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringValue
A simplistic converter to return a String representation of an object.
PENDING: use a full-fledged Format instead? Would impose a higher burden onto implementors but could be re-used in editors.
Field Summary | |
---|---|
static StringValue |
EMPTY
Converter returning an empty String always. |
static StringValue |
TO_STRING
Default converter using the toString. |
Method Summary | |
---|---|
String |
getString(Object value)
Returns a string representation of the given value. |
Field Detail |
---|
static final StringValue TO_STRING
static final StringValue EMPTY
Method Detail |
---|
String getString(Object value)
value
- the object to present as a string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |