|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.jcr.DavLocatorFactoryImpl
DavLocatorFactoryImpl
...
Constructor Summary | |
DavLocatorFactoryImpl(String pathPrefix)
Create a new factory |
Method Summary | |
org.apache.jackrabbit.webdav.DavResourceLocator |
createResourceLocator(String prefix,
String href)
Create a new DavResourceLocator . |
org.apache.jackrabbit.webdav.DavResourceLocator |
createResourceLocator(String prefix,
String workspacePath,
String resourcePath)
Create a new DavResourceLocator from the specified prefix,
workspace path and resource path, whithout modifying the specified Strings. |
org.apache.jackrabbit.webdav.DavResourceLocator |
createResourceLocator(String prefix,
String workspacePath,
String path,
boolean isResourcePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DavLocatorFactoryImpl(String pathPrefix)
pathPrefix
- Prefix, that needs to be removed in order to retrieve
the path of the repository item from a given DavResourceLocator
.Method Detail |
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String href)
DavResourceLocator
. Any leading
path-prefix (as defined with the constructor) and trailing '/' with
the request handle is removed. The first label of the remaining handle is
treated as workspace name. The remaining part of the given request handle
is said to be the resource handle ("/" if an empty string remains).
If the request handle does neither provide workspace name nor resource
handle both values are set to null
; the path object then
represents the root resource that has no corresponding item in the JCR
repository.
createResourceLocator
in interface org.apache.jackrabbit.webdav.DavLocatorFactory
prefix
- href
-
DavResourceLocator
IllegalArgumentException
- if the request handle is null
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String workspacePath, String resourcePath)
DavResourceLocator
from the specified prefix,
workspace path and resource path, whithout modifying the specified Strings.
createResourceLocator
in interface org.apache.jackrabbit.webdav.DavLocatorFactory
prefix
- workspacePath
- resourcePath
-
DavResourceLocator
DavLocatorFactory.createResourceLocator(String, String, String)
public org.apache.jackrabbit.webdav.DavResourceLocator createResourceLocator(String prefix, String workspacePath, String path, boolean isResourcePath)
createResourceLocator
in interface org.apache.jackrabbit.webdav.DavLocatorFactory
prefix
- workspacePath
- path
- isResourcePath
-
DavLocatorFactory.createResourceLocator(String, String, String, boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |