| org.apache.cocoon.components.source.impl.ModuleSource
ModuleSource | public class ModuleSource extends AbstractSource (Code) | | A Source that takes its content from a
module.
The URI syntax is
"module::[#XPath]",
where :
- an input-module name is used for finding an input-module for reading data from
,
- "attribute-name" is the name of the attribute found in the module
,
- "XPath" is an XPath that is aplied on the object in the
attribute, by using JXPath.
author: Daniel Fagerstom |
Constructor Summary | |
public | ModuleSource(Map objectModel, String uri, ServiceManager manager, Logger logger) Create a module source from a 'module:' uri and a the object model. |
ModuleSource | public ModuleSource(Map objectModel, String uri, ServiceManager manager, Logger logger) throws MalformedURLException(Code) | | Create a module source from a 'module:' uri and a the object model.
The uri is of the form "module:attribute-type:attribute-name#xpath
|
exists | public boolean exists()(Code) | | Does this source actually exist ?
true if the resource exists. |
|
|