// <D:supportedlock/><D:lockdiscovery/>
class LockDiscoveryPropertyWriter implements StandardProperty<LockToken> {
public LockToken getValue( PropFindableResource res ) {
if( !( res instanceof LockableResource ) ) return null;
LockableResource lr = (LockableResource) res;
LockToken token = lr.getCurrentLock();
return token;
}