*/public class ChangeLogFactory extends AbstractObjectCreationFactory {
@Override
public Object createObject(Attributes arg0) throws Exception {
ChangeLog c = new ChangeLog();
TimestampFormatter formatter = new TimestampFormatter();
c.setChangedBy(arg0.getValue("changedBy"));
c.setCreatedBy(arg0.getValue("createdBy"));
String changed = arg0.getValue("changed");
String created = arg0.getValue("created");
c.setChanged(formatter.parseTimestamp(changed));
c.setCreated(formatter.parseTimestamp(created));
return c;
}