ManifestScript.java 1.45 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa;

import com.adobe.xfa.*;

public class ManifestScript
extends ProtoableNodeScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(ProtoableNodeScript.moScriptTable, "manifest", new ScriptPropObj[]{new ScriptPropObj(ManifestScript.class, null, "getObject", null, 7, 21, 9, 0)}, new ScriptFuncObj[]{new ScriptFuncObj(ManifestScript.class, "evaluate", "evaluate", 1, new int[0], 0, 21, 9, 0), new ScriptFuncObj(ManifestScript.class, "execValidate", "execValidate", 3, new int[0], 0, 28, 9, 0), new ScriptFuncObj(ManifestScript.class, "execCalculate", "execCalculate", 1, new int[0], 0, 28, 9, 0), new ScriptFuncObj(ManifestScript.class, "execInitialize", "execInitialize", 1, new int[0], 0, 28, 9, 0)});

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }

    public static void getObject(Obj obj, Arg retVal) {
        retVal.setObject(obj);
    }

    public static void evaluate(Obj obj, Arg retVal, Arg[] args) {
        retVal.setObject(((Manifest)obj).doEvaluate());
    }

    public static void execValidate(Obj obj, Arg retVal, Arg[] args) {
        retVal.setBool(((Manifest)obj).doExecValidate());
    }

    public static void execCalculate(Obj obj, Arg retVal, Arg[] args) {
        ((Manifest)obj).doExecCalculate();
    }

    public static void execInitialize(Obj obj, Arg retVal, Arg[] args) {
        ((Manifest)obj).doExecInitialize();
    }
}