- package org.omg.CosNaming;
-
- /**
- * org/omg/CosNaming/NameComponentHolder.java .
- * Generated by the IDL-to-Java compiler (portable), version "3.1"
- * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
- * Monday, February 23, 2004 7:03:07 AM GMT
- */
-
-
- /**
- * Many of the operations defined on a naming context take names as
- * parameters. Names have structure. A name is an ordered sequence of
- * components. <p>
- *
- * 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. <p>
- *
- * 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 " ".
- */
- public final class NameComponentHolder implements org.omg.CORBA.portable.Streamable
- {
- public org.omg.CosNaming.NameComponent value = null;
-
- public NameComponentHolder ()
- {
- }
-
- public NameComponentHolder (org.omg.CosNaming.NameComponent initialValue)
- {
- value = initialValue;
- }
-
- public void _read (org.omg.CORBA.portable.InputStream i)
- {
- value = org.omg.CosNaming.NameComponentHelper.read (i);
- }
-
- public void _write (org.omg.CORBA.portable.OutputStream o)
- {
- org.omg.CosNaming.NameComponentHelper.write (o, value);
- }
-
- public org.omg.CORBA.TypeCode _type ()
- {
- return org.omg.CosNaming.NameComponentHelper.type ();
- }
-
- }