/** * 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); }
/** 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()); }