ObjScript.java 708 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa;

import com.adobe.xfa.*;

public class ObjScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(null, "object", new ScriptPropObj[]{new ScriptPropObj(ObjScript.class, "className", "getClassName", null, 6, 10, 9, 0)}, null);

    public static void getClassName(Obj pThis, Arg oRetVal) {
        oRetVal.setString(pThis.getClassAtom());
    }

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }

    public static boolean setPropPermsCheck(Obj obj) {
        if (obj instanceof Node && !((Node)obj).checkAncestorPerms()) {
            return false;
        }
        return true;
    }
}