public abstract class NamingContextExtHelper extends Object
Constructor and Description |
---|
NamingContextExtHelper() |
Modifier and Type | Method and Description |
---|---|
static NamingContextExt |
extract(Any a)
Extract the naming context from the given
Any . |
static String |
id()
Get the
NamingContextExt repository id. |
static void |
insert(Any a,
NamingContextExt that)
Insert the naming context into the given
Any |
static NamingContextExt |
narrow(Object obj)
Cast the passed object into the NamingContextExt.
|
static NamingContextExt |
read(InputStream istream)
Read the extended naming context from the given CDR input stream.
|
static TypeCode |
type()
Get the type code of the
NamingContextExt . |
static NamingContextExt |
unchecked_narrow(Object obj)
Narrow the given object to the NamingContextExt.
|
static void |
write(OutputStream ostream,
NamingContextExt value)
Write the given extended naming context into the given CDR output stream.
|
public NamingContextExtHelper()
public static NamingContextExt extract(Any a)
Any
.public static String id()
NamingContextExt
repository id.public static void insert(Any a, NamingContextExt that)
Any
public static NamingContextExt narrow(Object obj)
obj
- the object to cast.public static NamingContextExt unchecked_narrow(Object obj)
BAD_OPERATION
will be thrown if unsupported operations are
invoked on the new returned reference, but no failure is expected at the
time of the unchecked_narrow. See OMG issue 4158.obj
- the object to cast.public static NamingContextExt read(InputStream istream)
public static TypeCode type()
NamingContextExt
.public static void write(OutputStream ostream, NamingContextExt value)