KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > test > orb > value > RecordImpl


1 package org.jacorb.test.orb.value;
2
3 import java.io.Serializable JavaDoc;
4
5 import org.omg.CORBA.portable.ValueFactory JavaDoc;
6 import org.omg.CORBA_2_3.portable.InputStream JavaDoc;
7
8 public class RecordImpl extends Record implements ValueFactory JavaDoc
9 {
10     public RecordImpl()
11     {
12         super();
13     }
14     
15     public RecordImpl(int i, String JavaDoc text)
16     {
17         this.id = i;
18         this.text = text;
19     }
20
21     public Serializable JavaDoc read_value(InputStream JavaDoc is)
22     {
23         RecordImpl result = new RecordImpl(0, null);
24         return is.read_value(result);
25     }
26     
27 }
28
Popular Tags