|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.components.modules.input.GlobalInputModule
public final class GlobalInputModule
This simple module allows to define global parameters in a sitemap. The values are inherited from one sitemap to its sub sitemaps and can be extended there.
Field Summary |
---|
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
---|
ROLE |
Constructor Summary | |
---|---|
GlobalInputModule()
Deprecated. |
Method Summary | |
---|---|
Object |
getAttribute(String name,
Configuration modeConf,
Map objectModel)
Deprecated. Standard access to an attribute's value. |
Iterator |
getAttributeNames(Configuration modeConf,
Map objectModel)
Deprecated. Returns an Iterator of String objects containing the names of the attributes available. |
Object[] |
getAttributeValues(String name,
Configuration modeConf,
Map objectModel)
Deprecated. Returns an array of String objects containing all of the values the given attribute has, or null if the attribute does not exist. |
void |
service(ServiceManager manager)
Deprecated. Serviceable |
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 |
Constructor Detail |
---|
public GlobalInputModule()
Method Detail |
---|
public void service(ServiceManager manager)
service
in interface Serviceable
public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException
getAttributeValues(String, Configuration, Map)
or
getAttributeNames(Configuration, Map)
and
getAttribute(String, Configuration, Map)
to get them one by one.
getAttribute
in interface InputModule
name
- a String that specifies what the caller thinks
would identify an attribute. This is mainly a fallback if no
modeConf is present.modeConf
- column's mode configuration from resource
description. This argument is optional.objectModel
-
ConfigurationException
public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException
getAttributeNames
in interface InputModule
modeConf
- column's mode configuration from resource
description. This argument is optional.objectModel
-
ConfigurationException
public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException
getAttributeNames(Configuration, Map)
together with
getAttribute(String, Configuration, Map)
can be used to get the
values one by one.
getAttributeValues
in interface InputModule
name
- a String that specifies what the caller thinks
would identify an attributes. This is mainly a fallback
if no modeConf is present.modeConf
- column's mode configuration from resource
description. This argument is optional.objectModel
-
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |