Constructor and Description |
---|
FormElement(Tag tag, String baseUri, Attributes attributes)
Create a new, standalone form element.
|
Modifier and Type | Method and Description |
---|---|
FormElement |
addElement(Element element)
Add a form control element to this form.
|
Elements |
elements()
Get the list of form control elements associated with this form.
|
List<KeyVal> |
formData()
Get the data that this form submits.
|
addClass, after, after, append, appendChild, appendElement, appendText, attr, attr, before, before, child, children, className, classNames, classNames, clone, cssSelector, data, dataNodes, dataset, elementSiblingIndex, empty, firstElementSibling, getAllElements, getElementById, getElementsByAttribute, getElementsByAttributeStarting, getElementsByAttributeValue, getElementsByAttributeValueContaining, getElementsByAttributeValueEnding, getElementsByAttributeValueMatching, getElementsByAttributeValueMatching, getElementsByAttributeValueNot, getElementsByAttributeValueStarting, getElementsByClass, getElementsByIndexEquals, getElementsByIndexGreaterThan, getElementsByIndexLessThan, getElementsByTag, getElementsContainingOwnText, getElementsContainingText, getElementsMatchingOwnText, getElementsMatchingOwnText, getElementsMatchingText, getElementsMatchingText, hasClass, hasText, html, html, html, id, insertChildren, isBlock, lastElementSibling, nextElementSibling, nodeName, ownText, parent, parents, prepend, prependChild, prependElement, prependText, previousElementSibling, removeClass, select, siblingElements, tag, tagName, tagName, text, text, textNodes, toggleClass, toString, val, val, wrap
absUrl, addChildren, addChildren, attr, attributes, baseUri, childNode, childNodes, childNodesAsArray, childNodesCopy, childNodeSize, doClone, ensureChildNodes, equals, hasAttr, hasSameValue, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parentNode, previousSibling, remove, removeAttr, removeChild, reparentChild, replaceChild, replaceWith, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, traverse, unwrap
public FormElement(Tag tag, String baseUri, Attributes attributes)
tag
- tag of this element
baseUri
- the base URI
attributes
- initial attributes
public Elements elements()
public FormElement addElement(Element element)
element
- form control to add
Copyright © 1998–2019 iText Group NV. All rights reserved.