ExDataScript.java 1.05 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.content;

import com.adobe.xfa.Arg;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ScriptFuncObj;
import com.adobe.xfa.ScriptPropObj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.content.ContentScript;
import com.adobe.xfa.content.ExDataValue;

public class ExDataScript
extends ContentScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(ContentScript.moScriptTable, "exData", new ScriptPropObj[]{new ScriptPropObj(ExDataScript.class, "value", "getValue", "setValue", 6, 10, 9, 0), new ScriptPropObj(ExDataScript.class, null, "getValue", "setValue", 6, 10, 9, 0)}, null);

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }

    public static void getValue(Obj pObj, Arg oRetVal) {
        boolean bLegacySpaceBehavior = true;
        oRetVal.setString(((ExDataValue)pObj).getValue(false, false, bLegacySpaceBehavior));
    }

    public static void setValue(Obj pObj, Arg oArg) {
        ((ExDataValue)pObj).setValue(oArg.getString());
    }
}