addAttribute((VizAttr) enumList.nextElement());
VizAttr a = (VizAttr) enumList.nextElement(); if (a.getName().equals(attr.getName())) { a.setValue(attr.getValue()); return; }
    public void addAttribute(VizAttrStmt attrstmt) {        if (!type.equals(attrstmt.getType()))            return;        Enumeration enumList = attrstmt.getAttributes();        while (enumList.hasMoreElements()) {            addAttribute((VizAttr) enumList.nextElement());        }    }