org.apache.webdav.lib.properties
Class LockDiscoveryProperty
java.lang.Object
|
+--org.apache.webdav.lib.BaseProperty
|
+--org.apache.webdav.lib.properties.LockDiscoveryProperty
- All Implemented Interfaces:
- Property
- public class LockDiscoveryProperty
- extends BaseProperty
This class represents a listing of who has lock, what type of lock he has,
the timeout type and the time remaining on the timeout, and the associated
lock token. The server is free to withhold any or all of this information
if the requesting principal does not have sufficient access rights to see
the requested data.
- Version:
- $Revision: 1.8 $
- Author:
- Jojada J. Tirtowidjojo at SpeedLegal Holdings Inc., Park, Sung-Gu, Remy Maucherat
Field Summary |
static java.lang.String |
TAG_NAME
The property name. |
Method Summary |
Lock[] |
getActiveLocks()
Get the activelock in this lockdiscovery property. |
protected Lock |
parseLock(org.w3c.dom.Element element)
Parse a lock. |
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.
LockDiscoveryProperty
public LockDiscoveryProperty(ResponseEntity response,
org.w3c.dom.Element element)
- Default constructor for the property.
getActiveLocks
public Lock[] getActiveLocks()
- Get the activelock in this lockdiscovery property.
- Returns:
- Lock[] A lock array.
parseLock
protected Lock parseLock(org.w3c.dom.Element element)
- Parse a lock.