public void attachProcessor(DefaultProcessorTask processorTask){
try {
handler = (Handler) Thread.currentThread().getContextClassLoader().loadClass(
NoParsingAlgorithm.GF_NO_PARSING_HANDLER).newInstance();
} catch (Exception e) {
handler = new NoParsingHandler();
}
this.processorTask = processorTask;
processorTask.setHandler(handler);
}