SetProperty.java
1.17 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.template.binding;
import com.adobe.xfa.Attribute;
import com.adobe.xfa.Element;
import com.adobe.xfa.Node;
import com.adobe.xfa.XFA;
import com.adobe.xfa.template.binding.BindingNode;
import org.xml.sax.Attributes;
public final class SetProperty
extends BindingNode {
public SetProperty(Element parent, Node prevSibling) {
super(parent, prevSibling, null, "setProperty", "setProperty", null, XFA.SETPROPERTYTAG, "setProperty");
}
@Override
public String getBindingContext() {
String sConnection = this.getAttribute(XFA.CONNECTIONTAG).toString();
int eUsage = 0;
if (sConnection.length() > 0) {
eUsage = 6225921;
}
return this.getContextRef(this, sConnection, eUsage);
}
@Override
public void updateAbsoluteDataRef() {
String sRef = this.getAttribute(XFA.REFTAG).toString();
String sConnection = this.getAttribute(XFA.CONNECTIONTAG).toString();
int eUsage = 0;
if (sConnection.length() > 0) {
eUsage = 6225921;
}
this.updateAbsoluteDataRef(sRef, sConnection, eUsage, true);
}
}