Package org.apache.jackrabbit.webdav.jcr
Class DavLocatorFactoryImpl
- java.lang.Object
-
- org.apache.jackrabbit.webdav.AbstractLocatorFactory
-
- org.apache.jackrabbit.webdav.jcr.DavLocatorFactoryImpl
-
- All Implemented Interfaces:
DavLocatorFactory
public class DavLocatorFactoryImpl extends AbstractLocatorFactory
DavLocatorFactoryImpl
...
-
-
Constructor Summary
Constructors Constructor Description DavLocatorFactoryImpl(String pathPrefix)
Create a new factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getRepositoryPath(String resourcePath, String wspPath)
Subclasses must defined how the repository path is built from the given resource and workspace path.protected String
getResourcePath(String repositoryPath, String wspPath)
Subclasses must defined how the resource path is built from the given repository and workspace path.-
Methods inherited from class org.apache.jackrabbit.webdav.AbstractLocatorFactory
createResourceLocator, createResourceLocator, createResourceLocator, createResourceLocator
-
-
-
-
Constructor Detail
-
DavLocatorFactoryImpl
public DavLocatorFactoryImpl(String pathPrefix)
Create a new factory- Parameters:
pathPrefix
- Prefix, that needs to be removed in order to retrieve the repository path from a given href.
-
-
Method Detail
-
getRepositoryPath
protected String getRepositoryPath(String resourcePath, String wspPath)
Description copied from class:AbstractLocatorFactory
Subclasses must defined how the repository path is built from the given resource and workspace path.- Specified by:
getRepositoryPath
in classAbstractLocatorFactory
- Parameters:
resourcePath
-wspPath
-- Returns:
- See Also:
AbstractLocatorFactory.getRepositoryPath(String, String)
-
getResourcePath
protected String getResourcePath(String repositoryPath, String wspPath)
Description copied from class:AbstractLocatorFactory
Subclasses must defined how the resource path is built from the given repository and workspace path.- Specified by:
getResourcePath
in classAbstractLocatorFactory
- Parameters:
repositoryPath
-wspPath
-- Returns:
- See Also:
AbstractLocatorFactory.getResourcePath(String, String)
-
-