org.omg.CosNaming
Class NameComponentHolder

java.lang.Object
  |
  +--org.omg.CosNaming.NameComponentHolder
All Implemented Interfaces:
Streamable

public final class NameComponentHolder
extends java.lang.Object
implements Streamable

Holder class for : NameComponent

Author:
OpenORB Compiler

Field Summary
 NameComponent value
          Internal NameComponent value
 
Constructor Summary
NameComponentHolder()
          Default constructor
NameComponentHolder(NameComponent initial)
          Constructor with value initialisation
 
Method Summary
 void _read(InputStream istream)
          Read NameComponent from a marshalled stream
 TypeCode _type()
          Return the NameComponent TypeCode
 void _write(OutputStream ostream)
          Write NameComponent into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public NameComponent value
Internal NameComponent value
Constructor Detail

NameComponentHolder

public NameComponentHolder()
Default constructor

NameComponentHolder

public NameComponentHolder(NameComponent initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

public void _read(InputStream istream)
Read NameComponent from a marshalled stream
Specified by:
_read in interface Streamable
Parameters:
istream - the input stream

_write

public void _write(OutputStream ostream)
Write NameComponent into a marshalled stream
Specified by:
_write in interface Streamable
Parameters:
ostream - the output stream

_type

public TypeCode _type()
Return the NameComponent TypeCode
Specified by:
_type in interface Streamable
Returns:
a TypeCode