org.omg.CORBA
Class RepositoryIdHelper

java.lang.Object
  extended by org.omg.CORBA.RepositoryIdHelper

public abstract class RepositoryIdHelper
extends Object

A formal helper for the CORBA Repository Id that is identical to the narrow string.


Constructor Summary
RepositoryIdHelper()
           
 
Method Summary
static String extract(Any a)
          Extract the Repository Id from Any ((uses Any.extract_string()).
static String id()
          Return the Repository Id repository id.
static void insert(Any a, String that)
          Insert the Repository Id into Any (uses Any.insert_string(java.lang.String)).
static String read(InputStream istream)
          Calls InputStream.read_string().
static TypeCode type()
          Return an string alias typecode, named "RepositoryId"
static void write(OutputStream ostream, String value)
          Calls OutputStream.write_string(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryIdHelper

public RepositoryIdHelper()
Method Detail

insert

public static void insert(Any a,
                          String that)
Insert the Repository Id into Any (uses Any.insert_string(java.lang.String)).

Parameters:
a - the Any to insert into.
that - the string to insert.

extract

public static String extract(Any a)
Extract the Repository Id from Any ((uses Any.extract_string()).

Parameters:
a - the Any to extract from.

type

public static TypeCode type()
Return an string alias typecode, named "RepositoryId"


id

public static String id()
Return the Repository Id repository id.

Returns:
"IDL:omg.org/CORBA/RepositoryId:1.0", always.

read

public static String read(InputStream istream)
Calls InputStream.read_string().

Parameters:
istream - the stream to read from.

write

public static void write(OutputStream ostream,
                         String value)
Calls OutputStream.write_string(String).

Parameters:
ostream - the stream to write into.
value - the string (Repository Id) value to write.