View.ViewContext
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Modifier | Constructor and Description |
---|---|
protected |
TextView(View.ViewContext ctx,
String contentType) |
Modifier and Type | Method and Description |
---|---|
void |
echo(Object... args)
Print strings escaping html.
|
void |
echoWithoutEscapeHtml(Object... args)
Print strings as is (no newline, a la php echo).
|
void |
puts(Object... args)
Print strings as a line (new line appended at the end, a la C/Tcl puts).
|
void |
putWithoutEscapeHtml(Object args)
Print string as a line.
|
PrintWriter |
writer() |
protected TextView(View.ViewContext ctx, String contentType)
public PrintWriter writer()
public void echo(Object... args)
args
- the strings to printpublic void echoWithoutEscapeHtml(Object... args)
args
- the strings to printpublic void puts(Object... args)
args
- the strings to printpublic void putWithoutEscapeHtml(Object args)
args
- the strings to printCopyright © 2008–2024 Apache Software Foundation. All rights reserved.