info.magnolia.imaging.parameters
Class ContentParameterProviderFactory
java.lang.Object
info.magnolia.imaging.parameters.AbstractWorkspaceAndPathParameterProviderFactory<info.magnolia.cms.core.Content>
info.magnolia.imaging.parameters.ContentParameterProviderFactory
- All Implemented Interfaces:
- ParameterProviderFactory<javax.servlet.http.HttpServletRequest,info.magnolia.cms.core.Content>
public class ContentParameterProviderFactory
- extends AbstractWorkspaceAndPathParameterProviderFactory<info.magnolia.cms.core.Content>
This is a ParameterProviderFactory which determines the workspace and node to use based on the
request uri. (the using HttpServletRequest.getPathInfo(), to be accurate)
It assumes that the first path element is the name of the ImageGenerator in use; that the second is the name
of the workspace where the node we want is, and that the rest is the path to the node in question.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentParameterProviderFactory
public ContentParameterProviderFactory()
newParameterProviderForPath
protected ParameterProvider<info.magnolia.cms.core.Content> newParameterProviderForPath(info.magnolia.cms.core.HierarchyManager hm,
String path)
throws javax.jcr.RepositoryException
- Specified by:
newParameterProviderForPath
in class AbstractWorkspaceAndPathParameterProviderFactory<info.magnolia.cms.core.Content>
- Throws:
javax.jcr.RepositoryException
getCachingStrategy
public CachingStrategy<info.magnolia.cms.core.Content> getCachingStrategy()
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.