@Configurable public class TextHolder extends Object
SiteViewController.| Constructor and Description |
|---|
TextHolder(it.tidalwave.util.Id id)
Creates an instance with the given name.
|
TextHolder(String html) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String name,
String value) |
void |
addComponent(TextHolder child) |
byte[] |
asBytes(String charset) |
String |
asString(String charset) |
void |
setContent(String content) |
public TextHolder(@Nonnull it.tidalwave.util.Id id)
name - the component namepublic void addComponent(@Nonnull TextHolder child)
@Nonnull public byte[] asBytes(@Nonnull String charset) throws IOException
IOException@Nonnull public String asString(@Nonnull String charset) throws IOException
IOExceptionCopyright © 2011–2015 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.