|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLogEnabled | +--org.apache.cocoon.components.modules.input.AbstractInputModule | +--org.apache.cocoon.components.modules.input.AbstractMetaModule
AbstractMetaModule gives you the infrastructure for easily deploying more "meta" InputModules i.e. InputModules that are composed of other InputModules. In order to get at the Logger, use getLogger().
Field Summary | |
protected java.lang.String |
defaultInput
The default InputModule name / shorthand. |
protected java.lang.Boolean |
initialized
Is this instance initialized? |
protected InputModule |
input
The cached default InputModule |
protected static java.lang.String |
INPUT_MODULE_SELECTOR
|
protected org.apache.avalon.framework.configuration.Configuration |
inputConf
The default InputModule configuration |
protected org.apache.avalon.framework.component.ComponentSelector |
inputSelector
The cached InputModule-Selector |
protected org.apache.avalon.framework.component.ComponentManager |
manager
The component manager instance |
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
settings |
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
ROLE |
Constructor Summary | |
AbstractMetaModule()
|
Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
Set the current ComponentManager instance used by this
Composable . |
void |
dispose()
Dispose exactly one cached InputModule. |
protected java.util.Iterator |
getNames(java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf)
|
protected java.util.Iterator |
getNames(java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf,
InputModule modB,
java.lang.String modBName,
org.apache.avalon.framework.configuration.Configuration modBConf)
If two modules are specified, the second one is used if the name is not null. |
protected java.lang.Object |
getValue(java.lang.String attr,
java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf)
|
protected java.lang.Object |
getValue(java.lang.String attr,
java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf,
InputModule modB,
java.lang.String modBName,
org.apache.avalon.framework.configuration.Configuration modBConf)
If two modules are specified, the second one is used if the name is not null. |
protected java.lang.Object[] |
getValues(java.lang.String attr,
java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf)
|
protected java.lang.Object[] |
getValues(java.lang.String attr,
java.util.Map objectModel,
InputModule modA,
java.lang.String modAName,
org.apache.avalon.framework.configuration.Configuration modAConf,
InputModule modB,
java.lang.String modBName,
org.apache.avalon.framework.configuration.Configuration modBConf)
If two modules are specified, the second one is used if the name is not null. |
void |
initialize()
Initialize the meta module with exactly one other input module. |
protected InputModule |
obtainModule(java.lang.String type)
Obtain a permanent reference to an InputModule. |
protected void |
releaseModule(InputModule module)
release a permanent reference to an InputModule. |
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
configure |
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 |
Methods inherited from interface org.apache.cocoon.components.modules.input.InputModule |
getAttribute, getAttributeNames, getAttributeValues |
Field Detail |
protected org.apache.avalon.framework.component.ComponentManager manager
protected org.apache.avalon.framework.component.ComponentSelector inputSelector
protected InputModule input
protected java.lang.String defaultInput
protected org.apache.avalon.framework.configuration.Configuration inputConf
protected java.lang.Boolean initialized
protected static final java.lang.String INPUT_MODULE_SELECTOR
Constructor Detail |
public AbstractMetaModule()
Method Detail |
public void compose(org.apache.avalon.framework.component.ComponentManager manager) throws org.apache.avalon.framework.component.ComponentException
ComponentManager
instance used by this
Composable
.compose
in interface org.apache.avalon.framework.component.Composable
public void initialize()
initialize
in interface org.apache.avalon.framework.activity.Initializable
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
dispose
in class AbstractInputModule
protected InputModule obtainModule(java.lang.String type)
protected void releaseModule(InputModule module)
protected java.util.Iterator getNames(java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf)
protected java.util.Iterator getNames(java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf, InputModule modB, java.lang.String modBName, org.apache.avalon.framework.configuration.Configuration modBConf)
protected java.lang.Object getValue(java.lang.String attr, java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf)
protected java.lang.Object getValue(java.lang.String attr, java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf, InputModule modB, java.lang.String modBName, org.apache.avalon.framework.configuration.Configuration modBConf)
protected java.lang.Object[] getValues(java.lang.String attr, java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf)
protected java.lang.Object[] getValues(java.lang.String attr, java.util.Map objectModel, InputModule modA, java.lang.String modAName, org.apache.avalon.framework.configuration.Configuration modAConf, InputModule modB, java.lang.String modBName, org.apache.avalon.framework.configuration.Configuration modBConf)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |