NodeListScript.java 654 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa;

import com.adobe.xfa.*;

public class NodeListScript
extends ListBaseScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(ListBaseScript.moScriptTable, "nodeList", null, new ScriptFuncObj[]{new ScriptFuncObj(NodeListScript.class, "namedItem", "namedItem", 7, new int[]{6}, 1, 10, 9, 0)});

    public static void namedItem(Obj pObj, Arg oRetVal, Arg[] pArgs) {
        String aName = pArgs[0].getString();
        oRetVal.setObject(((NodeList)pObj).getNamedItem(aName));
    }

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }
}