no.sesat.search.site.config
Interface DocumentContext

All Superinterfaces:
no.sesat.commons.ioc.BaseContext
All Known Subinterfaces:
AbstractEvaluatorFactory.Context, AnalysisRuleFactory.Context, NavigationController.Context, QueryBuilder.Context, QueryTransformer.Context, ResourceContext, ResultHandler.Context, RunHandler.Context, RunningQuery.Context, RunTransformer.Context, SearchCommand.Context, SearchModeFactory.Context, SearchTabFactory.Context, SyndicationGenerator.Context, TokenEvaluationEngine.Context, UrlRewriterContainerFactory.Context, VelocityEngineFactory.Context

public interface DocumentContext
extends no.sesat.commons.ioc.BaseContext

Defines the context for consumers of DocumentLoaders.

Version:
$Id: ResourceContext.java 2045 2006-01-25 12:10:01Z mickw $

Method Summary
 DocumentLoader newDocumentLoader(SiteContext siteCxt, String resource, DocumentBuilder builder)
          Create a new DocumentLoader for the given resource name/path and load it with the given DocumentBuilder.
 

Method Detail

newDocumentLoader

DocumentLoader newDocumentLoader(SiteContext siteCxt,
                                 String resource,
                                 DocumentBuilder builder)
Create a new DocumentLoader for the given resource name/path and load it with the given DocumentBuilder.

Parameters:
resource - the resource name/path.
builder - the DocumentBuilder to build the DOM resource with.
Returns:
the new DocumentLoader to use.


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