org.omg.CosNaming

Class BindingIteratorHelper

public abstract class BindingIteratorHelper extends Object

The helper operations for {@link BindingIterator}
Method Summary
static BindingIteratorextract(Any a)
Extract the binding iterator from the given {@link Any}.
static Stringid()
Return the binding iterator repository id.
static voidinsert(Any a, BindingIterator that)
Insert the binding iterator into the given {@link Any}.
static BindingIteratornarrow(Object obj)
Narrow the given object to the BindingIterator.
static BindingIteratorread(InputStream istream)
Read the exception from the given CDR stream.
static TypeCodetype()
Create the type code for the BindingIterator.
static BindingIteratorunchecked_narrow(Object obj)
Narrow the given object to the BindingIterator.
static voidwrite(OutputStream ostream, BindingIterator value)
Write the exception to the CDR output stream.

Method Detail

extract

public static BindingIterator extract(Any a)
Extract the binding iterator from the given {@link Any}.

id

public static String id()
Return the binding iterator repository id.

insert

public static void insert(Any a, BindingIterator that)
Insert the binding iterator into the given {@link Any}.

narrow

public static BindingIterator narrow(Object obj)
Narrow the given object to the BindingIterator. The narrowing means either direct casting or re-instantiating with the same delegate.

Parameters: obj the object to cast.

Returns: the casted binding iterator.

read

public static BindingIterator read(InputStream istream)
Read the exception from the given CDR stream.

type

public static TypeCode type()
Create the type code for the BindingIterator.

unchecked_narrow

public static BindingIterator unchecked_narrow(Object obj)
Narrow the given object to the BindingIterator. No type-checking is performed to verify that the object actually supports the requested type. The {@link 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.

Parameters: obj the object to cast.

Returns: the casted binding iterator.

Since: 1.5

write

public static void write(OutputStream ostream, BindingIterator value)
Write the exception to the CDR output stream.