org.omg.CosNaming
Class NameComponentHolder

java.lang.Object
  extended byorg.omg.CosNaming.NameComponentHolder
All Implemented Interfaces:
org.omg.CORBA.portable.Streamable

public final class NameComponentHolder
extends java.lang.Object
implements org.omg.CORBA.portable.Streamable

Many of the operations defined on a naming context take names as parameters. Names have structure. A name is an ordered sequence of components.

A name with a single component is called a simple name; a name with multiple components is called a compound name. Each component except the last is used to name a context; the last component denotes the bound object.

A name component consists of two attributes: the identifier attribute and the kind attribute. Both the identifier attribute and the kind attribute are represented as IDL strings. The kind attribute adds descriptive power to names in a syntax-independent way. Examples of the value of the kind attribute include c_source, object_code, executable, postscript, or " ".


Field Summary
 NameComponent value
           
 
Constructor Summary
NameComponentHolder()
           
NameComponentHolder(NameComponent initialValue)
           
 
Method Summary
 void _read(org.omg.CORBA.portable.InputStream i)
           
 org.omg.CORBA.TypeCode _type()
           
 void _write(org.omg.CORBA.portable.OutputStream o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public NameComponent value
Constructor Detail

NameComponentHolder

public NameComponentHolder()

NameComponentHolder

public NameComponentHolder(NameComponent initialValue)
Method Detail

_read

public void _read(org.omg.CORBA.portable.InputStream i)
Specified by:
_read in interface org.omg.CORBA.portable.Streamable

_write

public void _write(org.omg.CORBA.portable.OutputStream o)
Specified by:
_write in interface org.omg.CORBA.portable.Streamable

_type

public org.omg.CORBA.TypeCode _type()
Specified by:
_type in interface org.omg.CORBA.portable.Streamable


Copyright © {inceptionYear}-2007 null. All Rights Reserved.