public interface StringRenderable
String
as HTML markup.Modifier and Type | Field and Description |
---|---|
static Class<StringRenderable> |
StringRenderable |
Modifier and Type | Method and Description |
---|---|
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 . |
static final Class<StringRenderable> StringRenderable
@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 parametersvoid 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.stringBuilder
- the StringBuilder
to append toargs
- 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.printWriter
- the PrintWriter
to print toargs
- optional rendering parametersCopyright © 2009-2013 Tidalwave s.a.s. (http://tidalwave.it). All Rights Reserved.