⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dynany.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>Any</code> object.<DT><B>Throws:</B><DD><CODE>Invalid</CODE> - if this <code>DynAny</code> is empty or                    bad.            created or does not contain a meaningful value</DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>()</PRE><DL><DD>Destroys this <code>DynAny</code> object and frees any resources used to represent the data value associated with it. This method also destroys all <code>DynAny</code> objects obtained from it. <p> Destruction of <code>DynAny</code> objects should be handled with care, taking into account issues dealing with the representation of  data values associated with <code>DynAny</code> objects.  A programmer who wants to destroy a <code>DynAny</code> object but still be able to manipulate some component of the data value associated with it, should first create a <code>DynAny</code> object for the component and then make a copy of the created <code>DynAny</code> object.<DD><DL></DL></DD></DL><HR><A NAME="copy()"><!-- --></A><H3>copy</H3><PRE>public <A HREF="../../../org/omg/CORBA/DynAny.html">DynAny</A> <B>copy</B>()</PRE><DL><DD>Clones this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a copy of this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_boolean(boolean)"><!-- --></A><H3>insert_boolean</H3><PRE>public void <B>insert_boolean</B>(boolean&nbsp;value)                    throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>boolean</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>boolean</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_octet(byte)"><!-- --></A><H3>insert_octet</H3><PRE>public void <B>insert_octet</B>(byte&nbsp;value)                  throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>byte</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>byte</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_char(char)"><!-- --></A><H3>insert_char</H3><PRE>public void <B>insert_char</B>(char&nbsp;value)                 throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>char</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>char</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_short(short)"><!-- --></A><H3>insert_short</H3><PRE>public void <B>insert_short</B>(short&nbsp;value)                  throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>short</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>short</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_ushort(short)"><!-- --></A><H3>insert_ushort</H3><PRE>public void <B>insert_ushort</B>(short&nbsp;value)                   throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>short</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>short</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_long(int)"><!-- --></A><H3>insert_long</H3><PRE>public void <B>insert_long</B>(int&nbsp;value)                 throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>int</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>int</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_ulong(int)"><!-- --></A><H3>insert_ulong</H3><PRE>public void <B>insert_ulong</B>(int&nbsp;value)                  throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>int</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>int</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_float(float)"><!-- --></A><H3>insert_float</H3><PRE>public void <B>insert_float</B>(float&nbsp;value)                  throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>float</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>float</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_double(double)"><!-- --></A><H3>insert_double</H3><PRE>public void <B>insert_double</B>(double&nbsp;value)                   throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>double</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>double</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_string(java.lang.String)"><!-- --></A><H3>insert_string</H3><PRE>public void <B>insert_string</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;value)                   throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>String</code> object as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>String</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_reference(org.omg.CORBA.Object)"><!-- --></A><H3>insert_reference</H3><PRE>public void <B>insert_reference</B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;value)                      throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>org.omg.CORBA.Object</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code> object, it initializes the next component of the constructed data value associated with this <code>DynAny</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>org.omg.CORBA.Object</code> to insert into this              <code>DynAny</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></CODE> - if the value inserted is not consistent with the type            of the accessed component in this <code>DynAny</code> object</DL></DD></DL><HR><A NAME="insert_typecode(org.omg.CORBA.TypeCode)"><!-- --></A><H3>insert_typecode</H3><PRE>public void <B>insert_typecode</B>(<A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A>&nbsp;value)                     throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/InvalidValue.html">InvalidValue</A></PRE><DL><DD>Inserts the given <code>org.omg.CORBA.TypeCode</code> as the value for this <code>DynAny</code> object. <p> If this method is called on a constructed <code>DynAny</code>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -