org.omg.PortableInterceptor
Class ObjectReferenceTemplateHelper

java.lang.Object
  extended by org.omg.PortableInterceptor.ObjectReferenceTemplateHelper

public abstract class ObjectReferenceTemplateHelper
extends Object

The helper operations for the CORBA object ObjectReferenceTemplate.


Constructor Summary
ObjectReferenceTemplateHelper()
           
 
Method Summary
static ObjectReferenceTemplate extract(Any any)
          Extract the ObjectReferenceTemplate from given Any.
static String id()
          Get the ObjectReferenceTemplate repository id.
static void insert(Any any, ObjectReferenceTemplate that)
          Insert the ObjectReferenceTemplate into the given Any.
static ObjectReferenceTemplate read(InputStream input)
          Read the object reference template (as the value type).
static TypeCode type()
          Get the type code of the ObjectReferenceTemplate.
static void write(OutputStream output, ObjectReferenceTemplate value)
          Write the object reference template (as the value type).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectReferenceTemplateHelper

public ObjectReferenceTemplateHelper()
Method Detail

type

public static TypeCode type()
Get the type code of the ObjectReferenceTemplate.

Returns:
value type type code, named ObjectReferenceTemplate, no members, abstract.

insert

public static void insert(Any any,
                          ObjectReferenceTemplate that)
Insert the ObjectReferenceTemplate into the given Any.

Parameters:
any - the Any to insert into.
that - the ObjectReferenceTemplate to insert.

extract

public static ObjectReferenceTemplate extract(Any any)
Extract the ObjectReferenceTemplate from given Any.

Throws:
BAD_OPERATION - if the passed Any does not contain ObjectReferenceTemplate.

id

public static String id()
Get the ObjectReferenceTemplate repository id.

Returns:
"IDL:omg.org/PortableInterceptor/ObjectReferenceTemplate:1.0", always.

read

public static ObjectReferenceTemplate read(InputStream input)
Read the object reference template (as the value type).


write

public static void write(OutputStream output,
                         ObjectReferenceTemplate value)
Write the object reference template (as the value type).