2011 lines
80 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="Class Any">Class Any</h2>
</div><div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.omg.CORBA.Any</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Implemented Interfaces:
</dt>
<dd>
<span><a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a> <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="界面在org.omg.CORBA.portable中">IDLEntity</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public abstract class <span class="typeNameLabel">Any</span>
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="interface in org.omg.CORBA.portable">IDLEntity</a></pre>
<div class="block">
<span>作为可以在IDL或任何IDL原语类型中描述的任何数据的容器。</span>
<span>一个<code>Any</code>对象用作的一个组件<code>NamedValue</code>对象,它提供了有关请求参数或返回值的信息,并且用于在定义的名称/值对<code>Context</code>对象。</span>
<p> <span>一个<code>Any</code>对象由两部分组成:</span> </p>
<ol>
<li> <span>一个数据值</span> </li>
<li> <span><code>TypeCode</code>对象中包含的数据值类型的<code>Any</code>对象。</span> <span>例如,数组的<code>TypeCode</code>对象包含数组长度的字段和数组中元素类型的字段。</span> <span>(请注意,在这种情况下, <code>TypeCode</code>对象的第二个字段本身就是一个<code>TypeCode</code>对象。)</span> </li>
</ol>
<p> <span><a name="anyOps">A large part of the <code>Any</code> class consists of pairs of methods for inserting values into and extracting values from an <code>Any</code> object.</a></span> </p>
<p> <span><a name="anyOps">For a given primitive type X, these methods are:</a></span> </p>
<dl>
<span><a name="anyOps">
<dt>
<code>
<bold>
void insert_X(X x)
</bold></code>
</dt>
<dd>
This method allows the insertion of an instance
<code>x</code> of primitive type
<code>X</code> into the
<code>value</code> field of the
<code>Any</code> object. Note that the method
<code>insert_X</code> also resets the
<code>Any</code> object's
<code>type</code> field if necessary.
</dd>
<dt>
<code>
<bold>
X extract_X()
</bold></code>
</dt>
<dd>
This method allows the extraction of an instance of type
<code>X</code> from the
<code>Any</code> object.
<br/>
<p> This method throws the exception <code>BAD_OPERATION</code> under two conditions: </p>
<ol>
<li> the type of the element contained in the <code>Any</code> object is not <code>X</code> </li>
<li> the method <code>extract_X</code> is called before the <code>value</code> field of the <code>Any</code> object has been set </li>
</ol>
</dd></a></span>
</dl>
<span><a name="anyOps"><p> There are distinct method pairs for each primitive IDL data type (<code>insert_long</code> and <code>extract_long</code>, <code>insert_string</code> and <code>extract_string</code>, and so on).<br/> </p><p> The class <code>Any</code> also has methods for getting and setting the type code, for testing two <code>Any</code> objects for equality, and for reading an <code>Any</code> object from a stream or writing it to a stream. <br/></p></a></span>
</div><a name="anyOps">
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
JDK1.2
</dd>
</dl> </a></li>
<a name="anyOps"> </a>
</ul>
<a name="anyOps"> </a>
</div>
<a name="anyOps"> </a>
<div class="summary">
<a name="anyOps"> </a>
<ul class="blockList">
<a name="anyOps"> <li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- --> </a> <h3>构造方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption>
<span>构造方法</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#Any--">Any</a></span>()</code> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== 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>
<span class="tableTab" id="t4"><span><a href="javascript:show(8);">具体的方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t6"><span><a href="javascript:show(32);">弃用的方法</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>abstract <a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#create_input_stream--">create_input_stream</a></span>()</code>
<div class="block">
创建一个输入流,从中可以对该
<code>Any</code>对象的值进行解组。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>abstract <a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#create_output_stream--">create_output_stream</a></span>()</code>
<div class="block">
创建一个可以编组此
<code>Any</code>对象值的输出流。
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#equal-org.omg.CORBA.Any-">equal</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</code>
<div class="block">
检查此
<code>Any</code>对象与给定的
<code>Any</code>对象之间是否相等。
</div> </td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>abstract <a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_any--">extract_any</a></span>()</code>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>Any</code>对象。
</div> </td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_boolean--">extract_boolean</a></span>()</code>
<div class="block">
提取
<code>boolean</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>abstract char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_char--">extract_char</a></span>()</code>
<div class="block">
提取
<code>char</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>abstract double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_double--">extract_double</a></span>()</code>
<div class="block">
提取
<code>double</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_fixed--">extract_fixed</a></span>()</code>
<div class="block">
提取
<code>java.math.BigDecimal</code>这个对象
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>abstract float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_float--">extract_float</a></span>()</code>
<div class="block">
提取
<code>float</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_long--">extract_long</a></span>()</code>
<div class="block">
提取
<code>int</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_longlong--">extract_longlong</a></span>()</code>
<div class="block">
提取
<code>long</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>abstract <a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_Object--">extract_Object</a></span>()</code>
<div class="block">
提取
<code>org.omg.CORBA.Object</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code>abstract byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_octet--">extract_octet</a></span>()</code>
<div class="block">
提取
<code>byte</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="../../../org/omg/CORBA/Principal.html" title="class in org.omg.CORBA">Principal</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_Principal--">extract_Principal</a></span>()</code>
<div class="block">
<span><span class="deprecatedLabel">已弃用</span></span>
<div class="block">
<span><span class="deprecationComment">被CORBA弃用2.2。</span></span>
</div>
</div> </td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_short--">extract_short</a></span>()</code>
<div class="block">
提取
<code>short</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="../../../org/omg/CORBA/portable/Streamable.html" title="interface in org.omg.CORBA.portable">Streamable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_Streamable--">extract_Streamable</a></span>()</code>
<div class="block">
提取
<code>Streamable</code>从这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_string--">extract_string</a></span>()</code>
<div class="block">
<code>Any</code>对象的
<code>value</code>字段中提取
<code>String</code>对象。
</div> </td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>abstract <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_TypeCode--">extract_TypeCode</a></span>()</code>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>TypeCode</code>对象。
</div> </td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_ulong--">extract_ulong</a></span>()</code>
<div class="block">
提取
<code>int</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_ulonglong--">extract_ulonglong</a></span>()</code>
<div class="block">
提取
<code>long</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>abstract short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_ushort--">extract_ushort</a></span>()</code>
<div class="block">
提取
<code>short</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code>abstract <a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_Value--">extract_Value</a></span>()</code>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>java.io.Serializable</code>对象。
</div> </td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code>abstract char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_wchar--">extract_wchar</a></span>()</code>
<div class="block">
提取
<code>char</code>这个
<code>Any</code>对象
<code>value</code>场。
</div> </td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#extract_wstring--">extract_wstring</a></span>()</code>
<div class="block">
<code>Any</code>对象的
<code>value</code>字段中提取
<code>String</code>对象。
</div> </td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_any-org.omg.CORBA.Any-">insert_any</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</code>
<div class="block">
将给定的
<code>Any</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_boolean-boolean-">insert_boolean</a></span>(boolean b)</code>
<div class="block">
将给定的
<code>boolean</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i26">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_char-char-">insert_char</a></span>(char c)</code>
<div class="block">
将给定的
<code>char</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div> </td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_double-double-">insert_double</a></span>(double d)</code>
<div class="block">
将给定的
<code>double</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i28">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_fixed-java.math.BigDecimal-">insert_fixed</a></span>(<a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a> value)</code>
<div class="block">
抛出一个
<a href="package-summary.html#NO_IMPLEMENT"><code>org.omg.CORBA.NO_IMPLEMENT</code></a>异常。
</div> </td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_fixed-java.math.BigDecimal-org.omg.CORBA.TypeCode-">insert_fixed</a></span>(<a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a> value, <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> type)</code>
<div class="block">
抛出
<a href="package-summary.html#NO_IMPLEMENT"><code>org.omg.CORBA.NO_IMPLEMENT</code></a>异常。
</div> </td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_float-float-">insert_float</a></span>(float f)</code>
<div class="block">
将给定的
<code>float</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div> </td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_long-int-">insert_long</a></span>(int l)</code>
<div class="block">
将给定的
<code>int</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i32">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_longlong-long-">insert_longlong</a></span>(long l)</code>
<div class="block">
将给定的
<code>long</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div> </td>
</tr>
<tr class="rowColor" id="i33">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Object-org.omg.CORBA.Object-">insert_Object</a></span>(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> o)</code>
<div class="block">
将给定的
<code>org.omg.CORBA.Object</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i34">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Object-org.omg.CORBA.Object-org.omg.CORBA.TypeCode-">insert_Object</a></span>(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> o, <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</code>
<div class="block">
将给定的
<code>org.omg.CORBA.Object</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i35">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_octet-byte-">insert_octet</a></span>(byte b)</code>
<div class="block">
将给定的
<code>byte</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i36">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Principal-org.omg.CORBA.Principal-">insert_Principal</a></span>(<a href="../../../org/omg/CORBA/Principal.html" title="class in org.omg.CORBA">Principal</a> p)</code>
<div class="block">
<span><span class="deprecatedLabel">已弃用</span></span>
<div class="block">
<span><span class="deprecationComment">被CORBA弃用2.2。</span></span>
</div>
</div> </td>
</tr>
<tr class="rowColor" id="i37">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_short-short-">insert_short</a></span>(short s)</code>
<div class="block">
将给定的
<code>short</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i38">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Streamable-org.omg.CORBA.portable.Streamable-">insert_Streamable</a></span>(<a href="../../../org/omg/CORBA/portable/Streamable.html" title="interface in org.omg.CORBA.portable">Streamable</a> s)</code>
<div class="block">
将给定的
<code>Streamable</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i39">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_string-java.lang.String-">insert_string</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> s)</code>
<div class="block">
将给定的
<code>String</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i40">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_TypeCode-org.omg.CORBA.TypeCode-">insert_TypeCode</a></span>(<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</code>
<div class="block">
将给定的
<code>TypeCode</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i41">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_ulong-int-">insert_ulong</a></span>(int l)</code>
<div class="block">
将给定的
<code>int</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i42">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_ulonglong-long-">insert_ulonglong</a></span>(long l)</code>
<div class="block">
将给定的
<code>long</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i43">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_ushort-short-">insert_ushort</a></span>(short s)</code>
<div class="block">
将给定的
<code>short</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i44">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Value-java.io.Serializable-">insert_Value</a></span>(<a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> v)</code>
<div class="block">
将给定的
<code>java.io.Serializable</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="rowColor" id="i45">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_Value-java.io.Serializable-org.omg.CORBA.TypeCode-">insert_Value</a></span>(<a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> v, <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</code>
<div class="block">
将给定的
<code>java.io.Serializable</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i46">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_wchar-char-">insert_wchar</a></span>(char c)</code>
<div class="block">
将给定的
<code>char</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div> </td>
</tr>
<tr class="rowColor" id="i47">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#insert_wstring-java.lang.String-">insert_wstring</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> s)</code>
<div class="block">
将给定的
<code>String</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div> </td>
</tr>
<tr class="altColor" id="i48">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#read_value-org.omg.CORBA.portable.InputStream-org.omg.CORBA.TypeCode-">read_value</a></span>(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a> is, <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</code>
<div class="block">
使用给定的类型代码,从给定的输入流中读取(解组)
<code>Any</code>对象的值。
</div> </td>
</tr>
<tr class="rowColor" id="i49">
<td class="colFirst"><code>abstract <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#type--">type</a></span>()</code>
<div class="block">
返回此
<code>Any</code>对象中包含的元素的类型信息。
</div> </td>
</tr>
<tr class="altColor" id="i50">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#type-org.omg.CORBA.TypeCode-">type</a></span>(<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</code>
<div class="block">
将此
<code>Any</code>对象的
<code>type</code>字段设置为给定的
<code>TypeCode</code>对象并清除其值。
</div> </td>
</tr>
<tr class="rowColor" id="i51">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/Any.html#write_value-org.omg.CORBA.portable.OutputStream-">write_value</a></span>(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> os)</code>
<div class="block">
将此
<code>Any</code>对象的值写入给定的输出流。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#toString--">toString</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li>
</ul> </li>
</ul> </li></a>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="Any--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>Any</h4> <pre>public Any()</pre> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="equal-org.omg.CORBA.Any-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>equal</h4> <pre>public abstract boolean equal(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</pre>
<div class="block">
<span>检查此<code>Any</code>对象与给定的<code>Any</code>对象之间是否相等。</span>
<span>如果两个<code>Any</code>对象的值和类型代码相等,则相等。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>a</code> -
<code>Any</code>对象测试相等
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<span><code>true</code>如果<code>Any</code>对象相等;</span>
<span><code>false</code>否则</span>
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="type--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>type</h4> <pre>public abstract <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> type()</pre>
<div class="block">
返回此
<code>Any</code>对象中包含的元素的类型信息。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>TypeCode</code>对象包含有关此
<code>Any</code>对象中包含的值的类型信息
</dd>
</dl> </li>
</ul> <a name="type-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>type</h4> <pre>public abstract void type(<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</pre>
<div class="block">
<span>将此<code>Any</code>对象的<code>type</code>字段设置为给定的<code>TypeCode</code>对象并清除其值。</span>
<p> <span>请注意,使用此方法设置类型代码会擦除值,如果有的话。</span> <span>主要提供的方法是为IDL <code>out</code>参数设置适当的类型。</span> <span>通常,设置类型是由<code>insert_X</code>方法完成的如果尚未设置为X则将其类型设置为X.</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>t</code> -在
<code>TypeCode</code>这个对象,提供信息的价值
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="read_value-org.omg.CORBA.portable.InputStream-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>read_value</h4> <pre>public abstract void read_value(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a> is,
<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)
throws <a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></pre>
<div class="block">
使用给定的类型代码从给定的输入流中读取(解组)
<code>Any</code>对象的值。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>is</code> -
<code>org.omg.CORBA.portable.InputStream</code>对象,从中读取此
<code>Any</code>对象中
<code>Any</code>
</dd>
<dd>
<code>t</code> - 一个
<code>TypeCode</code>对象,其中包含有关要读取的值的类型信息
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></code> - 当给定的
<code>TypeCode</code>对象与输入流中包含的值不一致时
</dd>
</dl> </li>
</ul> <a name="write_value-org.omg.CORBA.portable.OutputStream-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>write_value</h4> <pre>public abstract void write_value(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> os)</pre>
<div class="block">
<span>将此<code>Any</code>对象的值写入给定的输出流。</span>
<span>如果<code>typecode</code><code>value</code>都需要写入,请使用<code>create_output_stream()</code>创建一个<code>OutputStream</code> ,然后在<code>write_any</code>上使用<code>OutputStream</code></span>
<p> <span>如果在没有将值插入到其<code>value</code>字段的<code>Any</code>对象上调用此方法,则会抛出异常<code>java.lang.NullPointerException</code></span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>os</code> -
<code>org.omg.CORBA.portable.OutputStream</code>对象,其中向这个
<code>Any</code>对象的值进行编组
</dd>
</dl> </li>
</ul> <a name="create_output_stream--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>create_output_stream</h4> <pre>public abstract <a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> create_output_stream()</pre>
<div class="block">
创建一个可以编组此
<code>Any</code>对象的值的输出流。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
新创
<code>OutputStream</code>
</dd>
</dl> </li>
</ul> <a name="create_input_stream--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>create_input_stream</h4> <pre>public abstract <a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a> create_input_stream()</pre>
<div class="block">
创建一个输入流,从中可以对该
<code>Any</code>对象的值进行解组。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
新创
<code>InputStream</code>
</dd>
</dl> </li>
</ul> <a name="extract_short--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_short</h4> <pre>public abstract short extract_short()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>short</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>short</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>short</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_short-short-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_short</h4> <pre>public abstract void insert_short(short s)</pre>
<div class="block">
将给定的
<code>short</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -在
<code>short</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_long--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_long</h4> <pre>public abstract int extract_long()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>int</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>int</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> - 如果这
<code>Any</code>对象包含一个不是
<code>int</code>
<code>value</code>字段还没有设置
</dd>
</dl> </li>
</ul> <a name="insert_long-int-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_long</h4> <pre>public abstract void insert_long(int l)</pre>
<div class="block">
将给定的
<code>int</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>l</code> -在
<code>int</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_longlong--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_longlong</h4> <pre>public abstract long extract_longlong()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>long</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>long</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>long</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_longlong-long-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_longlong</h4> <pre>public abstract void insert_longlong(long l)</pre>
<div class="block">
将给定的
<code>long</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>l</code> -在
<code>long</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_ushort--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_ushort</h4> <pre>public abstract short extract_ushort()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>short</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>short</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>short</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_ushort-short-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_ushort</h4> <pre>public abstract void insert_ushort(short s)</pre>
<div class="block">
将给定的
<code>short</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -
<code>short</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_ulong--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_ulong</h4> <pre>public abstract int extract_ulong()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>int</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>int</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>int</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_ulong-int-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_ulong</h4> <pre>public abstract void insert_ulong(int l)</pre>
<div class="block">
将给定的
<code>int</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>l</code> -在
<code>int</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_ulonglong--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_ulonglong</h4> <pre>public abstract long extract_ulonglong()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>long</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>long</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>long</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_ulonglong-long-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_ulonglong</h4> <pre>public abstract void insert_ulonglong(long l)</pre>
<div class="block">
将给定的
<code>long</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>l</code> -
<code>long</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_float--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_float</h4> <pre>public abstract float extract_float()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>float</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>float</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>float</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_float-float-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_float</h4> <pre>public abstract void insert_float(float f)</pre>
<div class="block">
将给定的
<code>float</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>f</code> -
<code>float</code>插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_double--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_double</h4> <pre>public abstract double extract_double()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>double</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>double</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> - 如果这
<code>Any</code>对象包含一个不是
<code>double</code>
<code>value</code>字段尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_double-double-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_double</h4> <pre>public abstract void insert_double(double d)</pre>
<div class="block">
将给定的
<code>double</code>插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>d</code> -在
<code>double</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_boolean--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_boolean</h4> <pre>public abstract boolean extract_boolean()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>boolean</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>boolean</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>boolean</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_boolean-boolean-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_boolean</h4> <pre>public abstract void insert_boolean(boolean b)</pre>
<div class="block">
将给定的
<code>boolean</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>b</code> -
<code>boolean</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_char--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_char</h4> <pre>public abstract char extract_char()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>char</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>char</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>char</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_char-char-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_char</h4> <pre>public abstract void insert_char(char c)
throws <a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="class in org.omg.CORBA">DATA_CONVERSION</a></pre>
<div class="block">
将给定的
<code>char</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>c</code> -
<code>char</code>插入此
<code>Any</code>对象
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="class in org.omg.CORBA">DATA_CONVERSION</a></code> - 如果有数据转换错误
</dd>
</dl> </li>
</ul> <a name="extract_wchar--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_wchar</h4> <pre>public abstract char extract_wchar()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>char</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>char</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>char</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_wchar-char-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_wchar</h4> <pre>public abstract void insert_wchar(char c)</pre>
<div class="block">
将给定的
<code>char</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>c</code> -
<code>char</code>插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_octet--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_octet</h4> <pre>public abstract byte extract_octet()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>byte</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>byte</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>byte</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_octet-byte-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_octet</h4> <pre>public abstract void insert_octet(byte b)</pre>
<div class="block">
将给定的
<code>byte</code>插入此
<code>Any</code>对象的
<code>value</code>字段。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>b</code> -
<code>byte</code>插入到这个
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_any--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_any</h4> <pre>public abstract <a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> extract_any()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
<code>Any</code>对象的
<code>value</code>字段中提取
<code>Any</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>Any</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他的东西比一个
<code>Any</code>对象或
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_any-org.omg.CORBA.Any-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_any</h4> <pre>public abstract void insert_any(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</pre>
<div class="block">
将给定的
<code>Any</code>对象插入到这个
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>a</code> -在
<code>Any</code>对象插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_Object--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_Object</h4> <pre>public abstract <a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> extract_Object()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
提取
<code>org.omg.CORBA.Object</code>这个
<code>Any</code>对象
<code>value</code>场。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>org.omg.CORBA.Object</code>存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含比其他东西
<code>org.omg.CORBA.Object</code>
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_Object-org.omg.CORBA.Object-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Object</h4> <pre>public abstract void insert_Object(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> o)</pre>
<div class="block">
将给定的
<code>org.omg.CORBA.Object</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>o</code> -在
<code>org.omg.CORBA.Object</code>对象插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_Value--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_Value</h4> <pre>public abstract <a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> extract_Value()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
<code>Any</code>对象的
<code>value</code>字段中提取
<code>java.io.Serializable</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>java.io.Serializable</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>java.io.Serializable</code>对象或
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_Value-java.io.Serializable-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Value</h4> <pre>public abstract void insert_Value(<a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> v)</pre>
<div class="block">
将给定的
<code>java.io.Serializable</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>v</code> -在
<code>java.io.Serializable</code>对象插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="insert_Value-java.io.Serializable-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Value</h4> <pre>public abstract void insert_Value(<a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> v,
<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)
throws <a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></pre>
<div class="block">
将给定的
<code>java.io.Serializable</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>v</code> -在
<code>java.io.Serializable</code>对象插入此
<code>Any</code>对象
</dd>
<dd>
<code>t</code> -所述
<code>TypeCode</code>对象,它是要插入到本
<code>Any</code>对象的
<code>type</code>字段和描述
<code>java.io.Serializable</code>被插入对象
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></code> - 如果ORB编组或解组参数有问题
</dd>
</dl> </li>
</ul> <a name="insert_Object-org.omg.CORBA.Object-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Object</h4> <pre>public abstract void insert_Object(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> o,
<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)
throws <a href="../../../org/omg/CORBA/BAD_PARAM.html" title="class in org.omg.CORBA">BAD_PARAM</a></pre>
<div class="block">
将给定的
<code>org.omg.CORBA.Object</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>o</code> - 要插入
<code>Any</code>对象的
<code>org.omg.CORBA.Object</code>实例
</dd>
<dd>
<code>t</code> -所述
<code>TypeCode</code>对象,它是将被插入到这个
<code>Any</code>对象和描述该
<code>Object</code>被插入
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> - 如果此方法对此
<code>Any</code>对象无效
</dd>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_PARAM.html" title="class in org.omg.CORBA">BAD_PARAM</a></code>
</dd>
</dl> </li>
</ul> <a name="extract_string--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_string</h4> <pre>public abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a> extract_string()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>String</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>String</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>String</code>对象或
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_string-java.lang.String-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_string</h4> <pre>public abstract void insert_string(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> s)
throws <a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="class in org.omg.CORBA">DATA_CONVERSION</a>,
<a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></pre>
<div class="block">
将给定的
<code>String</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -在
<code>String</code>对象插入此
<code>Any</code>对象
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="class in org.omg.CORBA">DATA_CONVERSION</a></code> - 如果有数据转换错误
</dd>
<dd>
<code><a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></code> - 如果ORB编组或解组参数有问题
</dd>
</dl> </li>
</ul> <a name="extract_wstring--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_wstring</h4> <pre>public abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a> extract_wstring()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>String</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>String</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>String</code>对象或
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_wstring-java.lang.String-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_wstring</h4> <pre>public abstract void insert_wstring(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> s)
throws <a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></pre>
<div class="block">
将给定的
<code>String</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -在
<code>String</code>对象插入此
<code>Any</code>对象
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/MARSHAL.html" title="class in org.omg.CORBA">MARSHAL</a></code> - 如果ORB编组或解组参数有问题
</dd>
</dl> </li>
</ul> <a name="extract_TypeCode--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_TypeCode</h4> <pre>public abstract <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> extract_TypeCode()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>TypeCode</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>TypeCode</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>TypeCode</code>对象或
<code>value</code>领域尚未设置
</dd>
</dl> </li>
</ul> <a name="insert_TypeCode-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_TypeCode</h4> <pre>public abstract void insert_TypeCode(<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> t)</pre>
<div class="block">
将给定的
<code>TypeCode</code>对象插入到此
<code>Any</code>对象的
<code>value</code>字段中。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>t</code> -在
<code>TypeCode</code>对象插入此
<code>Any</code>对象
</dd>
</dl> </li>
</ul> <a name="extract_Principal--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_Principal</h4> <pre><a href="../../../java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
public <a href="../../../org/omg/CORBA/Principal.html" title="class in org.omg.CORBA">Principal</a> extract_Principal()
throws <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></pre>
<div class="block">
<span><span class="deprecatedLabel">已弃用</span></span>
<span><span class="deprecationComment">被CORBA弃用2.2。</span></span>
</div>
<div class="block">
<span>在此<code>Any</code>对象的<code>value</code>字段中提取<code>Principal</code>对象。</span>
<span>请注意, <code>Principal</code>已被弃用。</span>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>Principal</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>Principal</code>对象或
<code>value</code>领域尚未设置
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="insert_Principal-org.omg.CORBA.Principal-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Principal</h4> <pre><a href="../../../java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
public void insert_Principal(<a href="../../../org/omg/CORBA/Principal.html" title="class in org.omg.CORBA">Principal</a> p)</pre>
<div class="block">
<span><span class="deprecatedLabel">已弃用</span></span>
<span><span class="deprecationComment">被CORBA弃用2.2。</span></span>
</div>
<div class="block">
<span>将给定的<code>Principal</code>对象插入到此<code>Any</code>对象的<code>value</code>字段中。</span>
<span>请注意, <code>Principal</code>类已被弃用。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>p</code> -在
<code>Principal</code>对象插入此
<code>Any</code>对象
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="extract_Streamable--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_Streamable</h4> <pre>public <a href="../../../org/omg/CORBA/portable/Streamable.html" title="interface in org.omg.CORBA.portable">Streamable</a> extract_Streamable()
throws <a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="class in org.omg.CORBA">BAD_INV_ORDER</a></pre>
<div class="block">
<span>提取<code>Streamable</code>从这个<code>Any</code>对象<code>value</code>场。</span>
<span>该方法允许提取非原始IDL类型。</span>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>Streamable</code>存储在
<code>Any</code>对象中。
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="class in org.omg.CORBA">BAD_INV_ORDER</a></code> - 如果调用者以错误的顺序调用操作
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="insert_Streamable-org.omg.CORBA.portable.Streamable-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_Streamable</h4> <pre>public void insert_Streamable(<a href="../../../org/omg/CORBA/portable/Streamable.html" title="interface in org.omg.CORBA.portable">Streamable</a> s)</pre>
<div class="block">
<span>将给定的<code>Streamable</code>对象插入到这个<code>Any</code>对象的<code>value</code>字段中。</span>
<span>该方法允许插入非原始IDL类型。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<span><code>s</code> - <code>Streamable</code>对象插入到这个<code>Any</code>对象中;</span>
<span>可能是非原始的IDL类型</span>
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="extract_fixed--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>extract_fixed</h4> <pre>public <a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a> extract_fixed()</pre>
<div class="block">
在此
<code>Any</code>对象的
<code>value</code>字段中提取
<code>java.math.BigDecimal</code>对象。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>java.math.BigDecimal</code>对象存储在此
<code>Any</code>对象中
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="class in org.omg.CORBA">BAD_OPERATION</a></code> -如果此
<code>Any</code>对象包含其他东西比
<code>java.math.BigDecimal</code>对象或
<code>value</code>领域尚未设置
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="insert_fixed-java.math.BigDecimal-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>insert_fixed</h4> <pre>public void insert_fixed(<a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a> value)</pre>
<div class="block">
<span>抛出<a href="package-summary.html#NO_IMPLEMENT"><code>org.omg.CORBA.NO_IMPLEMENT</code></a>例外。</span>
<p> <span>将给定的<code>java.math.BigDecimal</code>对象插入此<code>Any</code>对象的<code>value</code>字段。</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>value</code> -
<code>java.math.BigDecimal</code>对象插入到这个
<code>Any</code>对象
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> <a name="insert_fixed-java.math.BigDecimal-org.omg.CORBA.TypeCode-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>insert_fixed</h4> <pre>public void insert_fixed(<a href="../../../java/math/BigDecimal.html" title="class in java.math">BigDecimal</a> value,
<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> type)
throws <a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="class in org.omg.CORBA">BAD_INV_ORDER</a></pre>
<div class="block">
<span>抛出<a href="package-summary.html#NO_IMPLEMENT"><code>org.omg.CORBA.NO_IMPLEMENT</code></a>异常。</span>
<p> <span>将给定的<code>java.math.BigDecimal</code>对象插入到此<code>Any</code>对象的<code>value</code>字段中。</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>value</code> -在
<code>java.math.BigDecimal</code>对象插入此
<code>Any</code>对象
</dd>
<dd>
<code>type</code> -所述
<code>TypeCode</code>对象,它是要插入到本
<code>Any</code>对象的
<code>type</code>字段和描述
<code>java.math.BigDecimal</code>被插入对象
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="class in org.omg.CORBA">BAD_INV_ORDER</a></code> - 如果这种方法被调用不当
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="package-summary.html#unimpl"><code>CORBA</code> package comments for unimplemented features</a>
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>