org.omg.CosNaming
Class NameComponentHolder

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

public final class NameComponentHolder
extends Object
implements Streamable

The name component holder.


Field Summary
 NameComponent value
          The stored value.
 
Constructor Summary
NameComponentHolder()
          Create the unitialised holder.
NameComponentHolder(NameComponent initialValue)
          Create the initialised holder.
 
Method Summary
 void _read(InputStream in)
          Fill in the value field by reading it from the CDR input stream.
 TypeCode _type()
          Get the type code of the NameComponent.
 void _write(OutputStream out)
          Write the stored value into the given 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 value.

Constructor Detail

NameComponentHolder

public NameComponentHolder()
Create the unitialised holder.


NameComponentHolder

public NameComponentHolder(NameComponent initialValue)
Create the initialised holder.

Method Detail

_read

public void _read(InputStream in)
Fill in the value field 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 type code of the NameComponent.

Specified by:
_type in interface Streamable

_write

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

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