KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CosNaming > NameHolder


1 package org.omg.CosNaming;
2
3
4 /**
5 * org/omg/CosNaming/NameHolder.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
8 * Saturday, February 9, 2008 9:40:10 AM GMT
9 */

10
11
12 /**
13    * A name is a sequence of name components.
14    */

15 public final class NameHolder implements org.omg.CORBA.portable.Streamable JavaDoc
16 {
17   public org.omg.CosNaming.NameComponent JavaDoc value[] = null;
18
19   public NameHolder ()
20   {
21   }
22
23   public NameHolder (org.omg.CosNaming.NameComponent JavaDoc[] initialValue)
24   {
25     value = initialValue;
26   }
27
28   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
29   {
30     value = org.omg.CosNaming.NameHelper.read (i);
31   }
32
33   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
34   {
35     org.omg.CosNaming.NameHelper.write (o, value);
36   }
37
38   public org.omg.CORBA.TypeCode JavaDoc _type ()
39   {
40     return org.omg.CosNaming.NameHelper.type ();
41   }
42
43 }
44
Popular Tags