org.omg.CosNaming

Class NameHolder

public final class NameHolder extends Object implements Streamable

The holder for the name that is defined as an array of the name components. There is no java class, directly matching the 'Name' IDL type.
Field Summary
NameComponent[]value
The stored Name (array of the name components).
Constructor Summary
NameHolder()
Create the empty holder.
NameHolder(NameComponent[] initialValue)
Create the intialised holder.
Method Summary
void_read(InputStream in)
Fill in the holder value by reading it from the CDR input stream.
TypeCode_type()
Get the Name type code.
void_write(OutputStream out)
Write the stored value into CDR output stream.

Field Detail

value

public NameComponent[] value
The stored Name (array of the name components).

Constructor Detail

NameHolder

public NameHolder()
Create the empty holder.

NameHolder

public NameHolder(NameComponent[] initialValue)
Create the intialised holder.

Method Detail

_read

public void _read(InputStream in)
Fill in the holder value by reading it from the CDR input stream.

_type

public TypeCode _type()
Get the Name type code.

_write

public void _write(OutputStream out)
Write the stored value into CDR output stream.