question: public static AttributeName nameByString ( String qname ) { int hash = AttributeName . stringToHash ( qname ) ; int index = Arrays . binarySearch ( AttributeName . ATTRIBUTE_HASHES , hash ) ; if ( index < 0 ) { return AttributeName . createAttributeName ( qname . intern ( ) , false ) ; } else { AttributeName rv = AttributeName . ATTRIBUTE_NAMES [ index ] ; @ Local String name = rv . getLocal ( AttributeName . HTML ) ; if ( ! name . equals ( qname ) ) { return AttributeName . createAttributeName ( qname . intern ( ) , false ) ; } return rv ; } }
target:  Returns an attribute name by buffer. <p>C++ ownership: The return value is either released by the caller if the attribute is a duplicate or the ownership is transferred to HtmlAttributes and released upon clearing or destroying that object.