XFAConfig$XFARenderFormDomConfig$class.java
4.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* scala.MatchError
* scala.None
* scala.None$
* scala.Option
* scala.Predef
* scala.Predef$
* scala.Some
* scala.collection.Seq
* scala.collection.mutable.StringBuilder
* scala.collection.mutable.WrappedArray
* scala.xml.Elem
* scala.xml.MetaData
* scala.xml.NamespaceBinding
* scala.xml.Node
* scala.xml.NodeBuffer
* scala.xml.Null
* scala.xml.Null$
* scala.xml.Text
* scala.xml.TopScope
* scala.xml.TopScope$
*/
package com.adobe.forms.model;
import com.adobe.forms.model.FormContext;
import com.adobe.forms.model.XFAConfig;
import scala.MatchError;
import scala.None;
import scala.Option;
import scala.Predef;
import scala.Some;
import scala.collection.Seq;
import scala.collection.mutable.StringBuilder;
import scala.collection.mutable.WrappedArray;
import scala.xml.Elem;
import scala.xml.MetaData;
import scala.xml.NamespaceBinding;
import scala.xml.Node;
import scala.xml.NodeBuffer;
import scala.xml.Null;
import scala.xml.Text;
import scala.xml.TopScope;
public abstract class XFAConfig$XFARenderFormDomConfig$class {
public static String configResKey(XFAConfig.XFARenderFormDomConfig $this) {
return new StringBuilder().append((Object)"#renderFormDom#").append((Object)$this.formContext().toString()).toString();
}
public static Elem output(XFAConfig.XFARenderFormDomConfig $this) {
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf2 = new NodeBuffer();
$buf2.$amp$plus((Object)new Text("mergedXDP"));
$buf.$amp$plus((Object)new Elem(null, "type", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf2));
$buf.$amp$plus((Object)new Text("\n "));
return new Elem(null, "output", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf);
}
public static Elem destination(XFAConfig.XFARenderFormDomConfig $this) {
return new Elem(null, "destination", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)Predef..MODULE$.wrapRefArray((Object[])new Node[0]));
}
public static Elem script(XFAConfig.XFARenderFormDomConfig $this) {
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf2 = new NodeBuffer();
$buf2.$amp$plus((Object)new Text("validate nullTest formatTest docClose"));
$buf.$amp$plus((Object)new Elem(null, "exclude", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf2));
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf3 = new NodeBuffer();
$buf3.$amp$plus((Object)new Text("both"));
$buf.$amp$plus((Object)new Elem(null, "runScripts", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf3));
$buf.$amp$plus((Object)new Text("\n "));
return new Elem(null, "script", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf);
}
public static Elem xdp(XFAConfig.XFARenderFormDomConfig $this) {
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf2 = new NodeBuffer();
$buf2.$amp$plus((Object)new Text("form"));
$buf.$amp$plus((Object)new Elem(null, "packets", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf2));
$buf.$amp$plus((Object)new Text("\n "));
return new Elem(null, "xdp", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public static Elem locale(XFAConfig.XFARenderFormDomConfig $this) {
Elem elem;
Option<String> option = $this.formContext().locale();
if (option instanceof Some) {
Elem elem2;
elem = elem2;
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus(((Some)option).x());
elem2 = new Elem(null, "locale", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)$buf);
return elem;
}
None. v2 = None..MODULE$;
Option<String> option2 = option;
if (v2 == null) {
if (option2 != null) {
throw new MatchError(option);
}
} else if (!v2.equals(option2)) throw new MatchError(option);
elem = new Elem(null, "locale", (MetaData)Null..MODULE$, (NamespaceBinding)Predef..MODULE$.$scope(), (Seq)Predef..MODULE$.wrapRefArray((Object[])new Node[0]));
return elem;
}
public static void $init$(XFAConfig.XFARenderFormDomConfig $this) {
}
}