XFAConfig$XFASubmitDataConfig$class.java
5.77 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.forms.model.XFAConfig$XFASubmitDataConfig$
* com.adobe.forms.model.XFAConfig$XFASubmitDataConfig$$anonfun
* com.adobe.forms.model.XFAConfig$XFASubmitDataConfig$$anonfun$script
* com.adobe.forms.model.XFAConfig$XFASubmitDataConfig$$anonfun$xdp
* scala.Function0
* 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.runtime.AbstractFunction0
* 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.Function0;
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.runtime.AbstractFunction0;
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$XFASubmitDataConfig$class {
public static String configResKey(XFAConfig.XFASubmitDataConfig $this) {
return new StringBuilder().append((Object)"#submitData#").append((Object)$this.formContext().toString()).toString();
}
public static Elem output(XFAConfig.XFASubmitDataConfig $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.XFASubmitDataConfig $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.XFASubmitDataConfig $this) {
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf2 = new NodeBuffer();
$buf2.$amp$plus($this.formContext().scriptsToRun().getOrElse((Function0)new scala.Serializable($this){
public static final long serialVersionUID;
public static {
long l = XFAConfig.XFASubmitDataConfig..anonfun.script.serialVersionUID = 0;
}
public final String apply() {
return "none";
}
}));
$buf.$amp$plus((Object)new Elem(null, "runScripts", (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(" "));
$buf.$amp$plus((Object)new Elem(null, "exclude", (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.XFASubmitDataConfig $this) {
NodeBuffer $buf = new NodeBuffer();
$buf.$amp$plus((Object)new Text("\n "));
NodeBuffer $buf2 = new NodeBuffer();
$buf2.$amp$plus($this.formContext().packets().getOrElse((Function0)new scala.Serializable($this){
public static final long serialVersionUID;
public static {
long l = XFAConfig.XFASubmitDataConfig..anonfun.xdp.serialVersionUID = 0;
}
public final String apply() {
return com.adobe.forms.model.ParameterStr$.MODULE$.Datasets();
}
}));
$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.XFASubmitDataConfig $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.XFASubmitDataConfig $this) {
}
}