org.apache.cocoon.components.modules.input
Class DefaultsModule
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.modules.input.DefaultsModule
- All Implemented Interfaces:
- Configurable, org.apache.cocoon.components.modules.input.InputModule, ThreadSafe
- public class DefaultsModule
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements org.apache.cocoon.components.modules.input.InputModule, Configurable, ThreadSafe
Set a number of constants. To override the values with input from
another module, combine this one with the ChainMetaModule and an
arbitrary number of other modules.
<values>
<skin>myskin</skin>
<base>baseurl</base>
...
</values>
- Version:
- $Id: DefaultsModule.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
ROLE |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultsModule
public DefaultsModule()
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
getAttributeValues
public Object[] getAttributeValues(String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
- Specified by:
getAttributeValues
in interface org.apache.cocoon.components.modules.input.InputModule
- Throws:
ConfigurationException
getAttributeNames
public Iterator getAttributeNames(Configuration modeConf,
Map objectModel)
throws ConfigurationException
- Specified by:
getAttributeNames
in interface org.apache.cocoon.components.modules.input.InputModule
- Throws:
ConfigurationException
getAttribute
public Object getAttribute(String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
- Specified by:
getAttribute
in interface org.apache.cocoon.components.modules.input.InputModule
- Throws:
ConfigurationException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.