InstanceManager.java
693 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.template;
import com.adobe.xfa.Element;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.XFA;
import com.adobe.xfa.template.InstanceManagerScript;
public class InstanceManager
extends Obj {
private final Element moParent;
public InstanceManager(Element parent) {
this.moParent = parent;
}
@Override
public ScriptTable getScriptTable() {
return InstanceManagerScript.getScriptTable();
}
public Element getOccur() {
if (this.moParent != null) {
return this.moParent.getElement(XFA.OCCURTAG, 0);
}
return null;
}
}