org.apache.cocoon.components.modules.input
Class SitemapVariableHolder

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.modules.input.SitemapVariableHolder
All Implemented Interfaces:
Component, Configurable, Contextualizable, LogEnabled, ThreadSafe, SitemapConfigurable

Deprecated. This component will be replaced by a better version in 2.2.

public final class SitemapVariableHolder
extends AbstractLogEnabled
implements Component, Configurable, Contextualizable, SitemapConfigurable, ThreadSafe

This "component" is a trick to get global variables on a per sitemap base

Version:
$Id: SitemapVariableHolder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
static String ROLE
          Deprecated.  
 
Constructor Summary
SitemapVariableHolder()
          Deprecated.  
 
Method Summary
 void configure(Configuration conf)
          Deprecated. Configures the database access helper.
 void configure(SitemapConfigurationHolder holder)
          Deprecated. Set the Configuration from a sitemap
 void contextualize(Context context)
          Deprecated.  
 Object get(String key)
          Deprecated. Get a value
 Iterator getKeys()
          Deprecated. Get keys
protected  Map getValues()
          Deprecated.  
protected  void prepare(ChainedConfiguration conf, Map values)
          Deprecated.  
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
Deprecated. 
Constructor Detail

SitemapVariableHolder

public SitemapVariableHolder()
Deprecated. 
Method Detail

contextualize

public void contextualize(Context context)
                   throws ContextException
Deprecated. 
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException
See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)

configure

public void configure(Configuration conf)
               throws ConfigurationException
Deprecated. 
Configures the database access helper. Takes all elements nested in component declaration and stores them as key-value pairs in settings. Nested configuration option are not catered for. This way global configuration options can be used. For nested configurations override this function.

Specified by:
configure in interface Configurable
Throws:
ConfigurationException

configure

public void configure(SitemapConfigurationHolder holder)
Deprecated. 
Set the Configuration from a sitemap

Specified by:
configure in interface SitemapConfigurable

get

public Object get(String key)
Deprecated. 
Get a value


getKeys

public Iterator getKeys()
Deprecated. 
Get keys


getValues

protected Map getValues()
Deprecated. 

prepare

protected void prepare(ChainedConfiguration conf,
                       Map values)
Deprecated. 


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.