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