uTools-Manuals/docs/java/javax/print/AttributeException.html

96 lines
4.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.print
</div>
<h2 class="title" title="Interface AttributeException">Interface AttributeException</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">AttributeException</span></pre>
<div class="block">
<span>接口AttributeException是一个混合接口子类<a href="../../javax/print/PrintException.html" title="javax.print中的类"><code>PrintException</code></a>可以实现它来报告涉及一个或多个打印属性一个特定的Print Service实例不支持错误条件。</span>
<span>该属性根本不受支持,或者该属性被支持,但不支持特定的指定值。</span>
<span>Print Service API没有定义任何实现接口AttributeException的打印例外类这些类别由Print Service实现者自行决定。</span>
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="../../java/lang/Class.html" title="class in java.lang"></a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/AttributeException.html#getUnsupportedAttributes--">getUnsupportedAttributes</a></span>()</code>
<div class="block">
返回Print Service实例根本不支持该属性的打印属性类的数组如果没有这样的属性则返回null。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/AttributeException.html#getUnsupportedValues--">getUnsupportedValues</a></span>()</code>
<div class="block">
返回Print Service实例支持该属性的打印属性数组但不支持该属性的特定值;如果没有此属性值则返回null。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getUnsupportedAttributes--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getUnsupportedAttributes</h4> <pre><a href="../../java/lang/Class.html" title="class in java.lang"></a>[] getUnsupportedAttributes()</pre>
<div class="block">
<span>返回Print Service实例根本不支持该属性的打印属性类的数组如果没有这样的属性则返回null。</span>
<span>返回数组中的对象是扩展基本接口<a href="../../javax/print/attribute/Attribute.html" title="javax.print.attribute中的接口"><code>Attribute</code>的类</a></span>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
不支持的属性类
</dd>
</dl> </li>
</ul> <a name="getUnsupportedValues--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getUnsupportedValues</h4> <pre><a href="../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</a>[] getUnsupportedValues()</pre>
<div class="block">
返回Print Service实例支持该属性的打印属性数组但不支持该属性的特定值;如果没有此属性值则返回null。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
unsupported attribute values
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>