private void addAttrElements(Element req, Map<String, Object> attrs) throws SoapFaultException {
static void addAttrElements(Element req, Map<String, Object> attrs) throws SoapFaultException {
    private void addAttrElements(Element req, Map<String, Object> attrs) throws SoapFaultException {        if (attrs == null) return;                for (Entry entry : attrs.entrySet()) {            String key = (String) entry.getKey();            Object value = entry.getValue();            if (value instanceof String) {                Element  a = req.addElement(AdminService.E_A);                a.addAttribute(AdminService.A_N, key);                a.setText((String)value);            } else if (value instanceof String[]) {                String[] values = (String[]) value;                for (String v: values) {                    Element  a = req.addElement(AdminService.E_A);                    a.addAttribute(AdminService.A_N, key);                    a.setText((String)v);                                    }            } else {                throw SoapFaultException.CLIENT_ERROR("invalid attr type: "+key+" "+value.getClass().getName(), null);            }        }            }