org.omg.CORBA

Class NameValuePairHelper

public abstract class NameValuePairHelper extends Object

The helper operations for {@link NameValuePair}.
Method Summary
static NameValuePairextract(Any a)
Extract the NameValuePair from the given {@link Any}.
static Stringid()
Return the NameValuePair repository id.
static voidinsert(Any a, NameValuePair that)
Insert the NameValuePair into the given {@link Any}.
static NameValuePairread(InputStream istream)
Read the NameValuePair from the given CDR stream.
static TypeCodetype()
Create the type code for the name value pair.
static voidwrite(OutputStream ostream, NameValuePair value)
Write the exception to the CDR output stream.

Method Detail

extract

public static NameValuePair extract(Any a)
Extract the NameValuePair from the given {@link Any}.

id

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

insert

public static void insert(Any a, NameValuePair that)
Insert the NameValuePair into the given {@link Any}.

read

public static NameValuePair read(InputStream istream)
Read the NameValuePair from the given CDR stream. First reads the name (id) as string, then the value as {@link Any}.

type

public static TypeCode type()
Create the type code for the name value pair.

write

public static void write(OutputStream ostream, NameValuePair value)
Write the exception to the CDR output stream. First writes the name (id), then the value as {@link Any}.