|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.util.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 String |
defaultInput
The default InputModule name / shorthand. |
protected boolean |
initialized
Is this instance initialized? |
protected org.apache.cocoon.components.modules.input.InputModule |
input
The cached default InputModule |
protected static String |
INPUT_MODULE_SELECTOR
|
protected Configuration |
inputConf
The default InputModule configuration |
protected ServiceSelector |
inputSelector
The cached InputModule-Selector |
protected ServiceManager |
manager
The service 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 |
dispose()
Dispose exactly one cached InputModule. |
protected Iterator |
getNames(Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
Get names of available attributes in the specified (usually statically assigned) Input Module. |
protected Iterator |
getNames(Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
Get names of available attributes in one of the specified Input Modules (static or dynamic, dynamic preferred). |
protected Object |
getValue(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
Get an attribute's value from a (usually statically assigned) Input Module. |
protected Object |
getValue(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
Get attribute's value in one of the specified Input Modules (static or dynamic, dynamic preferred). |
protected Object |
getValue(String attr,
Map objectModel,
ModuleHolder holder)
|
protected Object |
getValue(String attr,
Map objectModel,
ModuleHolder staticHolder,
ModuleHolder dynamicHolder)
|
protected Object[] |
getValues(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
Get an attribute's values from a (usually statically assigned) Input Module. |
protected Object[] |
getValues(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
Get attribute's values in one of the specified Input Modules (static or dynamic, dynamic preferred). |
protected Object[] |
getValues(String attr,
Map objectModel,
ModuleHolder holder)
|
protected Object[] |
getValues(String attr,
Map objectModel,
ModuleHolder staticHolder,
ModuleHolder dynamicHolder)
|
void |
lazy_initialize()
Initialize the meta module with exactly one other input module. |
protected org.apache.cocoon.components.modules.input.InputModule |
obtainModule(String type)
Obtain a permanent reference to an InputModule. |
protected void |
releaseModule(org.apache.cocoon.components.modules.input.InputModule module)
release a permanent reference to an InputModule. |
void |
service(ServiceManager manager)
|
| Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
configure, getAttribute, getAttributeNames, getAttributeValues |
| 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 |
| Field Detail |
protected ServiceManager manager
protected ServiceSelector inputSelector
protected org.apache.cocoon.components.modules.input.InputModule input
protected String defaultInput
protected Configuration inputConf
protected boolean initialized
protected static final String INPUT_MODULE_SELECTOR
| Constructor Detail |
public AbstractMetaModule()
| Method Detail |
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceExceptionpublic void lazy_initialize()
public void dispose()
dispose in interface Disposabledispose in class AbstractInputModuleDisposable.dispose()protected org.apache.cocoon.components.modules.input.InputModule obtainModule(String type)
protected void releaseModule(org.apache.cocoon.components.modules.input.InputModule module)
protected Iterator getNames(Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
throws ConfigurationException
ConfigurationExceptionInputModule#getAttributeNames(Configuration, Map)
protected Iterator getNames(Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
throws ConfigurationException
null.
ConfigurationExceptionInputModule#getAttributeNames(Configuration, Map)
protected Object getValue(String attr,
Map objectModel,
ModuleHolder holder)
throws ConfigurationException
ConfigurationException
protected Object getValue(String attr,
Map objectModel,
ModuleHolder staticHolder,
ModuleHolder dynamicHolder)
throws ConfigurationException
ConfigurationException
protected Object[] getValues(String attr,
Map objectModel,
ModuleHolder holder)
throws ConfigurationException
ConfigurationException
protected Object[] getValues(String attr,
Map objectModel,
ModuleHolder staticHolder,
ModuleHolder dynamicHolder)
throws ConfigurationException
ConfigurationException
protected Object getValue(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
throws ConfigurationException
ConfigurationExceptionInputModule#getAttribute(String, Configuration, Map)
protected Object getValue(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
throws ConfigurationException
null.
ConfigurationExceptionInputModule#getAttribute(String, Configuration, Map)
protected Object[] getValues(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf)
throws ConfigurationException
ConfigurationExceptionInputModule#getAttributeValues(String, Configuration, Map)
protected Object[] getValues(String attr,
Map objectModel,
org.apache.cocoon.components.modules.input.InputModule staticMod,
String staticModName,
Configuration staticModConf,
org.apache.cocoon.components.modules.input.InputModule dynamicMod,
String dynamicModName,
Configuration dynamicModConf)
throws ConfigurationException
null.
ConfigurationExceptionInputModule#getAttributeValues(String, Configuration, Map)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||