no.sesat.search.result.handler
Class RegexpResultHandler

java.lang.Object
  extended by no.sesat.search.result.handler.RegexpResultHandler
All Implemented Interfaces:
ResultHandler

public final class RegexpResultHandler
extends Object
implements ResultHandler

Applies a regular expression to a specified field in every result item adding a target field matching the first capturing group in the regular expression.

Version:
$Id: RegexpResultHandler.java 7225 2009-04-09 00:32:20Z ssmiweve $

Nested Class Summary
 
Nested classes/interfaces inherited from interface no.sesat.search.result.handler.ResultHandler
ResultHandler.Context
 
Constructor Summary
RegexpResultHandler(ResultHandlerConfig config)
           
 
Method Summary
 void handleResult(ResultHandler.Context cxt, DataModel datamodel)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpResultHandler

public RegexpResultHandler(ResultHandlerConfig config)
Parameters:
config -
Method Detail

handleResult

public void handleResult(ResultHandler.Context cxt,
                         DataModel datamodel)

Specified by:
handleResult in interface ResultHandler


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.