1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.core.api.uif; |
17 | |
|
18 | |
import org.kuali.rice.core.api.CoreConstants; |
19 | |
import org.w3c.dom.Element; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlAccessType; |
22 | |
import javax.xml.bind.annotation.XmlAccessorType; |
23 | |
import javax.xml.bind.annotation.XmlAnyElement; |
24 | |
import javax.xml.bind.annotation.XmlElement; |
25 | |
import javax.xml.bind.annotation.XmlRootElement; |
26 | |
import javax.xml.bind.annotation.XmlType; |
27 | |
import java.util.Collection; |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
@XmlRootElement(name = RemotableHiddenInput.Constants.ROOT_ELEMENT_NAME) |
33 | |
@XmlAccessorType(XmlAccessType.NONE) |
34 | |
@XmlType(name = RemotableHiddenInput.Constants.TYPE_NAME, propOrder = { |
35 | |
CoreConstants.CommonElements.FUTURE_ELEMENTS }) |
36 | 0 | public final class RemotableHiddenInput extends RemotableAbstractControl { |
37 | |
|
38 | 0 | private static final RemotableHiddenInput INSTANCE = new RemotableHiddenInput(Builder.INSTANCE); |
39 | |
|
40 | 0 | @SuppressWarnings("unused") |
41 | |
@XmlAnyElement |
42 | |
private final Collection<Element> _futureElements = null; |
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
@SuppressWarnings("unused") |
48 | 0 | private RemotableHiddenInput() { |
49 | 0 | } |
50 | |
|
51 | 0 | private RemotableHiddenInput(Builder b) { |
52 | 0 | } |
53 | |
|
54 | 0 | public static final class Builder extends RemotableAbstractControl.Builder { |
55 | |
|
56 | 0 | private static final Builder INSTANCE = new Builder(); |
57 | |
|
58 | |
private Builder() { |
59 | 0 | super(); |
60 | 0 | } |
61 | |
|
62 | |
|
63 | |
public static Builder create() { |
64 | 0 | return INSTANCE; |
65 | |
} |
66 | |
|
67 | |
@Override |
68 | |
public RemotableHiddenInput build() { |
69 | 0 | return RemotableHiddenInput.INSTANCE; |
70 | |
} |
71 | |
} |
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | 0 | static final class Constants { |
77 | |
static final String TYPE_NAME = "HiddenInputType"; |
78 | |
final static String ROOT_ELEMENT_NAME = "hiddenInput"; |
79 | |
} |
80 | |
|
81 | 0 | static final class Elements { |
82 | |
} |
83 | |
} |