|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableInterceptor.ObjectIdHelper
public abstract class ObjectIdHelper
The Object Id of this package is defined in OMG specification as a byte array. As such, the Object Id needs no helper, but one is included in the API anyway.
Constructor Summary | |
---|---|
ObjectIdHelper()
|
Method Summary | |
---|---|
static byte[] |
extract(Any a)
Extract the Object Id from Any. |
static String |
id()
Return the Object Id repository id. |
static void |
insert(Any a,
byte[] that)
Insert the Object Id into Any. |
static byte[] |
read(InputStream input)
Read the Object Id as a byte array. |
static TypeCode |
type()
Return an alias typecode (an alias of the octet sequence). |
static void |
write(OutputStream output,
byte[] value)
Write the Object Id as a byte array. |
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, byte[] that)
a
- the Any to insert into.that
- the string to insert.public static byte[] extract(Any a)
a
- the Any to extract from.public static TypeCode type()
public static String id()
public static byte[] read(InputStream input)
input
- the stream to read from.public static void write(OutputStream output, byte[] value)
output
- the stream to write into.value
- the Object Id value to write.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |