/**
  * Write a String.
  *
  * @param dos The output stream.
  * @param value The value to be serialized.
  * @throws Exception
  */
 public void serializeValue(DmcOutputStreamIF dos, String value) throws Exception {
   dos.writeUTF(value);
 }
예제 #2
0
 /** Serialization. */
 public void serializeIt(DmcOutputStreamIF dos) throws Exception {
   dos.writeUTF(toString());
 }
 /** Writes a RuleTypeEnum. */
 @Override
 public void serializeValue(DmcOutputStreamIF dos, RuleTypeEnum value) throws Exception {
   dos.writeShort(value.intValue());
 }