no.sesat.search.mode
Class SearchCommandFactory

java.lang.Object
  extended by no.sesat.search.mode.SearchCommandFactory

public final class SearchCommandFactory
extends Object

This factory creates the appropriate command for a given SearchConfiguration.

Version:
$Id: SearchCommandFactory.java 3359 2006-08-03 08:13:22Z mickw $

Nested Class Summary
static interface SearchCommandFactory.Context
           
 
Constructor Summary
SearchCommandFactory(SearchCommandFactory.Context context)
          Create a factory to work within the given context.
 
Method Summary
 SearchCommand getController(SearchCommand.Context cxt)
          Create the appropriate command that's to work within the given SearchCommand.Context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchCommandFactory

public SearchCommandFactory(SearchCommandFactory.Context context)
Create a factory to work within the given context.

Parameters:
context - to work within
Method Detail

getController

public SearchCommand getController(SearchCommand.Context cxt)
Create the appropriate command that's to work within the given SearchCommand.Context.

Parameters:
cxt - to work within
Returns:
SearchCommand appropriate for the given context


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