org.omg.CosNaming
Class NameHolder

java.lang.Object
  extended by org.omg.CosNaming.NameHolder
All Implemented Interfaces:
Streamable

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Specified by:
_read in interface Streamable
Parameters:
in - the input stream to read from.

_type

public TypeCode _type()
Get the Name type code.

Specified by:
_type in interface Streamable

_write

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

Specified by:
_write in interface Streamable
Parameters:
out - the output stream to write into.