1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.engine.node.var;
17
18 import java.util.Arrays;
19 import java.util.Collection;
20 import java.util.Collections;
21
22 import org.kuali.rice.kew.engine.RouteContext;
23 import org.kuali.rice.kew.engine.node.var.schemes.LiteralScheme;
24 import org.kuali.rice.kew.engine.node.var.schemes.ResourceScheme;
25 import org.kuali.rice.kew.engine.node.var.schemes.URLScheme;
26 import org.kuali.rice.kew.engine.node.var.schemes.VariableScheme;
27 import org.kuali.rice.kew.engine.node.var.schemes.XPathScheme;
28
29
30
31
32
33
34
35
36 public interface PropertyScheme {
37 public static final PropertyScheme VARIABLE_SCHEME = new VariableScheme();
38 public static final PropertyScheme LITERAL_SCHEME = new LiteralScheme();
39 public static final PropertyScheme RESOURCE_SCHEME = new ResourceScheme();
40 public static final PropertyScheme URL_SCHEME = new URLScheme();
41 public static final PropertyScheme XPATH_SCHEME = new XPathScheme();
42
43
44
45
46
47 public static final Collection SCHEMES = Collections.unmodifiableCollection(
48 Arrays.
49 asList(new PropertyScheme[] {
50 VARIABLE_SCHEME,
51 LITERAL_SCHEME,
52 RESOURCE_SCHEME,
53 URL_SCHEME,
54 XPATH_SCHEME}));
55
56
57
58
59
60 public String getName();
61
62
63
64
65 public String getShortName();
66
67
68
69
70
71
72 public Object load(Property property, RouteContext context);
73 }