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.BodyContent
public String getString()
getString
in class javax.servlet.jsp.tagext.BodyContent
public void writeOut(Writer out) throws IOException
writeOut
in class javax.servlet.jsp.tagext.BodyContent
IOException
public void newLine() throws IOException
newLine
in class javax.servlet.jsp.JspWriter
IOException
public void print(boolean b) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(char c) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(int i) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(long l) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(float f) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(double d) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(char[] s) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(String s) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void print(Object obj) throws IOException
print
in class javax.servlet.jsp.JspWriter
IOException
public void println() throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(boolean x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(char x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(int x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(long x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(float x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(double x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(char[] x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(String x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void println(Object x) throws IOException
println
in class javax.servlet.jsp.JspWriter
IOException
public void clear() throws IOException
clear
in class javax.servlet.jsp.JspWriter
IOException
public void clearBuffer() throws IOException
clearBuffer
in class javax.servlet.jsp.JspWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class javax.servlet.jsp.JspWriter
IOException
public int getRemaining()
getRemaining
in class javax.servlet.jsp.JspWriter
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.