WSDLConnection.java
2.06 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.connectionset;
import com.adobe.xfa.Dispatcher;
import com.adobe.xfa.Element;
import com.adobe.xfa.EventManager;
import com.adobe.xfa.Model;
import com.adobe.xfa.Node;
import com.adobe.xfa.ProtoableNode;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.XFA;
import com.adobe.xfa.connectionset.ConnectionSetModel;
import com.adobe.xfa.connectionset.WSDLConnectionScript;
import org.xml.sax.Attributes;
public class WSDLConnection
extends ProtoableNode {
public WSDLConnection(Element parent, Node prevSibling) {
super(parent, prevSibling, null, "wsdlConnection", "wsdlConnection", null, XFA.WSDLCONNECTIONTAG, "wsdlConnection");
}
@Override
public Element clone(Element oParent, boolean deep) {
WSDLConnection oThis;
EventManager.EventTable oEventTable;
Element oClone = super.clone(oParent, deep);
assert (oClone != null);
if (oClone != null && (oEventTable = (oThis = this).getEventTable(false)) != null) {
EventManager.EventTable oCloneEventTable = oClone.getEventTable(true);
assert (oCloneEventTable != null);
if (oCloneEventTable != null) {
int nSize = oEventTable.size();
for (int nIndex = 0; nIndex < nSize; ++nIndex) {
Dispatcher oDispatcher = (Dispatcher)oEventTable.get(nIndex);
oCloneEventTable.add(nIndex, oDispatcher);
}
}
}
return oClone;
}
public boolean execute(boolean inDoDynamicMerge) {
boolean bResult = false;
Model oModel = this.getModel();
if (oModel instanceof ConnectionSetModel) {
ConnectionSetModel oConnectionSetModel = (ConnectionSetModel)oModel;
bResult = oConnectionSetModel.execute(this, inDoDynamicMerge);
}
return bResult;
}
public boolean executePermsCheck() {
return true;
}
@Override
public ScriptTable getScriptTable() {
return WSDLConnectionScript.getScriptTable();
}
}