blob: 074d22a9b16c381d605e2edd3f109a63a2e8bf8e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>XMLEncodingDetector</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="XMLEncodingDetector";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/xmlparser/XMLChar.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/jasper/xmlparser/XMLEncodingDetector.html" target="_top">Frames</a></li>
<li><a href="XMLEncodingDetector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.xmlparser</div>
<h2 title="Class XMLEncodingDetector" class="title">Class XMLEncodingDetector</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.jasper.xmlparser.XMLEncodingDetector</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">XMLEncodingDetector</span>
extends java.lang.Object</pre>
</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">&nbsp;</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>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#DEFAULT_BUFFER_SIZE">DEFAULT_BUFFER_SIZE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#DEFAULT_XMLDECL_BUFFER_SIZE">DEFAULT_XMLDECL_BUFFER_SIZE</a></span></code>&nbsp;</td>
</tr>
</table>
</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">&nbsp;</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/xmlparser/XMLEncodingDetector.html#XMLEncodingDetector--">XMLEncodingDetector</a></span>()</code>
<div class="block">Constructor</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>static java.lang.Object[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#getEncoding-java.lang.String-java.util.jar.JarFile-org.apache.jasper.JspCompilationContext-org.apache.jasper.compiler.ErrorDispatcher-">getEncoding</a></span>(java.lang.String&nbsp;fname,
java.util.jar.JarFile&nbsp;jarFile,
<a href="../../../../org/apache/jasper/JspCompilationContext.html" title="class in org.apache.jasper">JspCompilationContext</a>&nbsp;ctxt,
<a href="../../../../org/apache/jasper/compiler/ErrorDispatcher.html" title="class in org.apache.jasper.compiler">ErrorDispatcher</a>&nbsp;err)</code>
<div class="block">Autodetects the encoding of the XML document supplied by the given
input stream.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#isExternal--">isExternal</a></span>()</code>
<div class="block">Returns true if the current entity being scanned is external.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#peekChar--">peekChar</a></span>()</code>
<div class="block">Returns the next character on the input.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#scanChar--">scanChar</a></span>()</code>
<div class="block">Returns the next character on the input.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#scanData-java.lang.String-org.apache.jasper.xmlparser.XMLStringBuffer-">scanData</a></span>(java.lang.String&nbsp;delimiter,
<a href="../../../../org/apache/jasper/xmlparser/XMLStringBuffer.html" title="class in org.apache.jasper.xmlparser">XMLStringBuffer</a>&nbsp;buffer)</code>
<div class="block">Scans a range of character data up to the specified delimiter,
setting the fields of the XMLString structure, appropriately.</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/xmlparser/XMLEncodingDetector.html#scanLiteral-int-org.apache.jasper.xmlparser.XMLString-">scanLiteral</a></span>(int&nbsp;quote,
<a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser">XMLString</a>&nbsp;content)</code>
<div class="block">Scans a range of attribute value data, setting the fields of the
XMLString structure, appropriately.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#scanName--">scanName</a></span>()</code>
<div class="block">Returns a string matching the Name production appearing immediately
on the input as a symbol, or null if no Name string is present.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#scanPseudoAttribute-boolean-org.apache.jasper.xmlparser.XMLString-">scanPseudoAttribute</a></span>(boolean&nbsp;scanningTextDecl,
<a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser">XMLString</a>&nbsp;value)</code>
<div class="block">Scans a pseudo attribute.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#skipChar-int-">skipChar</a></span>(int&nbsp;c)</code>
<div class="block">Skips a character appearing immediately on the input.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#skipSpaces--">skipSpaces</a></span>()</code>
<div class="block">Skips space characters appearing immediately on the input.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/XMLEncodingDetector.html#skipString-java.lang.String-">skipString</a></span>(java.lang.String&nbsp;s)</code>
<div class="block">Skips the specified string appearing immediately on the input.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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="DEFAULT_BUFFER_SIZE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_BUFFER_SIZE</h4>
<pre>public static final&nbsp;int DEFAULT_BUFFER_SIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.jasper.xmlparser.XMLEncodingDetector.DEFAULT_BUFFER_SIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_XMLDECL_BUFFER_SIZE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_XMLDECL_BUFFER_SIZE</h4>
<pre>public static final&nbsp;int DEFAULT_XMLDECL_BUFFER_SIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.jasper.xmlparser.XMLEncodingDetector.DEFAULT_XMLDECL_BUFFER_SIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="XMLEncodingDetector--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XMLEncodingDetector</h4>
<pre>public&nbsp;XMLEncodingDetector()</pre>
<div class="block">Constructor</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getEncoding-java.lang.String-java.util.jar.JarFile-org.apache.jasper.JspCompilationContext-org.apache.jasper.compiler.ErrorDispatcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncoding</h4>
<pre>public static&nbsp;java.lang.Object[]&nbsp;getEncoding(java.lang.String&nbsp;fname,
java.util.jar.JarFile&nbsp;jarFile,
<a href="../../../../org/apache/jasper/JspCompilationContext.html" title="class in org.apache.jasper">JspCompilationContext</a>&nbsp;ctxt,
<a href="../../../../org/apache/jasper/compiler/ErrorDispatcher.html" title="class in org.apache.jasper.compiler">ErrorDispatcher</a>&nbsp;err)
throws java.io.IOException,
<a href="../../../../org/apache/jasper/JasperException.html" title="class in org.apache.jasper">JasperException</a></pre>
<div class="block">Autodetects the encoding of the XML document supplied by the given
input stream.
Encoding autodetection is done according to the XML 1.0 specification,
Appendix F.1: Detection Without External Encoding Information.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Two-element array, where the first element (of type
java.lang.String) contains the name of the (auto)detected encoding, and
the second element (of type java.lang.Boolean) specifies whether the
encoding was specified using the 'encoding' attribute of an XML prolog
(TRUE) or autodetected (FALSE).</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../org/apache/jasper/JasperException.html" title="class in org.apache.jasper">JasperException</a></code></dd>
</dl>
</li>
</ul>
<a name="isExternal--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExternal</h4>
<pre>public&nbsp;boolean&nbsp;isExternal()</pre>
<div class="block">Returns true if the current entity being scanned is external.</div>
</li>
</ul>
<a name="peekChar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peekChar</h4>
<pre>public&nbsp;int&nbsp;peekChar()
throws java.io.IOException</pre>
<div class="block">Returns the next character on the input.
<p>
<strong>Note:</strong> The character is <em>not</em> consumed.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="scanChar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanChar</h4>
<pre>public&nbsp;int&nbsp;scanChar()
throws java.io.IOException</pre>
<div class="block">Returns the next character on the input.
<p>
<strong>Note:</strong> The character is consumed.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="scanName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanName</h4>
<pre>public&nbsp;java.lang.String&nbsp;scanName()
throws java.io.IOException</pre>
<div class="block">Returns a string matching the Name production appearing immediately
on the input as a symbol, or null if no Name string is present.
<p>
<strong>Note:</strong> The Name characters are consumed.
<p>
<strong>Note:</strong> The string returned must be a symbol. The
SymbolTable can be used for this purpose.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jasper/xmlparser/SymbolTable.html" title="class in org.apache.jasper.xmlparser"><code>SymbolTable</code></a>,
<a href="../../../../org/apache/jasper/xmlparser/XMLChar.html#isName-int-"><code>XMLChar.isName(int)</code></a>,
<a href="../../../../org/apache/jasper/xmlparser/XMLChar.html#isNameStart-int-"><code>XMLChar.isNameStart(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="scanLiteral-int-org.apache.jasper.xmlparser.XMLString-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanLiteral</h4>
<pre>public&nbsp;int&nbsp;scanLiteral(int&nbsp;quote,
<a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser">XMLString</a>&nbsp;content)
throws java.io.IOException</pre>
<div class="block">Scans a range of attribute value data, setting the fields of the
XMLString structure, appropriately.
<p>
<strong>Note:</strong> The characters are consumed.
<p>
<strong>Note:</strong> This method does not guarantee to return
the longest run of attribute value data. This method may return
before the quote character due to reaching the end of the input
buffer or any other reason.
<p>
<strong>Note:</strong> The fields contained in the XMLString
structure are not guaranteed to remain valid upon subsequent calls
to the entity scanner. Therefore, the caller is responsible for
immediately using the returned character data or making a copy of
the character data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>quote</code> - The quote character that signifies the end of the
attribute value data.</dd>
<dd><code>content</code> - The content structure to fill.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the next character on the input, if known. This
value may be -1 but this does <em>note</em> designate
end of file.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="scanData-java.lang.String-org.apache.jasper.xmlparser.XMLStringBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanData</h4>
<pre>public&nbsp;boolean&nbsp;scanData(java.lang.String&nbsp;delimiter,
<a href="../../../../org/apache/jasper/xmlparser/XMLStringBuffer.html" title="class in org.apache.jasper.xmlparser">XMLStringBuffer</a>&nbsp;buffer)
throws java.io.IOException</pre>
<div class="block">Scans a range of character data up to the specified delimiter,
setting the fields of the XMLString structure, appropriately.
<p>
<strong>Note:</strong> The characters are consumed.
<p>
<strong>Note:</strong> This assumes that the internal buffer is
at least the same size, or bigger, than the length of the delimiter
and that the delimiter contains at least one character.
<p>
<strong>Note:</strong> This method does not guarantee to return
the longest run of character data. This method may return before
the delimiter due to reaching the end of the input buffer or any
other reason.
<p>
<strong>Note:</strong> The fields contained in the XMLString
structure are not guaranteed to remain valid upon subsequent calls
to the entity scanner. Therefore, the caller is responsible for
immediately using the returned character data or making a copy of
the character data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>delimiter</code> - The string that signifies the end of the character
data to be scanned.</dd>
<dd><code>buffer</code> - The data structure to fill.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if there is more data to scan, false otherwise.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="skipChar-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipChar</h4>
<pre>public&nbsp;boolean&nbsp;skipChar(int&nbsp;c)
throws java.io.IOException</pre>
<div class="block">Skips a character appearing immediately on the input.
<p>
<strong>Note:</strong> The character is consumed only if it matches
the specified character.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to skip.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the character was skipped.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="skipSpaces--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipSpaces</h4>
<pre>public&nbsp;boolean&nbsp;skipSpaces()
throws java.io.IOException</pre>
<div class="block">Skips space characters appearing immediately on the input.
<p>
<strong>Note:</strong> The characters are consumed only if they are
space characters.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if at least one space character was skipped.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/jasper/xmlparser/XMLChar.html#isSpace-int-"><code>XMLChar.isSpace(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="skipString-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipString</h4>
<pre>public&nbsp;boolean&nbsp;skipString(java.lang.String&nbsp;s)
throws java.io.IOException</pre>
<div class="block">Skips the specified string appearing immediately on the input.
<p>
<strong>Note:</strong> The characters are consumed only if they are
space characters.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - The string to skip.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the string was skipped.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - Thrown if i/o error occurs.</dd>
<dd><code>java.io.EOFException</code> - Thrown on end of file.</dd>
</dl>
</li>
</ul>
<a name="scanPseudoAttribute-boolean-org.apache.jasper.xmlparser.XMLString-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>scanPseudoAttribute</h4>
<pre>public&nbsp;java.lang.String&nbsp;scanPseudoAttribute(boolean&nbsp;scanningTextDecl,
<a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser">XMLString</a>&nbsp;value)
throws java.io.IOException,
<a href="../../../../org/apache/jasper/JasperException.html" title="class in org.apache.jasper">JasperException</a></pre>
<div class="block">Scans a pseudo attribute.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scanningTextDecl</code> - True if scanning this pseudo-attribute for a
TextDecl; false if scanning XMLDecl. This
flag is needed to report the correct type of
error.</dd>
<dd><code>value</code> - The string to fill in with the attribute
value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The name of the attribute
<strong>Note:</strong> This method uses fStringBuffer2, anything in it
at the time of calling is lost.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../org/apache/jasper/JasperException.html" title="class in org.apache.jasper">JasperException</a></code></dd>
</dl>
</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/xmlparser/XMLChar.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/jasper/xmlparser/XMLString.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/jasper/xmlparser/XMLEncodingDetector.html" target="_top">Frames</a></li>
<li><a href="XMLEncodingDetector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>