| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>JspWriterImpl</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="JspWriterImpl"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/runtime/JspSourceDependent.html" title="interface in org.apache.jasper.runtime"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/runtime/PageContextImpl.html" title="class in org.apache.jasper.runtime"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/runtime/JspWriterImpl.html" target="_top">Frames</a></li> |
| <li><a href="JspWriterImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.jasper.runtime</div> |
| <h2 title="Class JspWriterImpl" class="title">Class JspWriterImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>java.io.Writer</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">javax.servlet.jsp.JspWriter</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.jasper.runtime.JspWriterImpl</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">JspWriterImpl</span> |
| extends <a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></pre> |
| <div class="block">Write text to a character-output stream, buffering characters so as |
| to provide for the efficient writing of single characters, arrays, |
| and strings. |
| |
| Provide support for discarding for the output that has been |
| buffered. |
| |
| This needs revisiting when the buffering problems in the JSP spec |
| are fixed -akv What buffering problems? -kmc |
| |
| Add method for writing bytes. This allows static texts to be pre-encoded, |
| for performance. Note that this can be done only if the page is unbuffered. |
| -kmc</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/glassfish/jsp/api/ByteWriter.html" title="interface in org.glassfish.jsp.api">ByteWriter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#byteOut">byteOut</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#implementsByteWriter">implementsByteWriter</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.javax.servlet.jsp.JspWriter"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class javax.servlet.jsp.<a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></h3> |
| <code><a href="../../../../javax/servlet/jsp/JspWriter.html#autoFlush">autoFlush</a>, <a href="../../../../javax/servlet/jsp/JspWriter.html#bufferSize">bufferSize</a>, <a href="../../../../javax/servlet/jsp/JspWriter.html#DEFAULT_BUFFER">DEFAULT_BUFFER</a>, <a href="../../../../javax/servlet/jsp/JspWriter.html#NO_BUFFER">NO_BUFFER</a>, <a href="../../../../javax/servlet/jsp/JspWriter.html#UNBOUNDED_BUFFER">UNBOUNDED_BUFFER</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.java.io.Writer"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class java.io.Writer</h3> |
| <code>lock</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#JspWriterImpl--">JspWriterImpl</a></span>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#JspWriterImpl-javax.servlet.ServletResponse-">JspWriterImpl</a></span>(<a href="../../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response)</code> |
| <div class="block">Create a buffered character-output stream that uses a default-sized |
| output buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#JspWriterImpl-javax.servlet.ServletResponse-int-boolean-">JspWriterImpl</a></span>(<a href="../../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response, |
| int sz, |
| boolean autoFlush)</code> |
| <div class="block">Create a new buffered character-output stream that uses an output |
| buffer of the given size.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#clear--">clear</a></span>()</code> |
| <div class="block">Discard the output buffer.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#clearBuffer--">clearBuffer</a></span>()</code> |
| <div class="block">Clears the current contents of the buffer.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#close--">close</a></span>()</code> |
| <div class="block">Close the stream.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#flush--">flush</a></span>()</code> |
| <div class="block">Flush the stream.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#flushBuffer--">flushBuffer</a></span>()</code> |
| <div class="block">Flush the output buffer to the underlying character stream, without |
| flushing the stream itself.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#getRemaining--">getRemaining</a></span>()</code> |
| <div class="block">This method returns the number of unused bytes in the buffer.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#hasData--">hasData</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#newLine--">newLine</a></span>()</code> |
| <div class="block">Write a line separator.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-boolean-">print</a></span>(boolean b)</code> |
| <div class="block">Print a boolean value.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-char-">print</a></span>(char c)</code> |
| <div class="block">Print a character.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-char:A-">print</a></span>(char[] s)</code> |
| <div class="block">Print an array of characters.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-double-">print</a></span>(double d)</code> |
| <div class="block">Print a double-precision floating-point number.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-float-">print</a></span>(float f)</code> |
| <div class="block">Print a floating-point number.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-int-">print</a></span>(int i)</code> |
| <div class="block">Print an integer.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-long-">print</a></span>(long l)</code> |
| <div class="block">Print a long integer.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-java.lang.Object-">print</a></span>(java.lang.Object obj)</code> |
| <div class="block">Print an object.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-java.lang.String-">print</a></span>(java.lang.String s)</code> |
| <div class="block">Print a string.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--">println</a></span>()</code> |
| <div class="block">Terminate the current line by writing the line separator string.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-boolean-">println</a></span>(boolean x)</code> |
| <div class="block">Print a boolean value and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-char-">println</a></span>(char x)</code> |
| <div class="block">Print a character and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-char:A-">println</a></span>(char[] x)</code> |
| <div class="block">Print an array of characters and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-double-">println</a></span>(double x)</code> |
| <div class="block">Print a double-precision floating-point number and then terminate the |
| line.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-float-">println</a></span>(float x)</code> |
| <div class="block">Print a floating-point number and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-int-">println</a></span>(int x)</code> |
| <div class="block">Print an integer and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-long-">println</a></span>(long x)</code> |
| <div class="block">Print a long integer and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-java.lang.Object-">println</a></span>(java.lang.Object x)</code> |
| <div class="block">Print an Object and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println-java.lang.String-">println</a></span>(java.lang.String x)</code> |
| <div class="block">Print a String and then terminate the line.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-boolean-byte:A-java.lang.String-">write</a></span>(boolean bytesOK, |
| byte[] buf, |
| java.lang.String str)</code> |
| <div class="block">Attempt to write a String pre-encoded with the page encoding.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-byte:A-int-int-">write</a></span>(byte[] buf, |
| int off, |
| int len)</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-char:A-">write</a></span>(char[] buf)</code> |
| <div class="block">Write an array of characters.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-char:A-int-int-">write</a></span>(char[] cbuf, |
| int off, |
| int len)</code> |
| <div class="block">Write a portion of an array of characters.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-">write</a></span>(int c)</code> |
| <div class="block">Write a single character.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-java.lang.String-">write</a></span>(java.lang.String s)</code> |
| <div class="block">Write a string.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-java.lang.String-int-int-">write</a></span>(java.lang.String s, |
| int off, |
| int len)</code> |
| <div class="block">Write a portion of a String.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.javax.servlet.jsp.JspWriter"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class javax.servlet.jsp.<a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></h3> |
| <code><a href="../../../../javax/servlet/jsp/JspWriter.html#getBufferSize--">getBufferSize</a>, <a href="../../../../javax/servlet/jsp/JspWriter.html#isAutoFlush--">isAutoFlush</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.io.Writer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.io.Writer</h3> |
| <code>append, append, append</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="implementsByteWriter"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>implementsByteWriter</h4> |
| <pre>protected boolean implementsByteWriter</pre> |
| </li> |
| </ul> |
| <a name="byteOut"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>byteOut</h4> |
| <pre>protected <a href="../../../../org/glassfish/jsp/api/ByteWriter.html" title="interface in org.glassfish.jsp.api">ByteWriter</a> byteOut</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="JspWriterImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JspWriterImpl</h4> |
| <pre>public JspWriterImpl()</pre> |
| </li> |
| </ul> |
| <a name="JspWriterImpl-javax.servlet.ServletResponse-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JspWriterImpl</h4> |
| <pre>public JspWriterImpl(<a href="../../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response)</pre> |
| <div class="block">Create a buffered character-output stream that uses a default-sized |
| output buffer.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>response</code> - A Servlet Response</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="JspWriterImpl-javax.servlet.ServletResponse-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>JspWriterImpl</h4> |
| <pre>public JspWriterImpl(<a href="../../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response, |
| int sz, |
| boolean autoFlush)</pre> |
| <div class="block">Create a new buffered character-output stream that uses an output |
| buffer of the given size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>response</code> - A Servlet Response</dd> |
| <dd><code>sz</code> - Output-buffer size, a positive integer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If sz is <= 0</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="flushBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>flushBuffer</h4> |
| <pre>protected final void flushBuffer() |
| throws java.io.IOException</pre> |
| <div class="block">Flush the output buffer to the underlying character stream, without |
| flushing the stream itself. This method is non-private only so that it |
| may be invoked by PrintStream.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public final void clear() |
| throws java.io.IOException</pre> |
| <div class="block">Discard the output buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#clear--">clear</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an I/O error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearBuffer</h4> |
| <pre>public void clearBuffer() |
| throws java.io.IOException</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../javax/servlet/jsp/JspWriter.html#clearBuffer--">JspWriter</a></code></span></div> |
| <div class="block">Clears the current contents of the buffer. Unlike clear(), this method will not throw an IOException if the |
| buffer has already been flushed. It merely clears the current content of the buffer and returns.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#clearBuffer--">clearBuffer</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an I/O error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="flush--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>flush</h4> |
| <pre>public void flush() |
| throws java.io.IOException</pre> |
| <div class="block">Flush the stream.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>flush</code> in interface <code>java.io.Flushable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#flush--">flush</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an I/O error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="close--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre>public void close() |
| throws java.io.IOException</pre> |
| <div class="block">Close the stream.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.io.Closeable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.lang.AutoCloseable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#close--">close</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an I/O error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRemaining--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRemaining</h4> |
| <pre>public int getRemaining()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../javax/servlet/jsp/JspWriter.html#getRemaining--">JspWriter</a></code></span></div> |
| <div class="block">This method returns the number of unused bytes in the buffer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#getRemaining--">getRemaining</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes unused in the buffer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-boolean-byte:A-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(boolean bytesOK, |
| byte[] buf, |
| java.lang.String str) |
| throws java.io.IOException</pre> |
| <div class="block">Attempt to write a String pre-encoded with the page encoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bytesOK</code> - If true, write out the byte array, |
| else, write out the String.</dd> |
| <dd><code>buf</code> - The text encoded with the page encoding</dd> |
| <dd><code>str</code> - The original text</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(byte[] buf, |
| int off, |
| int len) |
| throws java.io.IOException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(int c) |
| throws java.io.IOException</pre> |
| <div class="block">Write a single character.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>write</code> in class <code>java.io.Writer</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-char:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(char[] cbuf, |
| int off, |
| int len) |
| throws java.io.IOException</pre> |
| <div class="block">Write a portion of an array of characters. |
| |
| <p> Ordinarily this method stores characters from the given array into |
| this stream's buffer, flushing the buffer to the underlying stream as |
| needed. If the requested length is at least as large as the buffer, |
| however, then this method will flush the buffer and write the characters |
| directly to the underlying stream. Thus redundant |
| <code>DiscardableBufferedWriter</code>s will not copy data unnecessarily.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>write</code> in class <code>java.io.Writer</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cbuf</code> - A character array</dd> |
| <dd><code>off</code> - Offset from which to start reading characters</dd> |
| <dd><code>len</code> - Number of characters to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-char:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(char[] buf) |
| throws java.io.IOException</pre> |
| <div class="block">Write an array of characters. This method cannot be inherited from the |
| Writer class because it must suppress I/O exceptions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>write</code> in class <code>java.io.Writer</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-java.lang.String-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(java.lang.String s, |
| int off, |
| int len) |
| throws java.io.IOException</pre> |
| <div class="block">Write a portion of a String.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>write</code> in class <code>java.io.Writer</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>s</code> - String to be written</dd> |
| <dd><code>off</code> - Offset from which to start reading characters</dd> |
| <dd><code>len</code> - Number of characters to be written</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void write(java.lang.String s) |
| throws java.io.IOException</pre> |
| <div class="block">Write a string. This method cannot be inherited from the Writer class |
| because it must suppress I/O exceptions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>write</code> in class <code>java.io.Writer</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newLine--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newLine</h4> |
| <pre>public void newLine() |
| throws java.io.IOException</pre> |
| <div class="block">Write a line separator. The line separator string is defined by the |
| system property <tt>line.separator</tt>, and is not necessarily a single |
| newline ('\n') character.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#newLine--">newLine</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an I/O error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(boolean b) |
| throws java.io.IOException</pre> |
| <div class="block">Print a boolean value. The string produced by <code><code>String.valueOf(boolean)</code></code> is translated into bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-boolean-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>b</code> - The <code>boolean</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-char-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(char c) |
| throws java.io.IOException</pre> |
| <div class="block">Print a character. The character is translated into one or more bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-char-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>c</code> - The <code>char</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(int i) |
| throws java.io.IOException</pre> |
| <div class="block">Print an integer. The string produced by <code><code>String.valueOf(int)</code></code> is translated into bytes according |
| to the platform's default character encoding, and these bytes are |
| written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> |
| method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-int-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>i</code> - The <code>int</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Integer.toString(int)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(long l) |
| throws java.io.IOException</pre> |
| <div class="block">Print a long integer. The string produced by <code><code>String.valueOf(long)</code></code> is translated into bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> |
| method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-long-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>l</code> - The <code>long</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Long.toString(long)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(float f) |
| throws java.io.IOException</pre> |
| <div class="block">Print a floating-point number. The string produced by <code><code>String.valueOf(float)</code></code> is translated into bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> |
| method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-float-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>f</code> - The <code>float</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Float.toString(float)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(double d) |
| throws java.io.IOException</pre> |
| <div class="block">Print a double-precision floating-point number. The string produced by |
| <code><code>String.valueOf(double)</code></code> is translated into |
| bytes according to the platform's default character encoding, and these |
| bytes are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-double-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>d</code> - The <code>double</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Double.toString(double)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-char:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(char[] s) |
| throws java.io.IOException</pre> |
| <div class="block">Print an array of characters. The characters are converted into bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> |
| method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-char:A-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>s</code> - The array of chars to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.NullPointerException</code> - If <code>s</code> is <code>null</code></dd> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(java.lang.String s) |
| throws java.io.IOException</pre> |
| <div class="block">Print a string. If the argument is <code>null</code> then the string |
| <code>"null"</code> is printed. Otherwise, the string's characters are |
| converted into bytes according to the platform's default character |
| encoding, and these bytes are written in exactly the manner of the |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-java.lang.String-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>s</code> - The <code>String</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="print-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>print</h4> |
| <pre>public void print(java.lang.Object obj) |
| throws java.io.IOException</pre> |
| <div class="block">Print an object. The string produced by the <code><code>String.valueOf(Object)</code></code> method is translated into bytes |
| according to the platform's default character encoding, and these bytes |
| are written in exactly the manner of the <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#write-int-"><code>write(int)</code></a></code> |
| method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#print-java.lang.Object-">print</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>obj</code> - The <code>Object</code> to be printed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Object.toString()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println() |
| throws java.io.IOException</pre> |
| <div class="block">Terminate the current line by writing the line separator string. The |
| line separator string is defined by the system property |
| <code>line.separator</code>, and is not necessarily a single newline |
| character (<code>'\n'</code>). |
| |
| Need to change this from PrintWriter because the default |
| println() writes to the sink directly instead of through the |
| write method...</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println--">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(boolean x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a boolean value and then terminate the line. This method behaves |
| as though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-boolean-"><code>print(boolean)</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-boolean-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the boolean to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-char-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(char x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a character and then terminate the line. This method behaves as |
| though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-char-"><code>print(char)</code></a></code> and then <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-char-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the char to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(int x) |
| throws java.io.IOException</pre> |
| <div class="block">Print an integer and then terminate the line. This method behaves as |
| though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-int-"><code>print(int)</code></a></code> and then <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-int-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the int to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(long x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a long integer and then terminate the line. This method behaves |
| as though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-long-"><code>print(long)</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-long-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the long to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(float x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a floating-point number and then terminate the line. This method |
| behaves as though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-float-"><code>print(float)</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-float-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the float to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(double x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a double-precision floating-point number and then terminate the |
| line. This method behaves as though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-double-"><code>print(double)</code></a></code> and then <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-double-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the double to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-char:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(char[] x) |
| throws java.io.IOException</pre> |
| <div class="block">Print an array of characters and then terminate the line. This method |
| behaves as though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-char:A-"><code>print(char[])</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-char:A-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the char[] to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(java.lang.String x) |
| throws java.io.IOException</pre> |
| <div class="block">Print a String and then terminate the line. This method behaves as |
| though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-java.lang.String-"><code>print(String)</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-java.lang.String-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the String to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="println-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>println</h4> |
| <pre>public void println(java.lang.Object x) |
| throws java.io.IOException</pre> |
| <div class="block">Print an Object and then terminate the line. This method behaves as |
| though it invokes <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#print-java.lang.Object-"><code>print(Object)</code></a></code> and then |
| <code><a href="../../../../org/apache/jasper/runtime/JspWriterImpl.html#println--"><code>println()</code></a></code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../javax/servlet/jsp/JspWriter.html#println-java.lang.Object-">println</a></code> in class <code><a href="../../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp">JspWriter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the Object to write</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - If an error occured while writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hasData--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>hasData</h4> |
| <pre>public boolean hasData()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/runtime/JspSourceDependent.html" title="interface in org.apache.jasper.runtime"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/runtime/PageContextImpl.html" title="class in org.apache.jasper.runtime"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/runtime/JspWriterImpl.html" target="_top">Frames</a></li> |
| <li><a href="JspWriterImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |