org.omg.CORBA
Class FieldNameHelper

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

public abstract class FieldNameHelper
extends Object

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


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

FieldNameHelper

public FieldNameHelper()
Method Detail

insert

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

Parameters:
a - the Any to extract from.

type

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


id

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

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