|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.WStringValueHelper
public class WStringValueHelper
Provides helper operations for the Wide String value type, treating a Wide String as a CORBA value type rather than as a primitive type. The OMG specification states this may be convenient in some specific cases. The typecode is different, but the reading/writing format in this implementation is the same as for the ordinary wide string. This is that Sun's IDL compiler (v1.4) would generate.
Constructor Summary | |
---|---|
WStringValueHelper()
|
Method Summary | |
---|---|
static String |
extract(Any an_any)
Extract the wide 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 wide string into the given Any. |
Serializable |
read_value(InputStream istream)
Read the wide string value from the input stream. |
static String |
read(InputStream in)
Reads a wide string as a value type. |
static TypeCode |
type()
Create and return the value box typecode, named "WStringValue", with the content typecode being unbounded string. |
void |
write_value(OutputStream ostream,
Serializable a_string)
Write the given wide string value into the output stream. |
static void |
write(OutputStream out,
String a_string)
Writes a wide string as a value type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WStringValueHelper()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |