|
||||||||||
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 java.lang.Class<StringRenderable> |
StringRenderable
|
Method Summary | |
---|---|
java.lang.String |
render(java.lang.Object... args)
Renders the attached object into a String . |
void |
renderTo(java.io.PrintWriter printWriter,
java.lang.Object... args)
Renders the attached object printing to a PrintWriter . |
void |
renderTo(java.lang.StringBuilder stringBuilder,
java.lang.Object... args)
Renders the attached object appending to a StringBuilder . |
Field Detail |
---|
static final java.lang.Class<StringRenderable> StringRenderable
Method Detail |
---|
@Nonnull java.lang.String render(@Nonnull java.lang.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 java.lang.StringBuilder stringBuilder, @Nonnull java.lang.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 java.io.PrintWriter printWriter, @Nonnull java.lang.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 |