1 package net.suberic.pooka; 2 3 /** 4 * This is the interface for a class which can produce a signature. 5 */ 6 public interface SignatureGenerator { 7 8 /** 9 * Produce a signature String which is appropriate for the given 10 * UserProfile and message text. 11 */ 12 public String generateSignature(String text); 13 14 public void setProfile(UserProfile p); 15 16 public UserProfile getProfile(); 17 } 18