01: /*
02: * (C) Copyright IBM Corp. 2000 All rights reserved.
03: *
04: * The program is provided "AS IS" without any warranty express or
05: * implied, including the warranty of non-infringement and the implied
06: * warranties of merchantibility and fitness for a particular purpose.
07: * IBM will not be liable for any damages suffered by you as a result
08: * of using the Program. In no event will IBM be liable for any
09: * 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: }
|