| org.apache.lenya.cms.cocoon.source.SiteSourceFactory
SiteSourceFactory | public class SiteSourceFactory extends AbstractLogEnabled implements SourceFactory,ThreadSafe,Contextualizable,Serviceable,Configurable(Code) | |
This source factory allows to access documents based on their path in the site structure.
Relative addressing refers to the current publication and area.
Syntax:
- Absolute:
site://{pubId}/{area}/{language}{path}
- Relative:
site:/{language}{path}
Usage examples:
site://default/authoring/en/news/today
site:/en/news/today
|
Method Summary | |
public void | configure(Configuration configuration) | public void | contextualize(Context context) Used for resolving the object model. | public Source | getSource(String location, Map parameters) | public void | release(Source source) | public void | service(ServiceManager manager) |
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration) |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | Used for resolving the object model.
See Also: org.apache.avalon.framework.context.Contextualizable.contextualize(org.apache.avalon.framework.context.Context) |
release | public void release(Source source)(Code) | | See Also: org.apache.excalibur.source.SourceFactory.release(org.apache.excalibur.source.Source) |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
|
|