|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableInterceptor.ORBInitInfoPackage.ObjectIdHelper
public abstract class ObjectIdHelper
The Object Id is defined in OMG specification just as a narrow (not wide) string. As such, the Object Id needs no helper, but one is included in the API anyway.
| Constructor Summary | |
|---|---|
ObjectIdHelper()
|
|
| Method Summary | |
|---|---|
static String |
extract(Any a)
Extract the Object Id from Any (uses Any.extract_string()). |
static String |
id()
Return the Object Id repository id. |
static void |
insert(Any a,
String that)
Insert the Object Id into Any (uses Any.insert_string(String)). |
static String |
read(InputStream input)
Calls InputStream.read_string(). |
static TypeCode |
type()
Return an alias typecode. |
static void |
write(OutputStream output,
String value)
Calls OutputStream.write_string(String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectIdHelper()
| Method Detail |
|---|
public static void insert(Any a,
String that)
Any.insert_string(String)).
a - the Any to insert into.that - the string to insert.public static String extract(Any a)
Any.extract_string()).
a - the Any to extract from.public static TypeCode type()
public static String id()
public static String read(InputStream input)
InputStream.read_string().
input - the stream to read from.
public static void write(OutputStream output,
String value)
OutputStream.write_string(String).
output - the stream to write into.value - the string (Object Id) value to write.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||