org.apache.webdav.lib.properties
Class SupportedLockProperty
java.lang.Object
|
+--org.apache.webdav.lib.BaseProperty
|
+--org.apache.webdav.lib.properties.SupportedLockProperty
- All Implemented Interfaces:
- Property
- public class SupportedLockProperty
- extends BaseProperty
- Version:
- $Revision: 1.5 $
- Author:
- BC Holmes, Park, Sung-Gu
Field Summary |
static java.lang.String |
TAG_NAME
The property name. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG_NAME
public static final java.lang.String TAG_NAME
- The property name.
SupportedLockProperty
public SupportedLockProperty(ResponseEntity response,
org.w3c.dom.Element element)
- Default constructor for the property.
getLockEntries
public Lock[] getLockEntries()
- Get the lockentry in this supportedlock property.
- Returns:
- Lock[] A lock array or null when there is no lock.
parseLock
protected Lock parseLock(org.w3c.dom.Element element)
- Parse a lock.
getPropertyAsString
public java.lang.String getPropertyAsString()
- Description copied from class:
BaseProperty
- This method returns the namespace of the property. Thus, for example,
calling this method on a property such as
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
Tue, 05 Dec 2000 05:25:02
.
- Overrides:
getPropertyAsString
in class BaseProperty