for (int l = 0; l < args.getLength(); l++) { Element arg = (Element) args.item(l);
for (int l = 0; l < args.size(); l++) { Element arg = (Element) args.get(l);
    protected void init(Element register) {        this.type = register.getAttribute("type");        this.variableName = register.getAttribute("variable-name");        try {            setId(Integer.parseInt(register.getAttribute("id")));        } catch (NumberFormatException e) {        }        NodeList args = register.getElementsByTagName("arg");        for (int l = 0; l < args.getLength(); l++) {            Element arg = (Element) args.item(l);            this.args.put(arg.getAttribute("name"), XMLUtil.getText(arg));        }    }