org.apache.jackrabbit.webdav.simple
Class LocatorFactoryImplEx

java.lang.Object
  extended by org.apache.jackrabbit.webdav.AbstractLocatorFactory
      extended by org.apache.jackrabbit.webdav.simple.LocatorFactoryImplEx
All Implemented Interfaces:
DavLocatorFactory

public class LocatorFactoryImplEx
extends AbstractLocatorFactory

LocatorFactoryImplEx...


Constructor Summary
LocatorFactoryImplEx(String pathPrefix)
          Create a new factory
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorFactoryImplEx

public LocatorFactoryImplEx(String pathPrefix)
Create a new factory

Parameters:
pathPrefix - Prefix, that needs to be removed in order to retrieve the path of the repository item from a given DavResourceLocator.
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 class AbstractLocatorFactory
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 class AbstractLocatorFactory
Returns:
See Also:
AbstractLocatorFactory.getResourcePath(String, String)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.