Package org.silverpeas.core.jcr.webdav
Class DavResourceLocatorFactory
- java.lang.Object
-
- org.apache.jackrabbit.webdav.AbstractLocatorFactory
-
- org.apache.jackrabbit.webdav.simple.LocatorFactoryImplEx
-
- org.silverpeas.core.jcr.webdav.DavResourceLocatorFactory
-
- All Implemented Interfaces:
org.apache.jackrabbit.webdav.DavLocatorFactory
public class DavResourceLocatorFactory extends org.apache.jackrabbit.webdav.simple.LocatorFactoryImplEx
A factory of locators of resources in the JCR accessed through the WebDAV protocol. The resource locator has for goal two things:- convert the URL of the accessed resource to the path of this resource in the JCR tree after extracting from the URL the repository and the workspace name
- convert the path of the resource in the JCR tree to an URL for a WebDAV access of this resource.
- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description DavResourceLocatorFactory(String repositoryPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.webdav.DavResourceLocator
createResourceLocator(String prefix, String href)
org.apache.jackrabbit.webdav.DavResourceLocator
createResourceLocator(String prefix, String workspacePath, String resourcePath)
org.apache.jackrabbit.webdav.DavResourceLocator
createResourceLocator(String prefix, String workspacePath, String path, boolean isResourcePath)
-
Methods inherited from class org.apache.jackrabbit.webdav.simple.LocatorFactoryImplEx
getRepositoryPath, getResourcePath
-
-
-
-
Constructor Detail
-
DavResourceLocatorFactory
public DavResourceLocatorFactory(String repositoryPrefix)
-
-
Method Detail
-
createResourceLocator
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String href)
- Specified by:
createResourceLocator
in interfaceorg.apache.jackrabbit.webdav.DavLocatorFactory
- Overrides:
createResourceLocator
in classorg.apache.jackrabbit.webdav.AbstractLocatorFactory
-
createResourceLocator
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String workspacePath, String path, boolean isResourcePath)
- Specified by:
createResourceLocator
in interfaceorg.apache.jackrabbit.webdav.DavLocatorFactory
- Overrides:
createResourceLocator
in classorg.apache.jackrabbit.webdav.AbstractLocatorFactory
-
createResourceLocator
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String workspacePath, String resourcePath)
- Specified by:
createResourceLocator
in interfaceorg.apache.jackrabbit.webdav.DavLocatorFactory
- Overrides:
createResourceLocator
in classorg.apache.jackrabbit.webdav.AbstractLocatorFactory
-
-