FileDocCategorySizeDatePackage
TypeCodeImplHelper.javaAPI DocJava SE 5 API1745Fri Aug 26 14:54:20 BST 2005com.sun.corba.se.impl.corba

TypeCodeImplHelper

public abstract class TypeCodeImplHelper extends Object

Fields Summary
private static String
_id
private static org.omg.CORBA.TypeCode
__typeCode
Constructors Summary
Methods Summary
public static org.omg.CORBA.TypeCodeextract(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.TypeCode 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.TypeCoderead(org.omg.CORBA.portable.InputStream istream)

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

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

	ostream.write_TypeCode (value);
    
public static voidwrite(org.omg.CORBA.portable.OutputStream ostream, TypeCodeImpl value)

	ostream.write_TypeCode (value);