1 package cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor; 2 3 import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType; 4 5 /** 6 * An 'other item type' factory takes care about all items which fall into a {@link ItemType.Category#OTHER}. 7 * 8 * @author Jimmy 9 */ 10 public class OtherDescriptorFactory implements IDescriptorFactory<OtherDescriptor> { 11 12 13 public OtherDescriptor getNewDescriptor(ItemTyped configMsg) { 14 OtherDescriptor desc = new OtherDescriptor(); 15 desc.doReflexion(configMsg, OtherDescriptor.class); 16 return desc; 17 } 18 }