org.omg.CORBA
public class StringValueHelper extends Object implements BoxedValueHelper
Constructor and Description |
---|
StringValueHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
extract(Any an_any)
Extract the string from the given Any.
|
String |
get_id()
Returns the String Value repository Id.
|
static String |
id()
Returns the String Value repository Id.
|
static void |
insert(Any an_any,
String that)
Insert the string into the given Any.
|
Serializable |
read_value(InputStream istream)
Read the string value from the input stream.
|
static String |
read(InputStream in)
Reads a string as a value type.
|
static TypeCode |
type()
Create and return the value box typecode, named "StringValue", with the
content typecode being unbounded string.
|
void |
write_value(OutputStream ostream,
Serializable a_string)
Write the given string value into the output stream.
|
static void |
write(OutputStream out,
String a_string)
Writes a string as a value type.
|
public StringValueHelper()
public String get_id()
get_id
in interface BoxedValueHelper
public static String id()
public Serializable read_value(InputStream istream)
read_value
in interface BoxedValueHelper
istream
- a stream to read from.public void write_value(OutputStream ostream, Serializable a_string)
write_value
in interface BoxedValueHelper
ostream
- a stream to write into.a_string
- a string to write.public static String extract(Any an_any)
an_any
- an Any to extract from.public static void insert(Any an_any, String that)
an_any
- an Any to insert into.that
- a string to insert.public static String read(InputStream in)
in
- a stream to read value from.public static TypeCode type()
public static void write(OutputStream out, String a_string)
out
- a stream to write value into.a_string
- a string to write.