private Iterator<String> declaredAttributes(ElementDecl element) {
        HashMap<String, AttributeDecl> attlist;

        if (element == null) {
            return null;
        }
        if ((attlist = element.attributes) == null) {
            return null;
        }
        return attlist.keySet().iterator();
    }
Get the declared attributes for an element type.

@param elname
           The name of the element type.
@return An iterator over all the attributes declared for a specific
        element type. The results will be valid only after the DTD (if
        any) has been parsed.
@see #getAttributeType
@see #getAttributeEnumeration
@see #getAttributeDefaultValueType
@see #getAttributeDefaultValue
@see #getAttributeExpandedValue
src/nu/validator/gnu/xml/aelfred2/XmlParser.java