org.omg.CORBA
Class VersionSpecHelper

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

public abstract class VersionSpecHelper
extends Object

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


Constructor Summary
VersionSpecHelper()
           
 
Method Summary
static String extract(Any a)
          Extract the VersionSpec from Any ((uses Any.extract_string()).
static String id()
          Return the VersionSpec repository id.
static void insert(Any a, String that)
          Insert the VersionSpec 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 "VersionSpec".
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

VersionSpecHelper

public VersionSpecHelper()
Method Detail

insert

public static void insert(Any a,
                          String that)
Insert the VersionSpec 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 VersionSpec from Any ((uses Any.extract_string()).

Parameters:
a - the Any to extract from.

type

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


id

public static String id()
Return the VersionSpec repository id.

Returns:
"IDL:omg.org/CORBA/VersionSpec: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 (VersionSpec) value to write.