/** * Creates an instance. * * @param qualifiedName the qualified name of the element type to instantiate * @param page the page that contains this element * @param attributes the initial attributes */ HtmlTextArea(final String qualifiedName, final SgmlPage page, final Map<String, DomAttr> attributes) { super(qualifiedName, page, attributes); originalName_ = getNameAttribute(); }
/** * Creates an instance. * * @param qualifiedName the qualified name of the element type to instantiate * @param page the page that contains this element * @param attributes the initial attributes */ HtmlTextArea(final String qualifiedName, final SgmlPage page, final Map<String, DomAttr> attributes) { super(qualifiedName, page, attributes); originalName_ = getNameAttribute(); }
/** * {@inheritDoc} */ @Override public NameValuePair[] getSubmitNameValuePairs() { String text = getText(); text = text.replace("\r\n", "\n").replace("\n", "\r\n"); return new NameValuePair[]{new NameValuePair(getNameAttribute(), text)}; }
/** * {@inheritDoc} */ @Override public NameValuePair[] getSubmitNameValuePairs() { String text = getText(); text = text.replace("\r\n", "\n").replace("\n", "\r\n"); return new NameValuePair[]{new NameValuePair(getNameAttribute(), text)}; }
/** * {@inheritDoc} */ public NameValuePair[] getSubmitKeyValuePairs() { String text = getText(); text = text.replace("\r\n", "\n").replace("\n", "\r\n"); return new NameValuePair[]{new NameValuePair(getNameAttribute(), text)}; }
/** * {@inheritDoc} */ public NameValuePair[] getSubmitKeyValuePairs() { String text = getText(); text = text.replace("\r\n", "\n").replace("\n", "\r\n"); return new NameValuePair[]{new NameValuePair(getNameAttribute(), text)}; }
/** * {@inheritDoc} */ public NameValuePair[] getSubmitKeyValuePairs() { String text = getText(); text = text.replace("\r\n", "\n").replace("\n", "\r\n"); return new NameValuePair[]{new NameValuePair(getNameAttribute(), text)}; }