NodeList args = validator.getElementsByTagName("arg");
List args = XMLUtil.getChildElements(validator, "arg");
    protected void init(Element validator) {        type = validator.getAttribute("type");        try {            setId(Integer.parseInt(validator.getAttribute("id")));        } catch (NumberFormatException e) {        }        this.args = new HashMap();        NodeList args = validator.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));        }    }