ContentScript.java
1.03 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.ProtoableNodeScript;
import com.adobe.xfa.ScriptFuncObj;
import com.adobe.xfa.ScriptPropObj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.content.Content;
public class ContentScript
extends ProtoableNodeScript {
protected static final ScriptTable moScriptTable = new ScriptTable(ProtoableNodeScript.moScriptTable, "content", new ScriptPropObj[]{new ScriptPropObj(ContentScript.class, "isNull", "getIsNull", "setIsNull", 3, 10, 9, 0)}, null);
public static void getClassName(Obj pThis, Arg oRetVal) {
oRetVal.setString(pThis.getClassAtom());
}
public static ScriptTable getScriptTable() {
return moScriptTable;
}
public static void getIsNull(Obj pObj, Arg oRetVal) {
oRetVal.setBool(((Content)pObj).getIsNull());
}
public static void setIsNull(Obj pObj, Arg oArg) {
((Content)pObj).setIsNull(oArg.getBool(), true, false);
}
}