public interface DavResourceLocator
DavResourceLocator
...Modifier and Type | Method and Description |
---|---|
DavLocatorFactory |
getFactory()
Return the locator factory that created this locator.
|
java.lang.String |
getHref(boolean isCollection)
Return the 'href' representation of this locator object.
|
java.lang.String |
getPrefix()
Return the prefix used to build the complete href of the resource as
required for the
href Xml element. |
java.lang.String |
getRepositoryPath()
An implementation may choose to circumvent the incompatibility of a
repository path with the URI path by applying an appropriate conversion.
|
java.lang.String |
getResourcePath()
Return the resource path.
|
java.lang.String |
getWorkspaceName()
Return the name of the workspace the resource identified by this
locator is member of.
|
java.lang.String |
getWorkspacePath()
Return the path of the workspace the resource identified by this
locator is member of.
|
boolean |
isRootLocation()
Returns true if this
DavResourceLocator represents the root
locator that would be requested with 'hrefPrefix'+'pathPrefix' with or
without a trailing '/'. |
boolean |
isSameWorkspace(DavResourceLocator locator)
Returns true if the specified locator refers to a resource within the
same workspace.
|
boolean |
isSameWorkspace(java.lang.String workspaceName)
Returns true if the specified workspace name equals to the workspace
name defined with this locator.
|
java.lang.String getPrefix()
href Xml
element.
This includes scheme and host information as well as constant prefixes.
However, this must not include workspace prefix.getResourcePath()
java.lang.String getResourcePath()
java.lang.String getWorkspacePath()
java.lang.String getWorkspaceName()
boolean isSameWorkspace(DavResourceLocator locator)
locator
- boolean isSameWorkspace(java.lang.String workspaceName)
workspaceName
- java.lang.String getHref(boolean isCollection)
isCollection
- DavConstants.XML_HREF
,
DavResource.getHref()
boolean isRootLocation()
DavResourceLocator
represents the root
locator that would be requested with 'hrefPrefix'+'pathPrefix' with or
without a trailing '/'.DavLocatorFactory getFactory()
java.lang.String getRepositoryPath()
getResourcePath()
that allows to build a valid DavResourceLocator
from a given
repository path.
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"