* Query the {@code nsIDOMHTMLInputElement} interface from the node.
* @param node the node to convert.
* @exception XPCOMException if the node is not an input.
*/
public static nsIDOMHTMLInputElement asInput(nsIDOMNode node) {
nsIDOMHTMLInputElement input = (nsIDOMHTMLInputElement) node.queryInterface(nsIDOMHTMLInputElement.NS_IDOMHTMLINPUTELEMENT_IID);
return input;
}