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 TypeMethodDescriptionvoid
SgmlPage.clearComputedStyles
(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
.void
SgmlPage.clearComputedStylesUpToRoot
(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
and all parent elements.org.htmlunit.css.ComputedCssStyleDeclaration
WebWindow.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.ComputedCssStyleDeclaration
WebWindowImpl.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 TypeClassDescriptionclass
Base class for frame and iframe.class
Wrapper for the HTML element "abbr".class
Wrapper for the HTML element "acronym".class
Wrapper for the HTML element "address".class
Wrapper for the HTML element "a".class
Wrapper for the HTML element "area".class
Wrapper for the HTML element "article".class
Wrapper for the HTML element "aside".class
Wrapper for the HTML element "Audio".class
Wrapper for the HTML element "bgsound".class
Wrapper for the HTML element "base".class
Wrapper for the HTML element "basefont".class
Wrapper for the HTML element "bdi".class
Wrapper for the HTML element "bdo".class
Wrapper for the HTML element "big".class
Wrapper for the HTML element "blockquote".class
Wrapper for the HTML element "body".class
Wrapper for the HTML element "b".class
Wrapper for the HTML element "br".class
Wrapper for the HTML element "button".class
Wrapper for the HTML element "input" where type is "button".class
Wrapper for the HTML element "canvas".class
Wrapper for the HTML element "caption".class
Wrapper for the HTML element "center".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "cite".class
Wrapper for the HTML element "code".class
Wrapper for the HTML element "input" where type is "color".class
Wrapper for the HTML element "data".class
Wrapper for the HTML element "datalist".class
Wrapper for the HTML element "input" where type is "date".class
Wrapper for the HTML element "input" where type is "datetime-local".class
Wrapper for the HTML element "dfn".class
Wrapper for the HTML element "dd".class
Wrapper for the HTML element "dl".class
Wrapper for the HTML element "dt".class
Wrapper for the HTML element "del".class
Wrapper for the HTML element "details".class
Wrapper for the HTML element "dialog".class
Wrapper for the HTML element "dir".class
Wrapper for the HTML element "div".class
An abstract wrapper for HTML elements.class
Wrapper for the HTML element "input" where type is "email".class
Wrapper for the HTML element "embed".class
Wrapper for the HTML element "em".class
Wrapper for the HTML element "xmp".class
Wrapper for the HTML element "fieldset".class
Wrapper for the HTML element "figure".class
Wrapper for the HTML element "figcaption".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "font".class
Wrapper for the HTML element "footer".class
Wrapper for the HTML element "form".class
Wrapper for the HTML element "frame".class
Wrapper for the HTML element "frameset".class
Wrapper for the HTML element "head".class
Wrapper for the HTML element "header".class
Wrapper for the HTML element "h1".class
Wrapper for the HTML element "h2".class
Wrapper for the HTML element "h3".class
Wrapper for the HTML element "h4".class
Wrapper for the HTML element "h5".class
Wrapper for the HTML element "h6".class
Wrapper for the HTML element "input" of type "hidden".class
Wrapper for the HTML element "hr".final class
A representation of an HTML element "html".class
Wrapper for the HTML element "img".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "iframe".class
Wrapper for the HTML element "q".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "ins".class
Wrapper for the HTML element "i".class
Wrapper for the HTML element "kbd".class
Wrapper for the HTML element "label".class
Wrapper for the HTML element "layer".class
Wrapper for the HTML element "legend".class
Wrapper for the HTML element "link".class
Wrapper for the HTML element "listing".class
Wrapper for the HTML element "li".class
Wrapper for the HTML element "main".class
Wrapper for the HTML element "map".class
Wrapper for the HTML element "mark".class
Wrapper for the HTML element "marquee".class
HTML Media element, e.g.class
Wrapper for the HTML element "menu".class
Wrapper for the HTML element "meta".class
HTML 5 "meter" element.class
Wrapper for the HTML element "input" where type is "month".class
Wrapper for the HTML element "nav".class
Wrapper for the HTML element "nobr".class
Wrapper for the HTML element "noembed".class
Wrapper for the HTML element "noframes".class
Wrapper for the HTML element "nolayer".class
Wrapper for the HTML element "noscript".class
Wrapper for the HTML element "input" with type is "number".class
Wrapper for the HTML element "object".class
Wrapper for the HTML element "option".class
Wrapper for the HTML element "optgroup".class
Wrapper for the HTML element "ol".class
Wrapper for the HTML element "output".class
Wrapper for the HTML element "p".class
Wrapper for the HTML element "param".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "picture".class
Wrapper for the HTML element "plaintext".class
Wrapper for the HTML element "pre".class
Wrapper for the HTML element "progress".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "input" where type is "range".class
Wrapper for the HTML element "rb".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "rp".class
Wrapper for the HTML element "rt".class
Wrapper for the HTML element "rtc".class
Wrapper for the HTML element "ruby".class
Wrapper for the HTML element "s", a strike-through text style.class
Wrapper for the HTML element "samp".class
Wrapper 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.class
Wrapper for the HTML element "input" where type is "search".class
Wrapper for the HTML element "section".class
Wrapper for the HTML element "select".class
Abstract parent class to shareSelectableTextInput
implementation and typing support.class
Wrapper for the HTML element "slot".class
Wrapper for the HTML element "small".class
Wrapper for the HTML element "source".class
Wrapper for the HTML element "span".class
Wrapper for the HTML element "strike".class
Wrapper for the HTML element "strong".class
Wrapper for the HTML element "style".class
Wrapper for the HTML element "input".class
Wrapper for the HTML element "sub".class
Wrapper for the HTML element "summary".class
Wrapper for the HTML element "sup".class
Wrapper for the SVG elementsvg
.class
Wrapper for the HTML element "table".class
Wrapper for the HTML element "tbody".class
An abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.class
Wrapper for the HTML element "col".class
Wrapper for the HTML element "colgroup".class
Wrapper for the HTML element "td".class
Wrapper for the HTML element "tfoot".class
Wrapper for the HTML element "thead".class
Wrapper for the HTML "th" tag.class
Wrapper for the HTML element "tr".class
Wrapper for the HTML element "tt".class
Wrapper for the HTML element "input" where type is "tel".class
Wrapper for the HTML element "template".class
Wrapper for the HTML element "textarea".class
Wrapper for the HTML element "input" with type="text".class
Wrapper for the HTML element "time".class
Wrapper for the HTML element "input" where type is "time".class
Wrapper for the HTML element "title".class
Wrapper for the HTML element "track".class
Wrapper for the HTML element "u".class
An element that is returned for an HTML tag that is not supported by this framework.class
Wrapper for the HTML element "ul".class
Wrapper for the HTML element "input" where type is "url".class
Wrapper for the HTML element "var".class
Wrapper for the HTML element "video".class
Wrapper for the HTML element "input" where type is "week".class
Wrapper for the HTML element "wbr".class
Superclass 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 anIterable
that will recursively iterate over all of this node'sDomElement
descendants.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) void
HtmlPage.clearComputedStyles
(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
.void
HtmlPage.clearComputedStylesUpToRoot
(DomElement element) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
and all parent elements.org.htmlunit.css.ComputedCssStyleDeclaration
HtmlPage.getStyleFromCache
(DomElement element, String normalizedPseudo) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected boolean
XmlSerializer.isExcluded
(DomElement element) protected void
XmlSerializer.printOpeningTag
(DomElement node) Prints the content between "<" and ">" (or "/>") in the output of the tag name and its attributes in XML format.protected void
XmlSerializer.printXml
(DomElement node) void
HtmlPage.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.void
HtmlPage.setElementWithFocus
(DomElement elementWithFocus) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.boolean
HtmlPage.setFocusedElement
(DomElement newElement) Moves the focus to the specified element.boolean
HtmlPage.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 String
XmlUtils.lookupNamespaceURI
(DomElement element, String prefix) Search for the namespace URI of the given prefix, starting from the specified element.static String
XmlUtils.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)