AdaptiveFormData.java
1.55 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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.forms.common.service.FileAttachmentWrapper
*/
package com.adobe.aemds.guide.utils;
import com.adobe.forms.common.service.FileAttachmentWrapper;
import java.util.List;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class AdaptiveFormData {
private String xmlStr;
private String bindRef;
private String path;
private List<FileAttachmentWrapper> attachments;
public AdaptiveFormData(String xmlStr, String bindRef, String path, List<FileAttachmentWrapper> attachments) {
this.xmlStr = xmlStr;
this.bindRef = bindRef;
this.path = path;
this.attachments = attachments;
}
public String getXmlStr() {
return this.xmlStr;
}
public String getBindRef() {
return this.bindRef;
}
public String getPath() {
return this.path;
}
public List<FileAttachmentWrapper> getAttachments() {
return this.attachments;
}
public String toString() {
String attachemntNames = "";
if (this.attachments != null) {
for (FileAttachmentWrapper attachment : this.attachments) {
attachemntNames = attachemntNames + "\t" + attachment.getFileName();
}
}
return "AdaptiveFormData{, path='" + this.path + '\'' + "\n\n" + ", bindRef='" + this.bindRef + '\'' + "\n\n" + "xml=\n" + this.xmlStr + "\n\n" + "attachment names = " + attachemntNames + "\n" + '}' + "\n\n\n";
}
}