- java.lang.Object
-
- org.omg.DynamicAny.DynValueHelper
-
public abstract class DynValueHelper extends Object
DynValue objects support the manipulation of IDL non-boxed value types. The DynValue interface can represent both null and non-null value types. For a DynValue representing a non-null value type, the DynValue's components comprise the public and private members of the value type, including those inherited from concrete base value types, in the order of definition. A DynValue representing a null value type has no components and a current position of -1.Warning: Indiscriminantly changing the contents of private value type members can cause the value type implementation to break by violating internal constraints. Access to private members is provided to support such activities as ORB bridging and debugging and should not be used to arbitrarily violate the encapsulation of the value type.
-
-
Constructor Summary
Constructors Constructor and Description DynValueHelper()
-
Method Summary
Methods Modifier and Type Method and Description static DynValue
extract(Any a)
static String
id()
static void
insert(Any a, DynValue that)
static DynValue
narrow(Object obj)
static DynValue
read(InputStream istream)
static TypeCode
type()
static DynValue
unchecked_narrow(Object obj)
static void
write(OutputStream ostream, DynValue value)
-
-
-
Method Detail
-
type
public static TypeCode type()
-
id
public static String id()
-
read
public static DynValue read(InputStream istream)
-
write
public static void write(OutputStream ostream, DynValue value)
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-org/omg/dynamicany/dynvaluehelper.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.