org.apache.jackrabbit.webdav.jcr
Class DavLocatorFactoryImpl

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

public class DavLocatorFactoryImpl
extends AbstractLocatorFactory

DavLocatorFactoryImpl...


Constructor Summary
DavLocatorFactoryImpl(String pathPrefix)
          Create a new factory
 
Method Summary
protected  String getRepositoryPath(String resourcePath, String wspPath)
           
protected  String getResourcePath(String repositoryPath, String wspPath)
           
 
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

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)
Specified by:
getRepositoryPath in class AbstractLocatorFactory
Parameters:
resourcePath -
wspPath -
Returns:
See Also:
AbstractLocatorFactory.getRepositoryPath(String, String)

getResourcePath

protected String getResourcePath(String repositoryPath,
                                 String wspPath)
Specified by:
getResourcePath in class AbstractLocatorFactory
Parameters:
repositoryPath -
wspPath -
Returns:
See Also:
AbstractLocatorFactory.getResourcePath(String, String)


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