|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableInterceptor.CurrentHelper
public abstract class CurrentHelper
The helper operations for the CORBA object Current
.
Constructor Summary | |
---|---|
CurrentHelper()
|
Method Summary | |
---|---|
static Current |
extract(Any any)
Extract the Current from given Any. |
static String |
id()
Get the Current repository id. |
static void |
insert(Any any,
Current that)
Insert the Current into the given Any. |
static Current |
narrow(Object obj)
Cast the passed object into the Current. |
static Current |
read(InputStream input)
Not supported for compatibility reasons. |
static TypeCode |
type()
Get the type code of the Current . |
static Current |
unchecked_narrow(Object obj)
Narrow the given object to the Current. |
static void |
write(OutputStream output,
Current value)
Not supported for compatibility reasons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentHelper()
Method Detail |
---|
public static TypeCode type()
Current
.
public static void insert(Any any, Current that)
any
- the Any to insert into.that
- the Current to insert.public static Current extract(Any any)
BAD_OPERATION
- if the passed Any does not contain Current.public static String id()
public static Current narrow(Object obj)
obj
- the object to narrow.
BAD_PARAM
- if the passed object is not a Current.public static Current unchecked_narrow(Object obj)
narrow(org.omg.CORBA.Object)
(ClassCastException will be thrown if narrowing something
different). See also OMG issue 4158.
obj
- the object to cast.
public static Current read(InputStream input)
MARSHAL
- always.public static void write(OutputStream output, Current value)
MARSHAL
- always.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |