org.omg.PortableServer.CurrentPackage
Class NoContextHelper

java.lang.Object
  extended by org.omg.PortableServer.CurrentPackage.NoContextHelper

public abstract class NoContextHelper
extends Object

The helper operations for the exception NoContext.


Constructor Summary
NoContextHelper()
           
 
Method Summary
static NoContext extract(Any any)
          Extract the NoContext from given Any.
static String id()
          Get the NoContext repository id.
static void insert(Any any, NoContext that)
          Insert the NoContext into the given Any.
static NoContext read(InputStream input)
          Read the exception from the CDR intput stream.
static TypeCode type()
          Create the NoContext typecode (structure, named "NoContext").
static void write(OutputStream output, NoContext value)
          Write the exception to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoContextHelper

public NoContextHelper()
Method Detail

type

public static TypeCode type()
Create the NoContext typecode (structure, named "NoContext").


insert

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

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

extract

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

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

id

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

Returns:
"IDL:omg.org/PortableServer/Current/NoContext:1.0", always.

read

public static NoContext read(InputStream input)
Read the exception from the CDR intput stream.

Parameters:
input - a org.omg.CORBA.portable stream to read from.

write

public static void write(OutputStream output,
                         NoContext value)
Write the exception to the CDR output stream.

Parameters:
output - a org.omg.CORBA.portable stream stream to write into.
value - a value to write.