org.apache.cocoon.sitemap
Interface Sitemap

All Known Implementing Classes:
Core.SitemapImpl

public interface Sitemap

TODO WORK IN PROGRESS!! This interface describes the current sitemap. The current sitemap is available using Core.getCurrentSitemap().

Since:
2.2
Version:
$Id: Sitemap.java 209567 2005-07-07 06:18:44Z cziegeler $

Method Summary
 ComponentLocator getComponentLocator()
          Return the locator of the current sitemap.
 Interpreter getInterpreter(String language)
          Return the Interpreter for the given language.
 Processor getProcessor()
          Return the current processor
 

Method Detail

getComponentLocator

public ComponentLocator getComponentLocator()
Return the locator of the current sitemap.

Returns:
The current locator.

getProcessor

public Processor getProcessor()
Return the current processor


getInterpreter

public Interpreter getInterpreter(String language)
Return the Interpreter for the given language. If no interpreter is found null is returned.

Parameters:
language - The language or null for the default interpreter.
Returns:
The interpreter or null.


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.