📄 any.html
字号:
<code>Any</code> object</DL></DD></DL><HR><A NAME="extract_any()"><!-- --></A><H3>extract_any</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Any.html">Any</A> <B>extract_any</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Extracts the <code>Any</code> object in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>Any</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than an <code>Any</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_any(org.omg.CORBA.Any)"><!-- --></A><H3>insert_any</H3><PRE>public abstract void <B>insert_any</B>(<A HREF="../../../org/omg/CORBA/Any.html">Any</A> a)</PRE><DL><DD>Inserts the given <code>Any</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the <code>Any</code> object to insert into this <code>Any</code> object</DL></DD></DL><HR><A NAME="extract_string()"><!-- --></A><H3>extract_string</H3><PRE>public abstract <A HREF="../../../java/lang/String.html">String</A> <B>extract_string</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Extracts the <code>String</code> object in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>String</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than a <code>String</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_string(java.lang.String)"><!-- --></A><H3>insert_string</H3><PRE>public abstract void <B>insert_string</B>(<A HREF="../../../java/lang/String.html">String</A> s) throws <A HREF="../../../org/omg/CORBA/DATA_CONVERSION.html">DATA_CONVERSION</A>, <A HREF="../../../org/omg/CORBA/MARSHAL.html">MARSHAL</A></PRE><DL><DD>Inserts the given <code>String</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> object to insert into this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DATA_CONVERSION.html">DATA_CONVERSION</A></CODE> - if there is a data conversion error<DD><CODE><A HREF="../../../org/omg/CORBA/MARSHAL.html">MARSHAL</A></CODE> - if the ORB has a problem marshalling or unmarshalling parameters</DL></DD></DL><HR><A NAME="extract_wstring()"><!-- --></A><H3>extract_wstring</H3><PRE>public abstract <A HREF="../../../java/lang/String.html">String</A> <B>extract_wstring</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Extracts the <code>String</code> object in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>String</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than a <code>String</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_wstring(java.lang.String)"><!-- --></A><H3>insert_wstring</H3><PRE>public abstract void <B>insert_wstring</B>(<A HREF="../../../java/lang/String.html">String</A> s) throws <A HREF="../../../org/omg/CORBA/MARSHAL.html">MARSHAL</A></PRE><DL><DD>Inserts the given <code>String</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> object to insert into this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/MARSHAL.html">MARSHAL</A></CODE> - if the ORB has a problem marshalling or unmarshalling parameters</DL></DD></DL><HR><A NAME="extract_Object()"><!-- --></A><H3>extract_Object</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>extract_Object</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Extracts the <code>org.omg.CORBA.Object</code> in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>org.omg.CORBA.Object</code> stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than an <code>org.omg.CORBA.Object</code> or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_Object(org.omg.CORBA.Object)"><!-- --></A><H3>insert_Object</H3><PRE>public abstract void <B>insert_Object</B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A> o)</PRE><DL><DD>Inserts the given <code>org.omg.CORBA.Object</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the <code>org.omg.CORBA.Object</code> object to insert into this <code>Any</code> object</DL></DD></DL><HR><A NAME="insert_Object(org.omg.CORBA.Object, org.omg.CORBA.TypeCode)"><!-- --></A><H3>insert_Object</H3><PRE>public abstract void <B>insert_Object</B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A> o, <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> t) throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Inserts the given <code>org.omg.CORBA.Object</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the <code>org.omg.CORBA.Object</code> instance to insert into this <code>Any</code> object<DD><CODE>t</CODE> - the <code>TypeCode</code> object that is to be inserted into this <code>Any</code> object and that describes the <code>Object</code> being inserted<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this method is invalid for this <code>Any</code> object</DL></DD></DL><HR><A NAME="extract_TypeCode()"><!-- --></A><H3>extract_TypeCode</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>extract_TypeCode</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD>Extracts the <code>TypeCode</code> object in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>TypeCode</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than a <code>TypeCode</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_TypeCode(org.omg.CORBA.TypeCode)"><!-- --></A><H3>insert_TypeCode</H3><PRE>public abstract void <B>insert_TypeCode</B>(<A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> t)</PRE><DL><DD>Inserts the given <code>TypeCode</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the <code>TypeCode</code> object to insert into this <code>Any</code> object</DL></DD></DL><HR><A NAME="extract_Principal()"><!-- --></A><H3>extract_Principal</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Principal.html">Principal</A> <B>extract_Principal</B>() throws <A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></PRE><DL><DD><B>Deprecated.</B> <I>Deprecated by CORBA 2.2.</I><P><DD>Extracts the <code>Principal</code> object in this <code>Any</code> object's <code>value</code> field. Note that the class <code>Principal</code> has been deprecated.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>Principal</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than a <code>Principal</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_Principal(org.omg.CORBA.Principal)"><!-- --></A><H3>insert_Principal</H3><PRE>public abstract void <B>insert_Principal</B>(<A HREF="../../../org/omg/CORBA/Principal.html">Principal</A> p)</PRE><DL><DD><B>Deprecated.</B> <I>Deprecated by CORBA 2.2.</I><P><DD>Inserts the given <code>Principal</code> object into this <code>Any</code> object's <code>value</code> field. Note that the class <code>Principal</code> has been deprecated.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - the <code>Principal</code> object to insert into this <code>Any</code> object</DL></DD></DL><HR><A NAME="extract_fixed()"><!-- --></A><H3>extract_fixed</H3><PRE>public <A HREF="../../../java/math/BigDecimal.html">BigDecimal</A> <B>extract_fixed</B>()</PRE><DL><DD>Extracts the <code>java.math.BigDecimal</code> object in this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>java.math.BigDecimal</code> object stored in this <code>Any</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_OPERATION.html">BAD_OPERATION</A></CODE> - if this <code>Any</code> object contains something other than a <code>java.math.BigDecimal</code> object or the <code>value</code> field has not yet been set</DL></DD></DL><HR><A NAME="insert_fixed(java.math.BigDecimal)"><!-- --></A><H3>insert_fixed</H3><PRE>public void <B>insert_fixed</B>(<A HREF="../../../java/math/BigDecimal.html">BigDecimal</A> value)</PRE><DL><DD>Inserts the given <code>java.math.BigDecimal</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>java.math.BigDecimal</code> object to insert into this <code>Any</code> object</DL></DD></DL><HR><A NAME="insert_fixed(java.math.BigDecimal, org.omg.CORBA.TypeCode)"><!-- --></A><H3>insert_fixed</H3><PRE>public void <B>insert_fixed</B>(<A HREF="../../../java/math/BigDecimal.html">BigDecimal</A> value, <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> type)</PRE><DL><DD>Inserts the given <code>java.math.BigDecimal</code> object into this <code>Any</code> object's <code>value</code> field.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>java.math.BigDecimal</code> object to insert into this <code>Any</code> object<DD><CODE>type</CODE> - the <code>TypeCode</code> object that is to be inserted into this <code>Any</code> object's <code>type</code> field and that describes the <code>java.math.BigDecimal</code> object being inserted</DL></DD></DL><HR><A NAME="extract_Value()"><!-- --></A><H3>extract_Value</H3><PRE>public <A HREF="../../../java/io/Serializable.html">Serializable</A> <B>extract_Value</B>() throws <A HREF="../..
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -