Uses of Class
org.htmlunit.html.DomElement
Packages that use DomElement
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Classes specific to HTML pages, particularly the
HtmlPage which represents
an HTML document and provides access to its content.Miscellaneous utilities.
Classes specific to XML pages.
-
Uses of DomElement in org.htmlunit
Methods in org.htmlunit that return DomElementMethods in org.htmlunit that return types with arguments of type DomElementModifier and TypeMethodDescriptionSgmlPage.getElementsByTagName(String tagName) SgmlPage.getElementsByTagNameNS(String namespaceURI, String localName) Methods in org.htmlunit with parameters of type DomElementModifier and TypeMethodDescriptionvoidSgmlPage.clearComputedStyles(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement.voidSgmlPage.clearComputedStylesUpToRoot(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElementand all parent elements.org.htmlunit.css.ComputedCssStyleDeclarationWebWindow.getComputedStyle(DomElement element, String pseudoElement) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns computed style of the element.org.htmlunit.css.ComputedCssStyleDeclarationWebWindowImpl.getComputedStyle(DomElement element, String pseudoElement) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns computed style of the element. -
Uses of DomElement in org.htmlunit.html
Subclasses of DomElement in org.htmlunit.htmlModifier and TypeClassDescriptionclassBase class for frame and iframe.classWrapper for the HTML element "abbr".classWrapper for the HTML element "acronym".classWrapper for the HTML element "address".classWrapper for the HTML element "a".classWrapper for the HTML element "area".classWrapper for the HTML element "article".classWrapper for the HTML element "aside".classWrapper for the HTML element "Audio".classWrapper for the HTML element "bgsound".classWrapper for the HTML element "base".classWrapper for the HTML element "basefont".classWrapper for the HTML element "bdi".classWrapper for the HTML element "bdo".classWrapper for the HTML element "big".classWrapper for the HTML element "blockquote".classWrapper for the HTML element "body".classWrapper for the HTML element "b".classWrapper for the HTML element "br".classWrapper for the HTML element "button".classWrapper for the HTML element "input" where type is "button".classWrapper for the HTML element "canvas".classWrapper for the HTML element "caption".classWrapper for the HTML element "center".classWrapper for the HTML element "input".classWrapper for the HTML element "cite".classWrapper for the HTML element "code".classWrapper for the HTML element "input" where type is "color".classWrapper for the HTML element "data".classWrapper for the HTML element "datalist".classWrapper for the HTML element "input" where type is "date".classWrapper for the HTML element "input" where type is "datetime-local".classWrapper for the HTML element "dfn".classWrapper for the HTML element "dd".classWrapper for the HTML element "dl".classWrapper for the HTML element "dt".classWrapper for the HTML element "del".classWrapper for the HTML element "details".classWrapper for the HTML element "dialog".classWrapper for the HTML element "dir".classWrapper for the HTML element "div".classAn abstract wrapper for HTML elements.classWrapper for the HTML element "input" where type is "email".classWrapper for the HTML element "embed".classWrapper for the HTML element "em".classWrapper for the HTML element "xmp".classWrapper for the HTML element "fieldset".classWrapper for the HTML element "figure".classWrapper for the HTML element "figcaption".classWrapper for the HTML element "input".classWrapper for the HTML element "font".classWrapper for the HTML element "footer".classWrapper for the HTML element "form".classWrapper for the HTML element "frame".classWrapper for the HTML element "frameset".classWrapper for the HTML element "head".classWrapper for the HTML element "header".classWrapper for the HTML element "h1".classWrapper for the HTML element "h2".classWrapper for the HTML element "h3".classWrapper for the HTML element "h4".classWrapper for the HTML element "h5".classWrapper for the HTML element "h6".classWrapper for the HTML element "input" of type "hidden".classWrapper for the HTML element "hr".final classA representation of an HTML element "html".classWrapper for the HTML element "img".classWrapper for the HTML element "input".classWrapper for the HTML element "iframe".classWrapper for the HTML element "q".classWrapper for the HTML element "input".classWrapper for the HTML element "ins".classWrapper for the HTML element "i".classWrapper for the HTML element "kbd".classWrapper for the HTML element "label".classWrapper for the HTML element "layer".classWrapper for the HTML element "legend".classWrapper for the HTML element "link".classWrapper for the HTML element "listing".classWrapper for the HTML element "li".classWrapper for the HTML element "main".classWrapper for the HTML element "map".classWrapper for the HTML element "mark".classWrapper for the HTML element "marquee".classHTML Media element, e.g.classWrapper for the HTML element "menu".classWrapper for the HTML element "meta".classHTML 5 "meter" element.classWrapper for the HTML element "input" where type is "month".classWrapper for the HTML element "nav".classWrapper for the HTML element "nobr".classWrapper for the HTML element "noembed".classWrapper for the HTML element "noframes".classWrapper for the HTML element "nolayer".classWrapper for the HTML element "noscript".classWrapper for the HTML element "input" with type is "number".classWrapper for the HTML element "object".classWrapper for the HTML element "option".classWrapper for the HTML element "optgroup".classWrapper for the HTML element "ol".classWrapper for the HTML element "output".classWrapper for the HTML element "p".classWrapper for the HTML element "param".classWrapper for the HTML element "input".classWrapper for the HTML element "picture".classWrapper for the HTML element "plaintext".classWrapper for the HTML element "pre".classWrapper for the HTML element "progress".classWrapper for the HTML element "input".classWrapper for the HTML element "input" where type is "range".classWrapper for the HTML element "rb".classWrapper for the HTML element "input".classWrapper for the HTML element "rp".classWrapper for the HTML element "rt".classWrapper for the HTML element "rtc".classWrapper for the HTML element "ruby".classWrapper for the HTML element "s", a strike-through text style.classWrapper for the HTML element "samp".classWrapper for the HTML element "script".
When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree.classWrapper for the HTML element "input" where type is "search".classWrapper for the HTML element "section".classWrapper for the HTML element "select".classAbstract parent class to shareSelectableTextInputimplementation and typing support.classWrapper for the HTML element "slot".classWrapper for the HTML element "small".classWrapper for the HTML element "source".classWrapper for the HTML element "span".classWrapper for the HTML element "strike".classWrapper for the HTML element "strong".classWrapper for the HTML element "style".classWrapper for the HTML element "input".classWrapper for the HTML element "sub".classWrapper for the HTML element "summary".classWrapper for the HTML element "sup".classWrapper for the SVG elementsvg.classWrapper for the HTML element "table".classWrapper for the HTML element "tbody".classAn abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.classWrapper for the HTML element "col".classWrapper for the HTML element "colgroup".classWrapper for the HTML element "td".classWrapper for the HTML element "tfoot".classWrapper for the HTML element "thead".classWrapper for the HTML "th" tag.classWrapper for the HTML element "tr".classWrapper for the HTML element "tt".classWrapper for the HTML element "input" where type is "tel".classWrapper for the HTML element "template".classWrapper for the HTML element "textarea".classWrapper for the HTML element "input" with type="text".classWrapper for the HTML element "time".classWrapper for the HTML element "input" where type is "time".classWrapper for the HTML element "title".classWrapper for the HTML element "track".classWrapper for the HTML element "u".classAn element that is returned for an HTML tag that is not supported by this framework.classWrapper for the HTML element "ul".classWrapper for the HTML element "input" where type is "url".classWrapper for the HTML element "var".classWrapper for the HTML element "video".classWrapper for the HTML element "input" where type is "week".classWrapper for the HTML element "wbr".classSuperclass for the wrappers for the HTML elements "thead", "tbody" and "tfoot".Methods in org.htmlunit.html with type parameters of type DomElementModifier and TypeMethodDescription<E extends DomElement>
EHtmlPage.getElementByName(String name) Returns the element with the specified name.Methods in org.htmlunit.html that return DomElementModifier and TypeMethodDescriptionElementFactory.createElement(SgmlPage page, String tagName, Attributes attributes) Creates an element according to this factory's specification.HtmlPage.createElement(String tagName) ElementFactory.createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes) Creates an element according to this factory's specification.HtmlPage.createElementNS(String namespaceURI, String qualifiedName) HtmlPage.getElementById(String elementId) DomElement.getFirstElementChild()Returns the first child element node of this element. null if this element has no child elements.HtmlPage.getFocusedElement()Returns the element with the focus or null if no element has the focus.DomElement.getLastElementChild()Returns the last child element node of this element. null if this element has no child elements.DomNode.getNextElementSibling()Returns the next sibling element node of this element.DomAttr.getOwnerElement()DomNode.getPreviousElementSibling()Returns the previous sibling element node of this element.DomElement.ChildElementsIterator.next()DomNode.DescendantDomElementsIterator.next()DomNode.DescendantDomElementsIterator.nextNode()HtmlPage.pressAccessKey(char accessKey) Simulate pressing an access key.Methods in org.htmlunit.html that return types with arguments of type DomElementModifier and TypeMethodDescriptionfinal Iterable<DomElement> DomElement.getChildElements()final Iterable<DomElement> DomNode.getDomElementDescendants()Returns anIterablethat will recursively iterate over all of this node'sDomElementdescendants.HtmlPage.getElementsById(String elementId) Returns the elements with the specified ID.HtmlPage.getElementsByIdAndOrName(String idAndOrName) Returns the elements with the specified string for their name or ID.HtmlPage.getElementsByName(String name) Returns the elements with the specified name attribute.Methods in org.htmlunit.html with parameters of type DomElementModifier and TypeMethodDescriptionXmlSerializer.asXml(DomElement node) voidHtmlPage.clearComputedStyles(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement.voidHtmlPage.clearComputedStylesUpToRoot(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElementand all parent elements.org.htmlunit.css.ComputedCssStyleDeclarationHtmlPage.getStyleFromCache(DomElement element, String normalizedPseudo) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected booleanXmlSerializer.isExcluded(DomElement element) protected voidXmlSerializer.printOpeningTag(DomElement node) Prints the content between "<" and ">" (or "/>") in the output of the tag name and its attributes in XML format.protected voidXmlSerializer.printXml(DomElement node) voidHtmlPage.putStyleIntoCache(DomElement element, String normalizedPseudo, org.htmlunit.css.ComputedCssStyleDeclaration style) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Caches a CSS2Properties object.voidHtmlPage.setElementWithFocus(DomElement elementWithFocus) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.booleanHtmlPage.setFocusedElement(DomElement newElement) Moves the focus to the specified element.booleanHtmlPage.setFocusedElement(DomElement newElement, boolean windowActivated) Moves the focus to the specified element. -
Uses of DomElement in org.htmlunit.util
Methods in org.htmlunit.util with parameters of type DomElementModifier and TypeMethodDescriptionstatic StringXmlUtils.lookupNamespaceURI(DomElement element, String prefix) Search for the namespace URI of the given prefix, starting from the specified element.static StringXmlUtils.lookupPrefix(DomElement element, String namespace) Search for the prefix associated with specified namespace URI. -
Uses of DomElement in org.htmlunit.xml
Methods in org.htmlunit.xml that return DomElementModifier and TypeMethodDescriptionXmlPage.createElement(String tagName) XmlPage.createElementNS(String namespaceURI, String qualifiedName)