public static void optAttribute(Device d, String attr, String value)
public static void optAttribute(Device d, String attr, StringBuffer value)
    public static void optAttribute(Device d, String attr, String value)            throws IOException {        if (value != null && value.trim().length() > 0) {            d.print(" ").print(attr).print("=\"");            quote(d, value, true);            d.print("\"");        }    }