1 /* 2 * (C) Copyright IBM Corp. 2000 All rights reserved. 3 * 4 * The program is provided "AS IS" without any warranty express or 5 * implied, including the warranty of non-infringement and the implied 6 * warranties of merchantibility and fitness for a particular purpose. 7 * IBM will not be liable for any damages suffered by you as a result 8 * of using the Program. In no event will IBM be liable for any 9 * special, indirect or consequential damages or lost profits even if 10 * IBM has been advised of the possibility of their occurrence. IBM 11 * will not be liable for any third party claims against you. 12 */ 13 14 package com.ibm.webdav; 15 16 /** 17 * A target selector can be a label name, version name, working resource id, 18 * or an indicator that the VersionedResource itself should be selected. 19 * A TargetSelector selects the indicated revision. 20 */ 21 public class LabelSelector extends TargetSelector { 22 /** 23 * Get the selector key for this TargetSelector. 24 * 25 * @return the Target-Selector key 26 * @exception com.ibm.webdav.WebDAVException 27 */ 28 public String getSelectorKey() throws WebDAVException { 29 return "label "+targetSelector; 30 } 31 } 32