KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > TR > TR2InOutHolder


1 package SOFA.SOFAnode.TR;
2
3 public class TR2InOutHolder implements cz.cuni.sofa.lib.Streamable, java.io.Serializable JavaDoc {
4   public SOFA.SOFAnode.TR.TR2InOut value = null;
5   
6   public TR2InOutHolder() {}
7   
8   public TR2InOutHolder(SOFA.SOFAnode.TR.TR2InOut initialValue) {
9     value = initialValue;
10   }
11   
12   public void _read(cz.cuni.sofa.lib.InputStream i) throws java.io.IOException JavaDoc {
13     SOFA.SOFAnode.TR.TR2InOutHelper.read(i);
14   }
15   
16   public void _write(cz.cuni.sofa.lib.OutputStream o) throws java.io.IOException JavaDoc {
17     SOFA.SOFAnode.TR.TR2InOutHelper.write(o, value);
18   }
19 }
20
Popular Tags