e than once.
 </p>

 </div></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>doctype</code> - Text content of the doctype</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if an input/output error occurs</dd>
<dt>Since:</dt>
<dd>2.2</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="writeText(java.lang.Object,java.lang.String)">
<