toString() methods.
Encapsulates the print algorithms; some other object such as a builder
should provide the workflow.
| Modifier and Type | Method and Description |
|---|---|
| public void | styleEnd(StringBuilder
the buffer to print to buffer, Object the object to style obj)Style a |
| public void | styleField(StringBuilder
the buffer to print to buffer, String the name of the field fieldName, Object the field value value)Style a field value as a string. |
| public void | |
| public void | styleStart(StringBuilder
the buffer to print to buffer, Object the object to style obj)Style a |
| public void | styleValue(StringBuilder
the buffer to print to buffer, Object the field value value)Style the given value. |
| styleEnd | back to summary |
|---|---|
| public void styleEnd(StringBuilder buffer, Object obj) Style a
| |
| styleField | back to summary |
|---|---|
| public void styleField(StringBuilder buffer, String fieldName, Object value) Style a field value as a string.
| |
| styleFieldSeparator | back to summary |
|---|---|
| public void styleFieldSeparator(StringBuilder buffer) Style the field separator.
| |
| styleStart | back to summary |
|---|---|
| public void styleStart(StringBuilder buffer, Object obj) Style a
| |
| styleValue | back to summary |
|---|---|
| public void styleValue(StringBuilder buffer, Object value) Style the given value.
| |