public static TagAttributeInfo getIdAttribute(TagAttributeInfo a[]) {
        for (int i=0; i<a.length; i++) {
            if (a[i].getName().equals(ID)) {
                return a[i];
            }
        }
        return null;		// no such attribute
    }
public static TagAttributeInfo getIdAttribute ( TagAttributeInfo a [ ] ) { for ( int i = 0 ; i < a . length ; i ++ ) { if ( a [ i ] . getName ( ) . equals ( ID ) ) { return a [ i ] ; } } return null ; }
Convenience static method that goes through an array of TagAttributeInfo
objects and looks for "id".

@param a An array of TagAttributeInfo
@return The TagAttributeInfo reference with name "id"