org.omg.CORBA
public class StringValueHelper extends Object implements BoxedValueHelper
Method Summary | |
---|---|
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. |
static String | read(InputStream in)
Reads a string as a value type.
|
Serializable | read_value(InputStream istream)
Read the string value from the input stream.
|
static TypeCode | type()
Create and return the value box typecode, named "StringValue", with the
content typecode being unbounded string. |
static void | write(OutputStream out, String a_string)
Writes a string as a value type.
|
void | write_value(OutputStream ostream, Serializable a_string)
Write the given string value into the output stream.
|
Parameters: an_any an Any to extract from.
Returns: the extracted string.
Returns: "IDL:omg.org/CORBA/StringValue:1.0", always.
Returns: "IDL:omg.org/CORBA/StringValue:1.0", always.
Parameters: an_any an Any to insert into. that a string to insert.
Parameters: in a stream to read value from.
Parameters: istream a stream to read from.
Returns: a string (delegates to read_string()).
Parameters: out a stream to write value into. a_string a string to write.
Parameters: ostream a stream to write into. a_string a string to write.