public class VelocityBodyContent
extends javax.servlet.jsp.tagext.BodyContent
BodyContent.| Constructor and Description |
|---|
VelocityBodyContent(javax.servlet.jsp.JspWriter jspWriter,
org.apache.velocity.runtime.parser.node.ASTBlock block,
org.apache.velocity.context.InternalContextAdapter context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearBuffer() |
void |
close() |
Reader |
getReader() |
int |
getRemaining() |
String |
getString() |
void |
newLine() |
void |
print(boolean b) |
void |
print(char c) |
void |
print(char[] s) |
void |
print(double d) |
void |
print(float f) |
void |
print(int i) |
void |
print(long l) |
void |
print(Object obj) |
void |
print(String s) |
void |
println() |
void |
println(boolean x) |
void |
println(char x) |
void |
println(char[] x) |
void |
println(double x) |
void |
println(float x) |
void |
println(int x) |
void |
println(long x) |
void |
println(Object x) |
void |
println(String x) |
void |
write(char[] cbuf,
int off,
int len) |
void |
writeOut(Writer out) |
public VelocityBodyContent(javax.servlet.jsp.JspWriter jspWriter,
org.apache.velocity.runtime.parser.node.ASTBlock block,
org.apache.velocity.context.InternalContextAdapter context)
jspWriter - The JSP writer to be used by default.block - The block to wrap.context - The directive context.public Reader getReader()
getReader in class javax.servlet.jsp.tagext.BodyContentpublic String getString()
getString in class javax.servlet.jsp.tagext.BodyContentpublic void writeOut(Writer out) throws IOException
writeOut in class javax.servlet.jsp.tagext.BodyContentIOExceptionpublic void newLine()
throws IOException
newLine in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(boolean b)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char c)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(int i)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(long l)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(float f)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(double d)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char[] s)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(String s) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(Object obj) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void println()
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(boolean x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(int x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(long x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(float x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(double x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char[] x)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(String x) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(Object x) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void clear()
throws IOException
clear in class javax.servlet.jsp.JspWriterIOExceptionpublic void clearBuffer()
throws IOException
clearBuffer in class javax.servlet.jsp.JspWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class javax.servlet.jsp.JspWriterIOExceptionpublic int getRemaining()
getRemaining in class javax.servlet.jsp.JspWriterpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.