/** * Returns the value of the {@code accept} attribute. * * @return the value of the {@code accept} attribute */ public String getAccept() { return getAttribute(HttpHeader.ACCEPT_LC); }
/** * Returns the value of the attribute "onfocus". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "onfocus" * or an empty string if that attribute isn't defined. */ public final String getOnFocusAttribute() { return getAttribute("onfocus"); }
/** * Returns the value of the attribute "onselect". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "onselect" * or an empty string if that attribute isn't defined. */ public final String getOnSelectAttribute() { return getAttribute("onselect"); }
/** * <p>Return the value of the attribute "value". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute.</p> * * @return the value of the attribute "value" or an empty string if that attribute isn't defined */ public final String getValueAttribute() { return getAttribute("value"); }
/** * Returns the value of the attribute "maxlength". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "maxlength" * or an empty string if that attribute isn't defined. */ public final String getMaxLengthAttribute() { return getAttribute("maxlength"); }
/** * Returns the value of the attribute "alt". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "alt" * or an empty string if that attribute isn't defined. */ public final String getAltAttribute() { return getAttribute("alt"); }
/** * Returns the value of the attribute "onchange". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "onchange" * or an empty string if that attribute isn't defined. */ public final String getOnChangeAttribute() { return getAttribute("onchange"); }
/** * Returns the value of the attribute {@code accept}. Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute {@code accept} * or an empty string if that attribute isn't defined. */ public final String getAcceptAttribute() { return getAttribute(HttpHeader.ACCEPT_LC); }
/** * Returns the value of the attribute {@code maxlength}. Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute {@code maxlength} * or an empty string if that attribute isn't defined. */ public final String getMaxLengthAttribute() { return getAttribute("maxLength"); }
/** * Returns the value of the attribute "checked". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "checked" or an empty string if that attribute isn't defined */ public final String getCheckedAttribute() { return getAttribute("checked"); }
/** * Returns the value of the attribute "usemap". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "usemap" * or an empty string if that attribute isn't defined. */ public final String getUseMapAttribute() { return getAttribute("usemap"); }
/** * Returns the value of the attribute "tabindex". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "tabindex" * or an empty string if that attribute isn't defined. */ public final String getTabIndexAttribute() { return getAttribute("tabindex"); }
/** * Returns the value of the attribute "accesskey". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "accesskey" * or an empty string if that attribute isn't defined. */ public final String getAccessKeyAttribute() { return getAttribute("accesskey"); }
/** * Returns the value of the attribute "type". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "type" or an empty string if that attribute isn't defined */ public final String getTypeAttribute() { return getAttribute("type"); }
/** * <p>Return the value of the attribute "value". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute.</p> * * @return the value of the attribute "value" or an empty string if that attribute isn't defined */ public final String getValueAttribute() { return getAttribute("value"); }
/** * Returns the value of the attribute "size". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "size" * or an empty string if that attribute isn't defined. */ public final String getSizeAttribute() { return getAttribute("size"); }
/** * Returns the value of the attribute "onselect". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "onselect" * or an empty string if that attribute isn't defined. */ public final String getOnSelectAttribute() { return getAttribute("onselect"); }
/** * Returns the value of the attribute "accept". Refer to the * <a href='http://www.w3.org/TR/html401/'>HTML 4.01</a> * documentation for details on the use of this attribute. * * @return the value of the attribute "accept" * or an empty string if that attribute isn't defined. */ public final String getAcceptAttribute() { return getAttribute("accept"); }
/** * Gets the {@code minLength}. * @return the {@code minLength} */ @JsxGetter({CHROME, FF}) public int getMinLength() { final String attrValue = getDomNodeOrDie().getAttribute("minLength"); return NumberUtils.toInt(attrValue, -1); }
/** * Gets the max length. * @return the max length */ @JsxGetter public int getMaxLength() { final String attrValue = getDomNodeOrDie().getAttribute("maxLength"); return NumberUtils.toInt(attrValue, -1); }