no.sesat.search.site.config
Interface DocumentLoader

All Superinterfaces:
ResourceLoader
All Known Implementing Classes:
AbstractResourceLoader, UrlResourceLoader

public interface DocumentLoader
extends ResourceLoader

DocumentLoader to deal with xml document resources.

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

Method Summary
 Document getDocument()
          get the Document.
 void init(String resource, DocumentBuilder builder)
          initialise this resource loader with the resource name/path and the builder used to create the dom.
 
Methods inherited from interface no.sesat.search.site.config.ResourceLoader
abut
 

Method Detail

init

void init(String resource,
          DocumentBuilder builder)
initialise this resource loader with the resource name/path and the builder used to create the dom.

Parameters:
resource - the name/path of the resource.
builder - the document that will be used to hold the xml dom.

getDocument

Document getDocument()
get the Document.

Returns:
the Document.


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