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