uTools-Manuals/docs/java/org/omg/CORBA/CustomMarshal.html

115 lines
4.4 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">
org.omg.CORBA
</div>
<h2 class="title" title="Interface CustomMarshal">Interface CustomMarshal</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Known Subinterfaces:
</dt>
<dd>
<span><a href="../../../org/omg/CORBA/portable/CustomValue.html" title="界面在org.omg.CORBA.portable中">CustomValue</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">CustomMarshal</span></pre>
<div class="block">
<span>意图由ORB使用的抽象值类型而不是用户。</span>
<span>在语义上它被视为一个自定义值类型的隐式基类尽管自定义的值类型并不会在IDL中实际继承。</span>
<span>自定义值类型的实现者应提供CustomMarshal <tt>操作的</tt>实现。</span>
<span>这样做的方式在IDL到Java langauge映射中指定。</span>
<span>每个自定义的封送值类型应具有自己的实现。</span>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../org/omg/CORBA/DataInputStream.html" title="在org.omg.CORBA中的接口"><code>DataInputStream</code></a></span>
</dd>
</dl> </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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CustomMarshal.html#marshal-org.omg.CORBA.DataOutputStream-">marshal</a></span>(<a href="../../../org/omg/CORBA/DataOutputStream.html" title="interface in org.omg.CORBA">DataOutputStream</a> os)</code>
<div class="block">
元帅法必须由定制的元帅班执行。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CustomMarshal.html#unmarshal-org.omg.CORBA.DataInputStream-">unmarshal</a></span>(<a href="../../../org/omg/CORBA/DataInputStream.html" title="interface in org.omg.CORBA">DataInputStream</a> is)</code>
<div class="block">
Unmarshal方法必须由Customized Marshal类实现。
</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="marshal-org.omg.CORBA.DataOutputStream-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>marshal</h4> <pre>void marshal(<a href="../../../org/omg/CORBA/DataOutputStream.html" title="interface in org.omg.CORBA">DataOutputStream</a> os)</pre>
<div class="block">
<span>元帅法必须由定制的元帅班执行。</span>
<span>这是为编组调用的方法。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>os</code> - 一个DataOutputStream
</dd>
</dl> </li>
</ul> <a name="unmarshal-org.omg.CORBA.DataInputStream-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>unmarshal</h4> <pre>void unmarshal(<a href="../../../org/omg/CORBA/DataInputStream.html" title="interface in org.omg.CORBA">DataInputStream</a> is)</pre>
<div class="block">
<span>Unmarshal方法必须由Customized Marshal类实现。</span>
<span>这是Unmarshalling调用的方法。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>is</code> - 一个DataInputStream
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>