org.omg.DynamicAny

Class FieldNameHelper

public abstract class FieldNameHelper extends Object

A helper for the FieldName. The fields id, id and return values of methods current_member_name(), member_name() in several interfaces officially have the "FieldName" type. This type is directly mapped into java String and needs no helper. The helper is included only as a part of the formal standard.
Method Summary
static Stringextract(Any a)
Extract the FieldName from Any ((uses Any).
static Stringid()
Return the FieldName repository id.
static voidinsert(Any a, String that)
Insert the FieldName into Any (uses Any).
static Stringread(InputStream istream)
Calls read_string.
static TypeCodetype()
Return an alias typecode.
static voidwrite(OutputStream ostream, String value)
Calls write_string.

Method Detail

extract

public static String extract(Any a)
Extract the FieldName from Any ((uses Any).

Parameters: a the Any to extract from.

id

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

Returns: "IDL:omg.org/DynamicAny/FieldName:1.0", always.

insert

public static void insert(Any a, String that)
Insert the FieldName into Any (uses Any).

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

read

public static String read(InputStream istream)
Calls read_string.

Parameters: istream the stream to read from.

type

public static TypeCode type()
Return an alias typecode.

write

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

Parameters: ostream the stream to write into. value the string (FieldName) value to write.