src/main/java/org/jamppa/client/plugin/xep0077/Registration.java
@SuppressWarnings("unchecked")
    public Map<String, String> getAttributes() {
        Map<String, String> attributes = null;
        List<Element> elements = queryEl.elements();
        for (Element element : elements) {
            if (!element.getName().equals("instructions")) {
                if (attributes == null) {
                    attributes = new HashMap<String, String>();
                }
                attributes.put(element.getName(), element.getText());
            }
        }
        return attributes;
    }
@SuppressWarnings("unchecked")
    public Map<String, String> getAttributes() {
        Map<String, String> attributes = null;
        List<Element> elements = queryEl.elements();
        for (Element element : elements) {
            if (!element.getName().equals("instructions")) {
                if (attributes == null) {
                    attributes = new HashMap<String, String>();
                }
                attributes.put(element.getName(), element.getText());
            }
        }
        return attributes;
    }
@ SuppressWarnings ( "unchecked" ) public Map < String , String > getAttributes ( ) { Map < String , String > attributes = null ; List < Element > elements = queryEl . elements ( ) ; for ( Element element : elements ) { if ( ! element . getName ( ) . equals ( "instructions" ) ) { if ( attributes == null ) { attributes = new HashMap < String , String > ( ) ; } attributes . put ( element . getName ( ) , element . getText ( ) ) ; } } return attributes ; }
Returns the map of String key/value pairs of account attributes.

@return the account attributes.
Returns the map of String key / value pairs of account attributes .