/[classpath]/classpath/org/omg/CORBA/StringHolder.java
ViewVC logotype

Diff of /classpath/org/omg/CORBA/StringHolder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4.2.1 by gnu_andrew, Sun Mar 13 14:38:59 2005 UTC revision 1.4.2.2 by gnu_andrew, Fri May 20 18:21:00 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package org.omg.CORBA;  package org.omg.CORBA;
40    
41  import gnu.CORBA.primitiveTypeCode;  import gnu.CORBA.stringTypeCode;
42    
43  import org.omg.CORBA.portable.InputStream;  import org.omg.CORBA.portable.InputStream;
44  import org.omg.CORBA.portable.OutputStream;  import org.omg.CORBA.portable.OutputStream;
# Line 61  public final class StringHolder Line 61  public final class StringHolder
61    /**    /**
62     * The default type code for this holder.     * The default type code for this holder.
63     */     */
64    private static final TypeCode t_string =    private static final stringTypeCode t_string =
65      new primitiveTypeCode(TCKind.tk_string);      new stringTypeCode(TCKind.tk_string);
66    
67    /**    /**
68     * The <code>String</code> (CORBA <code>string</code>) value,     * The <code>String</code> (CORBA <code>string</code>) value,
# Line 91  public final class StringHolder Line 91  public final class StringHolder
91    }    }
92    
93    /**    /**
94     * Fill in the {@link value } field by reading the required data     * Fill in the {@link #value } field by reading the required data
95     * from the given stream. For <code>string</code>, the functionality     * from the given stream. For <code>string</code>, the functionality
96     * is delegated to     * is delegated to
97     * {@link org.omg.CORBA.portable.InputStream#read_string}.     * {@link org.omg.CORBA.portable.InputStream#read_string}.
# Line 105  public final class StringHolder Line 105  public final class StringHolder
105    
106    /**    /**
107     * Returns the TypeCode, corresponding the CORBA type that is stored     * Returns the TypeCode, corresponding the CORBA type that is stored
108     * using this holder.     * using this holder. The {@link TypeCode#length()} method of the
109       * returned typecode always returns 0.
110     */     */
111    public TypeCode _type()    public TypeCode _type()
112    {    {
# Line 113  public final class StringHolder Line 114  public final class StringHolder
114    }    }
115    
116    /**    /**
117     * Write the {@link value } field to the given stream.     * Write the {@link #value } field to the given stream.
118     * For <code>string</code>, the functionality     * For <code>string</code>, the functionality
119     * is delegated to     * is delegated to
120     * {@link org.omg.CORBA.portable.OutputStream#write_string(String) }.     * {@link org.omg.CORBA.portable.OutputStream#write_string(String) }.

Legend:
Removed from v.1.4.2.1  
changed lines
  Added in v.1.4.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26