*/
public class ArrayToChangeLogDecoder implements ReturnDecoder {
public Object decode(Object result, TracProperties tracProperties, ArrayList keptParametersForDecoder) {
WikiChangeLog wikiChangeLog = null;
if(result instanceof HashMap){
HashMap element = (HashMap)result;
wikiChangeLog = new WikiChangeLog((Date)element.get(WikiKeys.LAST_MODIFIED),
(String)element.get(WikiKeys.COMMENT),
(String)element.get(WikiKeys.NAME),
(String)element.get(WikiKeys.AUTHOR),
(Integer)element.get(WikiKeys.VERSION));
}