Constructor and Description |
---|
HtmlRaw(Object... content)
Create an HtmlRaw.
|
Instance Methods | |
---|---|
List<CharSequence> |
getContent()
Get the content of this piece.
|
void |
render(int indent,
Consumer<CharSequence> out)
Write the content to `out`, without any escaping.
|
public HtmlRaw(Object... content)
See getContent()
.
If an `obj` in `content` is not a CharSequence, it will be converted to one by `String.valueOf(obj)`. `obj` can be `null`.
public List<CharSequence> getContent()
The returned char sequences are from `content` passed to the constructor.
public void render(int indent, Consumer<CharSequence> out)