/** * Returns the value of the attribute "selected". 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 "selected" * or an empty string if that attribute isn't defined. */ public final String getSelectedAttribute() { return getAttribute("selected"); }
/** * Returns the value of the attribute "selected". 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 "selected" * or an empty string if that attribute isn't defined. */ public final String getSelectedAttribute() { return getAttribute("selected"); }
/** * Returns the value of the attribute "selected". 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 "selected" * or an empty string if that attribute isn't defined. */ public final String getSelectedAttribute() { return getAttribute("selected"); }
/** * Returns the value of the attribute "label". 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 "label" or an empty string if that attribute isn't defined */ public final String getLabelAttribute() { return getAttribute("label"); }
/** * Returns the value of the attribute "label". 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 "label" or an empty string if that attribute isn't defined */ public final String getLabelAttribute() { return getAttribute("label"); }
/** * Returns the value of the attribute "label". 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 "label" or an empty string if that attribute isn't defined */ public final String getLabelAttribute() { return getAttribute("label"); }
/** * {@inheritDoc} */ public final String getDisabledAttribute() { return getAttribute("disabled"); }
/** * {@inheritDoc} */ public final String getDisabledAttribute() { return getAttribute("disabled"); }
/** * {@inheritDoc} */ public final String getDisabledAttribute() { return getAttribute("disabled"); }
/** * {@inheritDoc} */ @Override protected void printOpeningTagContentAsXml(final PrintWriter printWriter) { super.printOpeningTagContentAsXml(printWriter); if (selected_ && getAttribute("selected") == ATTRIBUTE_NOT_DEFINED) { printWriter.print(" selected=\"selected\""); } }
/** * {@inheritDoc} */ @Override protected void printOpeningTagContentAsXml(final PrintWriter printWriter) { super.printOpeningTagContentAsXml(printWriter); if (selected_ && getAttribute("selected") == ATTRIBUTE_NOT_DEFINED) { printWriter.print(" selected=\"selected\""); } }
/** * {@inheritDoc} */ @Override protected void printOpeningTagContentAsXml(final PrintWriter printWriter) { super.printOpeningTagContentAsXml(printWriter); if (selected_ && getAttribute("selected") == ATTRIBUTE_NOT_DEFINED) { printWriter.print(" selected=\"selected\""); } }
/** * Returns 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. * @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-value-OPTION"> * initial value if value attribute is not set</a> * @return the value of the attribute "value" */ public final String getValueAttribute() { String value = getAttribute("value"); if (value == ATTRIBUTE_NOT_DEFINED) { value = getText(); } return value; }
/** * Returns 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. * @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-value-OPTION"> * initial value if value attribute is not set</a> * @return the value of the attribute "value" */ public final String getValueAttribute() { String value = getAttribute("value"); if (value == ATTRIBUTE_NOT_DEFINED) { value = getText(); } return value; }
/** * Returns 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. * @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-value-OPTION"> * initial value if value attribute is not set</a> * @return the value of the attribute "value" */ public final String getValueAttribute() { String value = getAttribute("value"); if (value == ATTRIBUTE_NOT_DEFINED) { value = getText(); } return value; }
if (i != 0) { HtmlOption all = h.getOption(0); String url = all.getAttribute("data-url"); try { if (url != null && !url.isEmpty()) {
/** * Returns the value of the "value" property. * @return the value property */ public String jsxGet_value() { String value = getDomNodeOrNull().getAttribute("value"); if (value == DomElement.ATTRIBUTE_NOT_DEFINED && getBrowserVersion().isFirefox()) { value = getDomNodeOrNull().getText(); } return value; }
/** * Returns the value of the "value" property. * @return the value property */ public String jsxGet_value() { String value = getDomNodeOrNull().getAttribute("value"); if (value == DomElement.ATTRIBUTE_NOT_DEFINED && getBrowserVersion().isFirefox()) { value = getDomNodeOrNull().getText(); } return value; }
/** * Returns the value of the "value" property. * @return the value property */ public String jsxGet_value() { String value = getDomNodeOrNull().getAttribute("value"); if (value == DomElement.ATTRIBUTE_NOT_DEFINED && getBrowserVersion().isFirefox()) { value = getDomNodeOrNull().getText(); } return value; }