| org.apache.lenya.cms.cocoon.source.DocumentSourceFactory
DocumentSourceFactory | public class DocumentSourceFactory extends AbstractLogEnabled implements SourceFactory,ThreadSafe,Contextualizable,Serviceable,Configurable(Code) | |
This source factory allows to access documents using the link syntax of the
org.apache.lenya.cms.linking.LinkResolver .
Additional optional parameters, separated using ...?f=foo&b=bar :
- format - the resource type format
- session - the session.
To use the session of the current usecase, specify
session=usecase
|
Field Summary | |
final public static String | SCHEME The URI scheme. |
SCHEME | final public static String SCHEME(Code) | | The URI scheme.
|
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) |
contextualize | protected void contextualize(Link link, String webappUrl)(Code) | | If the link doesn't contain context information (publication ID, area), provide it.
Parameters: link - The link. Parameters: webappUrl - The web application URL to extract the context information from.. |
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) |
|
|