Uses of Class
org.htmlunit.html.DomNode
Packages that use DomNode
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Classes supporting Cascading Style Sheets.
Classes specific to HTML pages, particularly the
HtmlPage
which represents
an HTML document and provides access to its content.Contains some implementation classes that have to be public to be used internally in different packages
but that shouldn't be used directly by HtmlUnit users.
Contains the html parser interface.
Contains the neko html parser.
Contains the html serializer implementations.
XPath adapter implementation for the HtmlUnit DOM.
Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the CSS JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the XML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Support for platform specific implementations (e.g.
Classes specific to Scalable Vector Graphics.
Miscellaneous utilities.
Classes specific to XML pages.
-
Uses of DomNode in org.htmlunit
Subclasses of DomNode in org.htmlunitModifier and TypeClassDescriptionclass
A basic class of Standard Generalized Markup Language (SGML), e.g. -
Uses of DomNode in org.htmlunit.css
Methods in org.htmlunit.css with parameters of type DomNodeModifier and TypeMethodDescriptionprivate static boolean
CssStyleSheet.isValidCondition
(org.htmlunit.cssparser.parser.condition.Condition condition, int documentMode, DomNode domNode) private static boolean
CssStyleSheet.isValidSelector
(org.htmlunit.cssparser.parser.selector.Selector selector, int documentMode, DomNode domNode) static void
CssStyleSheet.validateSelectors
(org.htmlunit.cssparser.parser.selector.SelectorList selectorList, int documentMode, DomNode domNode) Validates the list of selectors. -
Uses of DomNode in org.htmlunit.html
Classes in org.htmlunit.html with type parameters of type DomNodeModifier and TypeClassDescriptionclass
AbstractDomNodeList<E extends DomNode>
A generic DomNodeList implementation ofNodeList
.protected class
DomNode.DescendantElementsIterator<T extends DomNode>
Iterates over all descendants of a specific type, in document order.interface
DomNodeList<E extends DomNode>
Subclasses of DomNode in org.htmlunit.htmlModifier and TypeClassDescriptionclass
Base class for frame and iframe.class
An attribute of an element.class
Representation of a CDATA node in the HTML DOM.class
Wrapper for the DOM node CharacterData.class
Wrapper for the DOM node Comment.class
A DOM object for DocumentFragment.class
A DOM object for DocumentType.class
class
Intermediate base class for DOM Nodes that have namespaces.class
Wrapper for the DOM node ProcessingInstruction.class
Representation of a text node in the HTML DOM.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 "blink".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 "command".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 "isindex".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 "menuitem".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 "multicol".class
Wrapper for the HTML element "nav".class
Wrapper for the HTML element "nextId".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
A representation of an HTML page returned from a server.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".class
A representation of an XHTML page returned from a server.Fields in org.htmlunit.html declared as DomNodeModifier and TypeFieldDescriptionprivate final DomNode
DomChangeEvent.changedNode_
private DomNode
DomNode.ChildIterator.currentNode_
private DomNode
DomNode.DescendantElementsIterator.currentNode_
private DomNode
HtmlDomTreeWalker.currentNode_
private final DomNode
DoTypeProcessor.domNode_
EitherHtmlElement
orDomText
.private DomNode
DomNode.firstChild_
Start of the child list.private DomNode
SiblingDomNodeList.SiblingListIterator.next_
private DomNode
DomNode.ChildIterator.nextNode_
private DomNode
DomNode.DescendantElementsIterator.nextNode_
private DomNode
DomNode.nextSibling_
The next sibling.private DomNode
AbstractDomNodeList.node_
This node list's root node.private DomNode
DomNode.parent_
The parent node.private final DomNode
SiblingDomNodeList.parent_
private DomNode
SiblingDomNodeList.SiblingListIterator.prev_
private DomNode
DomNode.previousSibling_
The previous sibling.private DomNode
DomNodeIterator.referenceNode_
private final DomNode
DomNodeIterator.root_
private final DomNode
HtmlDomTreeWalker.root_
Fields in org.htmlunit.html with type parameters of type DomNodeMethods in org.htmlunit.html with type parameters of type DomNodeModifier and TypeMethodDescription<N extends DomNode>
NDomNode.querySelector
(String selectors) Returns the first element within the document that matches the specified group of selectors.Methods in org.htmlunit.html that return DomNodeModifier and TypeMethodDescriptionDomNode.appendChild
(Node node) HtmlSelect.appendChild
(Node node) BaseFrameElement.cloneNode
(boolean deep) Creates a newWebWindow
for the new clone.DomElement.cloneNode
(boolean deep) DomNode.cloneNode
(boolean deep) DomText.cloneNode
(boolean deep) HtmlElement.cloneNode
(boolean deep) HtmlInput.cloneNode
(boolean deep) HtmlSelectableTextInput.cloneNode
(boolean deep) HtmlTextArea.cloneNode
(boolean deep) HtmlDomTreeWalker.firstChild()
SiblingDomNodeList.get
(int index) StaticDomNodeList.get
(int index) DomChangeEvent.getChangedNode()
Returns the node that has been added or deleted.private static DomNode
HtmlDomTreeWalker.getCurrentNode()
protected DomNode
AbstractDomNodeList.getDomNode()
Returns the DOM node.private DomNode
HtmlDomTreeWalker.getEquivalentLogical
(DomNode n, boolean lookLeft) Recursively find the logical node occupying the same position as this _actual_ node.protected DomNode
DomElement.getEventTargetElement()
Returns the event target element.DomNode.getFirstChild()
private DomNode
DomNode.DescendantElementsIterator.getFirstChildElement
(DomNode parent) private DomNode
DomNodeIterator.getFirstUncleNode
(DomNode node) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNode
HtmlDomTreeWalker.getFirstUncleNode
(DomNode n) Helper method to get the first uncle node in document order (preorder traversal) from the given node.DomNode.getLastChild()
private DomNode
DomNode.DescendantElementsIterator.getNextDomSibling
(DomNode element) private DomNode
DomNode.DescendantElementsIterator.getNextElementUpwards
(DomNode startingNode) DomNode.getNextSibling()
DomChangeEvent.getParentNode()
Returns the parent of the node that was changed.DomNode.getParentNode()
private DomNode
HtmlDomTreeWalker.getPreviousNode
(DomNode n) Helper method to get the previous node in document order (preorder traversal) from the given node.DomNode.getPreviousSibling()
DomNodeIterator.getRoot()
HtmlDomTreeWalker.getRoot()
private static DomNode
DomNodeIterator.getSibling
(DomNode node, boolean lookLeft) private DomNode
HtmlDomTreeWalker.getSibling
(DomNode n, boolean lookLeft) HtmlDomTreeWalker.lastChild()
DomNode.ChildIterator.next()
SiblingDomNodeList.SiblingListIterator.next()
DomNodeIterator.nextNode()
HtmlDomTreeWalker.nextNode()
HtmlDomTreeWalker.nextSibling()
HtmlDomTreeWalker.parentNode()
SiblingDomNodeList.SiblingListIterator.previous()
DomNodeIterator.previousNode()
HtmlDomTreeWalker.previousNode()
HtmlDomTreeWalker.previousSibling()
private DomNode
DomNodeIterator.traverse
(boolean next) Methods in org.htmlunit.html that return types with arguments of type DomNodeModifier and TypeMethodDescriptionDomNode.getChildNodes()
DomNode.getChildren()
DomNode.getDescendants()
Returns anIterable
that will recursively iterate over all of this node's descendants, includingDomText
elements,DomComment
elements, etc.SiblingDomNodeList.listIterator
(int index) DomNode.querySelectorAll
(String selectors) Retrieves all element nodes from descendants of the starting element node that match any selector within the supplied selector strings.Methods in org.htmlunit.html with parameters of type DomNodeModifier and TypeMethodDescriptionvoid
private void
DomNode.basicAppend
(DomNode node) Appends the specified node to the end of this node's children, assuming the specified node is clean (doesn't have preexisting relationships to other nodes).private void
DomNode.basicInsertBefore
(DomNode node) Inserts the specified node into this node's parent's children right before this node, assuming the specified node is clean (doesn't have preexisting relationships to other nodes).HtmlPage.executeJavaScriptFunction
(Object function, Object thisObject, Object[] args, DomNode htmlElementScope) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Execute a Function in the given context.private ScriptResult
HtmlPage.executeJavaScriptFunction
(org.htmlunit.corejs.javascript.Function function, org.htmlunit.corejs.javascript.Scriptable thisObject, Object[] args, DomNode htmlElementScope) private void
DomNode.fireAddition
(DomNode domNode) private void
DomNode.fireRemoval
(DomNode exParent) private static DomNode
private DomNode
HtmlDomTreeWalker.getEquivalentLogical
(DomNode n, boolean lookLeft) Recursively find the logical node occupying the same position as this _actual_ node.private DomNode
DomNode.DescendantElementsIterator.getFirstChildElement
(DomNode parent) private DomNode
DomNodeIterator.getFirstUncleNode
(DomNode node) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNode
HtmlDomTreeWalker.getFirstUncleNode
(DomNode n) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNode
DomNode.DescendantElementsIterator.getNextDomSibling
(DomNode element) private DomNode
DomNode.DescendantElementsIterator.getNextElementUpwards
(DomNode startingNode) private DomNode
HtmlDomTreeWalker.getPreviousNode
(DomNode n) Helper method to get the previous node in document order (preorder traversal) from the given node.private static DomNode
DomNodeIterator.getSibling
(DomNode node, boolean lookLeft) private DomNode
HtmlDomTreeWalker.getSibling
(DomNode n, boolean lookLeft) void
DomNode.insertBefore
(DomNode newNode) Inserts the specified node as a new child node before this node into the child relationship this node is a part of.void
HtmlOption.insertBefore
(DomNode newNode) Inserts the specified node as a new child node before this node into the child relationship this node is a part of.protected boolean
DomNode.DescendantElementsIterator.isAccepted
(DomNode node) Indicates if the node is accepted.boolean
DomNode.isAncestorOf
(DomNode node) Returnstrue
if this node is an ancestor of the specified node.boolean
DomNode.isAncestorOfAny
(DomNode... nodes) Returnstrue
if this node is an ancestor of the specified nodes.void
HtmlPage.ComputedStylesCache.nodeChanged
(DomNode changed, boolean clearParents) private void
HtmlPage.DomHtmlAttributeChangeListenerImpl.nodeChanged
(DomNode changedNode, String attribName) (package private) void
HtmlPage.notifyNodeAdded
(DomNode node) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.(package private) void
HtmlPage.notifyNodeRemoved
(DomNode node) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected void
void
DomNode.quietlyRemoveAndMoveChildrenTo
(DomNode destination) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Quietly removes this node and moves its children to the specified destination.void
Replaces this node with another node.void
private void
HtmlTableRow.CellIterator.setNextCell
(DomNode node) Sets the internal position to the next cell, starting at the given nodeprivate void
DomElement.ChildElementsIterator.setNextElement
(DomNode node) private void
HtmlTable.RowIterator.setNextRow
(DomNode node) Sets the internal position to the next row, starting at the given node.protected void
DomNode.setParentNode
(DomNode parent) Sets the parent node.Constructors in org.htmlunit.html with parameters of type DomNodeModifierConstructorDescriptionAbstractDomNodeList
(DomNode node) Creates a new node list.protected
ChildElementsIterable
(DomNode domNode) Constructor.protected
ChildElementsIterator
(DomNode domNode) Constructor.ChildIterator
(DomNode nextNode) DomChangeEvent
(DomNode parentNode, DomNode changedNode) Constructs a new DomChangeEvent from the given parent node and a changed node.DomNodeIterator
(DomNode root, int whatToShow, org.w3c.dom.traversal.NodeFilter filter, boolean expandEntityReferences) Creates a new instance.(package private)
DoTypeProcessor
(DomNode domNode) HtmlDomTreeWalker
(DomNode root, int whatToShow, org.w3c.dom.traversal.NodeFilter filter, boolean expandEntityReferences) Creates an instance.(package private)
SiblingDomNodeList
(DomNode parent) Constructor parameters in org.htmlunit.html with type arguments of type DomNode -
Uses of DomNode in org.htmlunit.html.impl
Fields in org.htmlunit.html.impl declared as DomNodeModifier and TypeFieldDescriptionprivate DomNode
SimpleRange.endContainer_
The end (focus) container.private DomNode
SimpleRange.startContainer_
The start (anchor) container.Methods in org.htmlunit.html.impl that return DomNodeModifier and TypeMethodDescriptionSimpleRange.getCommonAncestorContainer()
SimpleRange.getEndContainer()
SimpleRange.getStartContainer()
Methods in org.htmlunit.html.impl that return types with arguments of type DomNodeMethods in org.htmlunit.html.impl with parameters of type DomNodeModifier and TypeMethodDescriptionprivate static void
SimpleRange.deleteAfter
(DomNode node, int offset) private static void
SimpleRange.deleteBefore
(DomNode node, int offset) private void
SimpleRange.deleteContents
(DomNode ancestor) private static int
SimpleRange.getMaxOffset
(DomNode node) private static String
void
SimpleRange.insertNode
(DomNode newNode) Inserts a node into the Document or DocumentFragment at the start of the Range.private static void
SimpleRange.insertNodeOrDocFragment
(DomNode parent, DomNode newNode, DomNode refNode) private static boolean
SimpleRange.isOffsetChars
(DomNode node) void
SimpleRange.selectNode
(DomNode node) Select a node and its contents.void
SimpleRange.selectNodeContents
(DomNode node) Select the contents within a node.void
Sets the attributes describing the end.void
Sets the attributes describing the start.private static void
void
SimpleRange.surroundContents
(DomNode newParent) Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range.Constructors in org.htmlunit.html.impl with parameters of type DomNodeModifierConstructorDescriptionSimpleRange
(DomNode node) Constructs a range for the specified element.SimpleRange
(DomNode node, int offset) Constructs a range for the provided element and start and end offset.SimpleRange
(DomNode startNode, int startOffset, DomNode endNode, int endOffset) Constructs a range for the provided elements and offsets. -
Uses of DomNode in org.htmlunit.html.parser
Methods in org.htmlunit.html.parser with parameters of type DomNodeModifier and TypeMethodDescriptionvoid
HTMLParser.parseFragment
(DomNode parent, String source) Parses the HTML content from the given string into an object tree representation.void
HTMLParser.parseFragment
(DomNode parent, DomNode context, String source, boolean createdByJavascript) Parses the HTML content from the given string into an object tree representation. -
Uses of DomNode in org.htmlunit.html.parser.neko
Fields in org.htmlunit.html.parser.neko declared as DomNodeFields in org.htmlunit.html.parser.neko with type parameters of type DomNodeMethods in org.htmlunit.html.parser.neko that return DomNodeModifier and TypeMethodDescriptionprivate DomNode
HtmlUnitNekoDOMBuilder.findElementOnStack
(String... searchedElementNames) Methods in org.htmlunit.html.parser.neko with parameters of type DomNodeModifier and TypeMethodDescriptionprivate void
HtmlUnitNekoDOMBuilder.addNodeToRightParent
(DomNode currentNode, DomElement newElement) Adds the new node to the right parent that is not necessary the currentNode in case of malformed HTML code.private static void
HtmlUnitNekoDOMBuilder.appendChild
(DomNode parent, DomNode child) void
HtmlUnitNekoHtmlParser.parseFragment
(DomNode parent, String source) Parses the HTML content from the given string into an object tree representation.void
HtmlUnitNekoHtmlParser.parseFragment
(DomNode parent, DomNode context, String source, boolean createdByJavascript) Parses the HTML content from the given string into an object tree representation.Constructors in org.htmlunit.html.parser.neko with parameters of type DomNodeModifierConstructorDescription(package private)
HtmlUnitNekoDOMBuilder
(HTMLParser htmlParser, DomNode node, URL url, String htmlContent, boolean createdByJavascript) Creates a new builder for parsing the specified response contents. -
Uses of DomNode in org.htmlunit.html.serializer
Methods in org.htmlunit.html.serializer with parameters of type DomNodeModifier and TypeMethodDescriptionprotected void
HtmlSerializerInnerOuterText.appendChildren
(HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode mode, boolean insideHead) Iterate over all Children and call appendNode() for every.protected void
HtmlSerializerNormalizedText.appendChildren
(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode node) Iterate over all Children and call appendNode() for every.protected void
HtmlSerializerVisibleText.appendChildren
(HtmlSerializerVisibleText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerVisibleText.Mode mode) Iterate over all Children and call appendNode() for every.protected void
HtmlSerializerNormalizedText.appendDomNode
(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode domNode) ProcessHtmlHiddenInput
.protected void
HtmlSerializerVisibleText.appendDomNode
(HtmlSerializerVisibleText.HtmlSerializerTextBuilder builder, DomNode domNode, HtmlSerializerVisibleText.Mode mode) ProcessDomNode
.protected void
HtmlSerializerInnerOuterText.appendNode
(HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode mode, boolean insideHead) The core distribution method call the different appendXXX methods depending on the type of the given node.protected void
HtmlSerializerNormalizedText.appendNode
(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode node) The core distribution method call the different appendXXX methods depending on the type of the given node.protected void
HtmlSerializerVisibleText.appendNode
(HtmlSerializerVisibleText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerVisibleText.Mode mode) The core distribution method call the different appendXXX methods depending on the type of the given node.Converts an HTML node to text.Converts an HTML node to text.Converts an HTML node to text.protected boolean
HtmlSerializerVisibleText.isDisplayed
(DomNode domNode) Check domNode visibility.private boolean
protected HtmlSerializerVisibleText.Mode
HtmlSerializerVisibleText.updateWhiteSpaceStyle
(DomNode domNode, HtmlSerializerVisibleText.Mode defaultMode) private static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode
HtmlSerializerInnerOuterText.whiteSpaceStyle
(DomNode domNode, HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode defaultMode) protected HtmlSerializerVisibleText.Mode
HtmlSerializerVisibleText.whiteSpaceStyle
(DomNode domNode, HtmlSerializerVisibleText.Mode defaultMode) -
Uses of DomNode in org.htmlunit.html.xpath
Methods in org.htmlunit.html.xpath with parameters of type DomNodeModifier and TypeMethodDescriptionprivate static org.htmlunit.xpath.objects.XObject
XPathHelper.evaluateXPath
(DomNode contextNode, String str, org.htmlunit.xpath.xml.utils.PrefixResolver prefixResolver) Evaluates an XPath expression to an XObject.static <T> List
<T> XPathHelper.getByXPath
(DomNode node, String xpathExpr, org.htmlunit.xpath.xml.utils.PrefixResolver resolver) Evaluates an XPath expression from the specified node, returning the resultant nodes. -
Uses of DomNode in org.htmlunit.javascript
Fields in org.htmlunit.javascript declared as DomNodeMethods in org.htmlunit.javascript that return DomNodeModifier and TypeMethodDescriptionHtmlUnitScriptable.getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw an exception if one cannot be found.HtmlUnitScriptable.getDomNodeOrNull()
Returns the DOM node that corresponds to this JavaScript object or null if a node hasn't been set.Methods in org.htmlunit.javascript with parameters of type DomNodeModifier and TypeMethodDescriptionJavaScriptEngine.callFunction
(HtmlPage page, org.htmlunit.corejs.javascript.Function javaScriptFunction, org.htmlunit.corejs.javascript.Scriptable thisObject, Object[] args, DomNode node) Calls a JavaScript function and return the result.private static org.htmlunit.corejs.javascript.Scriptable
protected void
HtmlUnitScriptable.initParentScope
(DomNode domNode, HtmlUnitScriptable scriptable) Initialize the parent scope of a newly created scriptable.HtmlUnitScriptable.makeScriptableFor
(DomNode domNode) Builds a new the JavaScript object that corresponds to the specified object.void
HtmlUnitScriptable.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.void
HtmlUnitScriptable.setDomNode
(DomNode domNode, boolean assignScriptObject) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the DOM node that corresponds to this JavaScript object. -
Uses of DomNode in org.htmlunit.javascript.host
Methods in org.htmlunit.javascript.host with parameters of type DomNodeModifier and TypeMethodDescriptionprotected String
Element.getInnerHTML
(DomNode domNode) Helper for getInnerHtml (to be reuses bei HTMLTemplate.private static void
Element.parseHtmlSnippet
(DomNode target, String source) Parses the specified HTML source code, appending the resulting content at the specified target location.protected final void
Element.printChildren
(StringBuilder builder, DomNode node, boolean html) Helper for getting code back from nodes.protected void
Element.printNode
(StringBuilder builder, DomNode node, boolean html) void
Element.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object. -
Uses of DomNode in org.htmlunit.javascript.host.css
Methods in org.htmlunit.javascript.host.css with parameters of type DomNodeModifier and TypeMethodDescriptionstatic void
CSSStyleSheet.validateSelectors
(org.htmlunit.cssparser.parser.selector.SelectorList selectorList, int documentMode, DomNode domNode) Deprecated. -
Uses of DomNode in org.htmlunit.javascript.host.dom
Fields in org.htmlunit.javascript.host.dom with type parameters of type DomNodeModifier and TypeFieldDescriptionAbstractList.cachedElements_
Cache collection elements when possible, so as to avoid expensive XPath expression evaluations.AbstractList.elementsSupplier_
AbstractList.isMatchingPredicate_
Methods in org.htmlunit.javascript.host.dom that return types with arguments of type DomNodeModifier and TypeMethodDescriptionAbstractList.getElements()
Gets the HTML elements from cache or retrieve them at first call.AbstractList.getElementSupplier()
AbstractList.getIsMatchingPredicate()
Methods in org.htmlunit.javascript.host.dom with parameters of type DomNodeModifier and TypeMethodDescriptionprotected AbstractList
Constructs a new instance with an initial cache value.protected AbstractList
Constructs a new instance with an initial cache value.protected Node
Node.getJavaScriptNode
(DomNode domNode) Gets the JavaScript node for a given DomNode.private static Node
NodeIterator.getNodeOrNull
(DomNode domNode) private static Node
TreeWalker.getNodeOrNull
(DomNode domNode) private static void
Node.initInlineFrameIfNeeded
(DomNode childDomNode) If we have added a new iframe that had no source attribute, we have to take care the 'onload' handler is triggered.void
AbstractList.setDomNode
(DomNode domNode, boolean assignScriptObject) Method parameters in org.htmlunit.javascript.host.dom with type arguments of type DomNodeModifier and TypeMethodDescriptionprotected AbstractList
Constructs a new instance with an initial cache value.protected AbstractList
Constructs a new instance with an initial cache value.protected Object
AbstractList.getWithPreemptionByName
(String name, List<DomNode> elements) Helper forAbstractList.getWithPreemption(String)
when finding by id doesn't get results.void
AbstractList.setElementsSupplier
(Supplier<List<DomNode>> elementsSupplier) Returns the elements whose associated host objects are available through this collection.void
AbstractList.setIsMatchingPredicate
(Predicate<DomNode> isMatchingPredicate) Indicates if the node should belong to the collection.static NodeList
NodeList.staticNodeList
(HtmlUnitScriptable parentScope, List<DomNode> elements) Gets a static NodeList.Constructors in org.htmlunit.javascript.host.dom with parameters of type DomNodeModifierConstructorDescriptionprotected
AbstractList
(DomNode domNode, boolean attributeChangeSensitive, List<DomNode> initialElements) Creates an instance.Creates an instance.Constructs an instance with an initial cache value.Constructor parameters in org.htmlunit.javascript.host.dom with type arguments of type DomNode -
Uses of DomNode in org.htmlunit.javascript.host.event
Fields in org.htmlunit.javascript.host.event declared as DomNodeMethods in org.htmlunit.javascript.host.event with parameters of type DomNodeModifier and TypeMethodDescriptionstatic Event
Event.createPropertyChangeEvent
(DomNode domNode, String propertyName) Creates a new Event withEvent.TYPE_PROPERTY_CHANGE
type.Constructors in org.htmlunit.javascript.host.event with parameters of type DomNodeModifierConstructorDescriptionBeforeUnloadEvent
(DomNode domNode, String type) Creates a new event instance.Creates a new event instance.EventHandler
(DomNode node, String eventName, String jsSnippet) Builds a function that will execute the JavaScript code provided.KeyboardEvent
(DomNode domNode, String type, char character, boolean shiftKey, boolean ctrlKey, boolean altKey) Creates a new keyboard event instance.KeyboardEvent
(DomNode domNode, String type, int keyCode, boolean shiftKey, boolean ctrlKey, boolean altKey) Creates a new keyboard event instance.MouseEvent
(DomNode domNode, String type, boolean shiftKey, boolean ctrlKey, boolean altKey, int button, int detail) Creates a new event instance.PointerEvent
(DomNode domNode, String type, boolean shiftKey, boolean ctrlKey, boolean altKey, int button, int detail) Creates a new event instance.SubmitEvent
(DomNode domNode, HTMLElement submitElement) Ctor.Creates a new UI event instance. -
Uses of DomNode in org.htmlunit.javascript.host.html
Subclasses of DomNode in org.htmlunit.javascript.host.htmlFields in org.htmlunit.javascript.host.html declared as DomNodeMethods in org.htmlunit.javascript.host.html that return DomNodeModifier and TypeMethodDescriptionHTMLElement.ProxyDomNode.appendChild
(Node node) HTMLElement.ProxyDomNode.getDomNode()
Gets wrapped DomNode.HTMLDocument.getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw an exception if one cannot be found.Methods in org.htmlunit.javascript.host.html that return types with arguments of type DomNodeModifier and TypeMethodDescriptionLabelsNodeList.getElements()
This is overridden instead ofinvalid reference
#computeElements()
HTMLDocument.getItComputeElements
(HtmlPage page, String name, boolean alsoFrames) Methods in org.htmlunit.javascript.host.html with parameters of type DomNodeModifier and TypeMethodDescriptionprotected HTMLCollection
Constructs a new instance with an initial cache value.static HTMLCollection
HTMLCollection.emptyCollection
(DomNode domNode) Gets an empty collection.void
HTMLElement.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.void
HTMLImageElement.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.void
HTMLSpanElement.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.void
ValidityState.setDomNode
(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.Method parameters in org.htmlunit.javascript.host.html with type arguments of type DomNodeModifier and TypeMethodDescriptionprotected HTMLCollection
Constructs a new instance with an initial cache value.protected Object
HTMLCollection.getWithPreemptionByName
(String name, List<DomNode> elements) Helper forAbstractList.getWithPreemption(String)
when finding by id doesn't get results.Constructors in org.htmlunit.javascript.host.html with parameters of type DomNodeModifierConstructorDescriptionHTMLAllCollection
(DomNode parentScope) Creates an instance.HTMLCollection
(DomNode domNode, boolean attributeChangeSensitive) Creates an instance.private
HTMLCollection
(DomNode domNode, boolean attributeChangeSensitive, List<DomNode> initialElements) (package private)
HTMLCollection
(DomNode domNode, List<DomNode> initialElements) Constructs an instance with an initial cache value.ProxyDomNode
(SgmlPage page, DomNode target, boolean append) Constructor.Constructor parameters in org.htmlunit.javascript.host.html with type arguments of type DomNodeModifierConstructorDescriptionprivate
HTMLCollection
(DomNode domNode, boolean attributeChangeSensitive, List<DomNode> initialElements) (package private)
HTMLCollection
(DomNode domNode, List<DomNode> initialElements) Constructs an instance with an initial cache value. -
Uses of DomNode in org.htmlunit.javascript.host.xml
Methods in org.htmlunit.javascript.host.xml that return DomNodeModifier and TypeMethodDescriptionprivate static DomNode
XSLTProcessor.findOutputNode
(DomNode xsltDomNode) Methods in org.htmlunit.javascript.host.xml with parameters of type DomNodeModifier and TypeMethodDescriptionprivate static DomNode
XSLTProcessor.findOutputNode
(DomNode xsltDomNode) protected void
XMLDocument.initParentScope
(DomNode domNode, HtmlUnitScriptable scriptable) Initialize the parent scope of a newly created scriptable.XMLDocument.makeScriptableFor
(DomNode domNode) Builds a new the JavaScript object that corresponds to the specified object.private void
XMLSerializer.toXml
(int indent, DomNode node, StringBuilder builder, String foredNamespace) -
Uses of DomNode in org.htmlunit.platform.dom.traversal
Methods in org.htmlunit.platform.dom.traversal that return DomNodeModifier and TypeMethodDescriptionDomTreeWalker.firstChild()
DomTreeWalker.getCurrentNode()
DomTreeWalker.getRoot()
DomTreeWalker.lastChild()
DomTreeWalker.nextNode()
DomTreeWalker.nextSibling()
DomTreeWalker.parentNode()
DomTreeWalker.previousNode()
DomTreeWalker.previousSibling()
Constructors in org.htmlunit.platform.dom.traversal with parameters of type DomNodeModifierConstructorDescriptionDomTreeWalker
(DomNode root, int whatToShow, org.w3c.dom.traversal.NodeFilter filter, boolean expandEntityReferences) Creates an instance. -
Uses of DomNode in org.htmlunit.svg
Subclasses of DomNode in org.htmlunit.svgModifier and TypeClassDescriptionclass
Wrapper for the SVG elementaltGlyph
.class
Wrapper for the SVG elementaltGlyphDef
.class
Wrapper for the SVG elementaltGlyphItem
.class
Wrapper for the SVG elementa
.class
Wrapper for the SVG elementanimate
.class
Wrapper for the SVG elementanimateColor
.class
Wrapper for the SVG elementanimateMotion
.class
Wrapper for the SVG elementanimateTransform
.class
Wrapper for the SVG elementcircle
.class
Wrapper for the SVG elementclipPath
.class
Wrapper for the SVG element "color-profile".class
Wrapper for the SVG elementcursor
.class
Wrapper for the SVG elementdefs
.class
Wrapper for the SVG elementdesc
.class
Parent elements of all SVG elements, and wrapper for any unknown one.class
Wrapper for the SVG elementellipse
.class
Wrapper for the SVG elementfeBlend
.class
Wrapper for the SVG elementfeColorMatrix
.class
Wrapper for the SVG elementfeComponentTransfer
.class
Wrapper for the SVG elementfeComposite
.class
Wrapper for the SVG elementfeConvolveMatrix
.class
Wrapper for the SVG elementfeDiffuseLighting
.class
Wrapper for the SVG elementfeDisplacementMap
.class
Wrapper for the SVG elementfeDistantLight
.class
Wrapper for the SVG elementfeFlood
.class
Wrapper for the SVG elementfeFuncA
.class
Wrapper for the SVG elementfeFuncB
.class
Wrapper for the SVG elementfeFuncG
.class
Wrapper for the SVG elementfeFuncR
.class
Wrapper for the SVG elementfeGaussianBlur
.class
Wrapper for the SVG elementfeImage
.class
Wrapper for the SVG elementfeMerge
.class
Wrapper for the SVG elementfeMergeNode
.class
Wrapper for the SVG elementfeMorphology
.class
Wrapper for the SVG elementfeOffset
.class
Wrapper for the SVG elementfePointLight
.class
Wrapper for the SVG elementfeSpecularLighting
.class
Wrapper for the SVG elementfeSpotLight
.class
Wrapper for the SVG elementfeTile
.class
Wrapper for the SVG elementfeTurbulence
.class
Wrapper for the SVG elementfilter
.class
Wrapper for the SVG elementfont
.class
Wrapper for the SVG element "font-face".class
Wrapper for the SVG element "font-face-format".class
Wrapper for the SVG element "font-face-name".class
Wrapper for the SVG element "font-face-src".class
Wrapper for the SVG element "font-face-uri".class
Wrapper for the SVG elementforeignObject
.class
Wrapper for the SVG elementglyph
.class
Wrapper for the SVG elementglyphRef
.class
Wrapper for the SVG elementg
.class
Wrapper for the SVG elementhkern
.class
Wrapper for the SVG elementimage
.class
Wrapper for the SVG elementline
.class
Wrapper for the SVG elementlinearGradient
.class
Wrapper for the SVG elementmarker
.class
Wrapper for the SVG elementmask
.class
Wrapper for the SVG elementmetadata
.class
Wrapper for the SVG element "missing-glyph".class
Wrapper for the SVG elementmpath
.class
Wrapper for the SVG elementpath
.class
Wrapper for the SVG elementpattern
.class
Wrapper for the SVG elementpolygon
.class
Wrapper for the SVG elementpolyline
.class
Wrapper for the SVG elementradialGradient
.class
Wrapper for the SVG elementrect
.class
Wrapper for the SVG elementscript
.class
Wrapper for the SVG elementset
.class
Wrapper for the SVG elementstop
.class
Wrapper for the SVG elementstyle
.class
Wrapper for the SVG elementswitch
.class
Wrapper for the SVG elementsymbol
.class
Wrapper for the SVG elementtext
.class
Wrapper for the SVG elementtextPath
.class
Wrapper for the SVG elementtitle
.class
Wrapper for the SVG elementtref
.class
Wrapper for the SVG elementtspan
.class
Wrapper for the SVG elementuse
.class
Wrapper for the SVG elementview
.class
Wrapper for the SVG elementvkern
. -
Uses of DomNode in org.htmlunit.util
Methods in org.htmlunit.util that return DomNodeModifier and TypeMethodDescriptionprivate static DomNode
XmlUtils.createFrom
(SgmlPage page, Node source, boolean handleXHTMLAsHTML, Map<Integer, List<String>> attributesOrderMap) Methods in org.htmlunit.util with parameters of type DomNodeModifier and TypeMethodDescriptionstatic void
XmlUtils.appendChild
(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML) static void
XmlUtils.appendChild
(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML, Map<Integer, List<String>> attributesOrderMap) private static void
XmlUtils.copy
(SgmlPage page, Node source, DomNode dest, boolean handleXHTMLAsHTML, Map<Integer, List<String>> attributesOrderMap) Copy all children from 'source' to 'dest', within the context of the specified page. -
Uses of DomNode in org.htmlunit.xml
Subclasses of DomNode in org.htmlunit.xmlModifier and TypeClassDescriptionclass
A page that will be returned for response with content type "text/xml".
CssStyleSheet.validateSelectors(org.htmlunit.cssparser.parser.selector.SelectorList, int, DomNode)
instead