public class LinkedItemFormatter extends java.lang.Object implements Formatter<Nameable>
Base.getLinkedName(String, Nameable, boolean, boolean)
Modifier and Type | Field and Description |
---|---|
private boolean |
enableEditLink |
Constructor and Description |
---|
LinkedItemFormatter() |
LinkedItemFormatter(boolean enableEditLink) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Nameable item)
Format a value by converting it to a string.
|
Nameable |
parseString(java.lang.String value)
Parse a string and return a value of the correct type.
|
public LinkedItemFormatter()
public LinkedItemFormatter(boolean enableEditLink)
public java.lang.String format(Nameable item)
Formatter
public Nameable parseString(java.lang.String value)
Formatter
parseString
in interface Formatter<Nameable>
value
- The string to parse