FileDocCategorySizeDatePackage
AnyImplHelper.javaAPI DocJava SE 5 API1601Fri Aug 26 14:54:18 BST 2005com.sun.corba.se.impl.corba

AnyImplHelper

public abstract class AnyImplHelper extends Object

Fields Summary
private static String
_id
private static org.omg.CORBA.TypeCode
__typeCode
Constructors Summary
Methods Summary
public static org.omg.CORBA.Anyextract(org.omg.CORBA.Any a)

	return read (a.create_input_stream ());
    
public static java.lang.Stringid()

	return _id;
    
public static voidinsert(org.omg.CORBA.Any a, org.omg.CORBA.Any that)


           
    
	org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
	a.type (type ());
	write (out, that);
	a.read_value (out.create_input_stream (), type ());
    
public static org.omg.CORBA.Anyread(org.omg.CORBA.portable.InputStream istream)

	return istream.read_any ();
    
public static synchronized org.omg.CORBA.TypeCodetype()

         
    
	if (__typeCode == null)
	    {
		__typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_any);
	    }
	return __typeCode;
    
public static voidwrite(org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Any value)

	ostream.write_any (value);