org.omg.CosNaming
Class NameHolder

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

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

Holder class for : Name

Author:
OpenORB Compiler

Field Summary
 NameComponent[] value
          Internal Name value
 
Constructor Summary
NameHolder()
          Default constructor
NameHolder(NameComponent[] initial)
          Constructor with value initialisation
 
Method Summary
 void _read(InputStream istream)
          Read Name from a marshalled stream
 TypeCode _type()
          Return the Name TypeCode
 void _write(OutputStream ostream)
          Write Name 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 Name value
Constructor Detail

NameHolder

public NameHolder()
Default constructor

NameHolder

public NameHolder(NameComponent[] initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

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

_write

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

_type

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