public abstract class ObjectIdHelper extends Object
| Constructor and Description |
|---|
ObjectIdHelper() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ObjectIdHelper()
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 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.