|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringRenderable
The role of an object that can be rendered into a String
as HTML markup.
Field Summary | |
---|---|
static Class<StringRenderable> |
StringRenderable
|
Method Summary | |
---|---|
String |
render(Object... args)
Renders the attached object into a String . |
void |
renderTo(PrintWriter printWriter,
Object... args)
Renders the attached object printing to a PrintWriter . |
void |
renderTo(StringBuilder stringBuilder,
Object... args)
Renders the attached object appending to a StringBuilder . |
Field Detail |
---|
static final Class<StringRenderable> StringRenderable
Method Detail |
---|
@Nonnull String render(@Nonnull Object... args)
String
. The method accepts optional parameters that can be used to
control the format of the rendering; they are usually specific of the object attached to this role.
args
- optional rendering parameters
void renderTo(@Nonnull StringBuilder stringBuilder, @Nonnull Object... args)
StringBuilder
. The method accepts optional parameters that can
be used to control the format of the rendering; they are usually specific of the object attached to this role.
args
- optional rendering parametersvoid renderTo(@Nonnull PrintWriter printWriter, @Nonnull Object... args)
PrintWriter
. The method accepts optional parameters that can
be used to control the format of the rendering; they are usually specific of the object attached to this role.
args
- optional rendering parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |