|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DavLocatorFactory
...
Method Summary | |
DavResourceLocator |
createResourceLocator(String prefix,
String href)
Create a new DavResourceLocator . |
DavResourceLocator |
createResourceLocator(String prefix,
String workspacePath,
String resourcePath)
Create a new DavResourceLocator . |
DavResourceLocator |
createResourceLocator(String prefix,
String workspacePath,
String path,
boolean isResourcePath)
|
Method Detail |
public DavResourceLocator createResourceLocator(String prefix, String href)
DavResourceLocator
.
prefix
- String consisting of [scheme:][//authority][path] where
path defines the (imaginary) path to the root location
.href
- of the resource to be created. The given string may start with
the 'prefix'. Please note, that in contrast to
createResourceLocator(String, String, String)
the
href is expected to be URL encoded.
public DavResourceLocator createResourceLocator(String prefix, String workspacePath, String resourcePath)
DavResourceLocator
. This methods corresponds to
createResourceLocator(String, String, String, boolean)
with the flag set to true.
prefix
- String consisting of [scheme:][//authority][path] where
path defines the path to the root location
.workspacePath
- the first segment of the URIs path indicating the
workspace. The implementation may allow a empty String if workspaces
are not supported.resourcePath
- the URL decoded resource path
public DavResourceLocator createResourceLocator(String prefix, String workspacePath, String path, boolean isResourcePath)
prefix
- workspacePath
- path
- isResourcePath
- If true this method returns the same as
createResourceLocator(String, String, String)
,
otherwise the given path is treated as JCR path
.
The implementation may choose to modify the given item path if it contains
escaped characters due to incompatibility of the JCR path with the URI
definition. I.e. it would undo the modification that was applied when
calling DavResourceLocator.getJcrPath()
.
DavResourceLocator.getJcrPath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |