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 TypeClassDescriptionclassA 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 booleanCssStyleSheet.isValidCondition(org.htmlunit.cssparser.parser.condition.Condition condition, int documentMode, DomNode domNode) private static booleanCssStyleSheet.isValidSelector(org.htmlunit.cssparser.parser.selector.Selector selector, int documentMode, DomNode domNode) static voidCssStyleSheet.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 TypeClassDescriptionclassAbstractDomNodeList<E extends DomNode>A generic DomNodeList implementation ofNodeList.protected classDomNode.DescendantElementsIterator<T extends DomNode>Iterates over all descendants of a specific type, in document order.interfaceDomNodeList<E extends DomNode>Subclasses of DomNode in org.htmlunit.htmlModifier and TypeClassDescriptionclassBase class for frame and iframe.classAn attribute of an element.classRepresentation of a CDATA node in the HTML DOM.classWrapper for the DOM node CharacterData.classWrapper for the DOM node Comment.classA DOM object for DocumentFragment.classA DOM object for DocumentType.classclassIntermediate base class for DOM Nodes that have namespaces.classWrapper for the DOM node ProcessingInstruction.classRepresentation of a text node in the HTML DOM.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 "blink".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 "command".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 "isindex".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 "menuitem".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 "multicol".classWrapper for the HTML element "nav".classWrapper for the HTML element "nextId".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".classA representation of an HTML page returned from a server.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".classA representation of an XHTML page returned from a server.Subclasses with type arguments of type DomNode in org.htmlunit.htmlModifier and TypeClassDescription(package private) classAn implementation of DomNodeList that is much less expensive for iteration.(package private) classAn implementation of DomNodeList that is static.Classes in org.htmlunit.html that implement interfaces with type arguments of type DomNodeModifier and TypeClassDescriptionprotected static classAn iterator over all children of this node.(package private) classAn implementation of DomNodeList that is much less expensive for iteration.private class(package private) classAn implementation of DomNodeList that is static.Fields in org.htmlunit.html declared as DomNodeModifier and TypeFieldDescriptionprivate final DomNodeDomChangeEvent.changedNode_private DomNodeDomNode.ChildIterator.currentNode_private DomNodeDomNode.DescendantElementsIterator.currentNode_private DomNodeHtmlDomTreeWalker.currentNode_private final DomNodeDoTypeProcessor.domNode_EitherHtmlElementorDomText.private DomNodeDomNode.firstChild_Start of the child list.private DomNodeSiblingDomNodeList.SiblingListIterator.next_private DomNodeDomNode.ChildIterator.nextNode_private DomNodeDomNode.DescendantElementsIterator.nextNode_private DomNodeDomNode.nextSibling_The next sibling.private DomNodeAbstractDomNodeList.node_This node list's root node.private DomNodeDomNode.parent_The parent node.private final DomNodeSiblingDomNodeList.parent_private DomNodeSiblingDomNodeList.SiblingListIterator.prev_private DomNodeDomNode.previousSibling_The previous sibling.private DomNodeDomNodeIterator.referenceNode_private final DomNodeDomNodeIterator.root_private final DomNodeHtmlDomTreeWalker.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 newWebWindowfor 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 DomNodeHtmlDomTreeWalker.getCurrentNode()protected DomNodeAbstractDomNodeList.getDomNode()Returns the DOM node.private DomNodeHtmlDomTreeWalker.getEquivalentLogical(DomNode n, boolean lookLeft) Recursively find the logical node occupying the same position as this _actual_ node.protected DomNodeDomElement.getEventTargetElement()Returns the event target element.DomNode.getFirstChild()private DomNodeDomNode.DescendantElementsIterator.getFirstChildElement(DomNode parent) private DomNodeDomNodeIterator.getFirstUncleNode(DomNode node) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNodeHtmlDomTreeWalker.getFirstUncleNode(DomNode n) Helper method to get the first uncle node in document order (preorder traversal) from the given node.DomNode.getLastChild()private DomNodeDomNode.DescendantElementsIterator.getNextDomSibling(DomNode element) private DomNodeDomNode.DescendantElementsIterator.getNextElementUpwards(DomNode startingNode) DomNode.getNextSibling()DomChangeEvent.getParentNode()Returns the parent of the node that was changed.DomNode.getParentNode()private DomNodeHtmlDomTreeWalker.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 DomNodeDomNodeIterator.getSibling(DomNode node, boolean lookLeft) private DomNodeHtmlDomTreeWalker.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 DomNodeDomNodeIterator.traverse(boolean next) Methods in org.htmlunit.html that return types with arguments of type DomNodeModifier and TypeMethodDescriptionDomNode.getChildNodes()DomNode.getChildren()DomNode.getDescendants()Returns anIterablethat will recursively iterate over all of this node's descendants, includingDomTextelements,DomCommentelements, 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 TypeMethodDescriptionvoidprivate voidDomNode.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 voidDomNode.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 ScriptResultHtmlPage.executeJavaScriptFunction(org.htmlunit.corejs.javascript.Function function, org.htmlunit.corejs.javascript.Scriptable thisObject, Object[] args, DomNode htmlElementScope) private voidDomNode.fireAddition(DomNode domNode) private voidDomNode.fireRemoval(DomNode exParent) private static DomNodeprivate DomNodeHtmlDomTreeWalker.getEquivalentLogical(DomNode n, boolean lookLeft) Recursively find the logical node occupying the same position as this _actual_ node.private DomNodeDomNode.DescendantElementsIterator.getFirstChildElement(DomNode parent) private DomNodeDomNodeIterator.getFirstUncleNode(DomNode node) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNodeHtmlDomTreeWalker.getFirstUncleNode(DomNode n) Helper method to get the first uncle node in document order (preorder traversal) from the given node.private DomNodeDomNode.DescendantElementsIterator.getNextDomSibling(DomNode element) private DomNodeDomNode.DescendantElementsIterator.getNextElementUpwards(DomNode startingNode) private DomNodeHtmlDomTreeWalker.getPreviousNode(DomNode n) Helper method to get the previous node in document order (preorder traversal) from the given node.private static DomNodeDomNodeIterator.getSibling(DomNode node, boolean lookLeft) private DomNodeHtmlDomTreeWalker.getSibling(DomNode n, boolean lookLeft) voidDomNode.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.voidHtmlOption.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 booleanDomNode.DescendantElementsIterator.isAccepted(DomNode node) Indicates if the node is accepted.booleanDomNode.isAncestorOf(DomNode node) Returnstrueif this node is an ancestor of the specified node.booleanDomNode.isAncestorOfAny(DomNode... nodes) Returnstrueif this node is an ancestor of the specified nodes.voidHtmlPage.ComputedStylesCache.nodeChanged(DomNode changed, boolean clearParents) private voidHtmlPage.DomHtmlAttributeChangeListenerImpl.nodeChanged(DomNode changedNode, String attribName) (package private) voidHtmlPage.notifyNodeAdded(DomNode node) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.(package private) voidHtmlPage.notifyNodeRemoved(DomNode node) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected voidvoidDomNode.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.voidReplaces this node with another node.voidprivate voidHtmlTableRow.CellIterator.setNextCell(DomNode node) Sets the internal position to the next cell, starting at the given nodeprivate voidDomElement.ChildElementsIterator.setNextElement(DomNode node) private voidHtmlTable.RowIterator.setNextRow(DomNode node) Sets the internal position to the next row, starting at the given node.protected voidDomNode.setParentNode(DomNode parent) Sets the parent node.Constructors in org.htmlunit.html with parameters of type DomNodeModifierConstructorDescriptionAbstractDomNodeList(DomNode node) Creates a new node list.protectedChildElementsIterable(DomNode domNode) Constructor.protectedChildElementsIterator(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 DomNodeSimpleRange.endContainer_The end (focus) container.private DomNodeSimpleRange.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 voidSimpleRange.deleteAfter(DomNode node, int offset) private static voidSimpleRange.deleteBefore(DomNode node, int offset) private voidSimpleRange.deleteContents(DomNode ancestor) private static intSimpleRange.getMaxOffset(DomNode node) private static StringvoidSimpleRange.insertNode(DomNode newNode) Inserts a node into the Document or DocumentFragment at the start of the Range.private static voidSimpleRange.insertNodeOrDocFragment(DomNode parent, DomNode newNode, DomNode refNode) private static booleanSimpleRange.isOffsetChars(DomNode node) voidSimpleRange.selectNode(DomNode node) Select a node and its contents.voidSimpleRange.selectNodeContents(DomNode node) Select the contents within a node.voidSets the attributes describing the end.voidSets the attributes describing the start.private static voidvoidSimpleRange.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 TypeMethodDescriptionvoidHTMLParser.parseFragment(DomNode parent, String source) Parses the HTML content from the given string into an object tree representation.voidHTMLParser.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 DomNodeHtmlUnitNekoDOMBuilder.findElementOnStack(String... searchedElementNames) Methods in org.htmlunit.html.parser.neko with parameters of type DomNodeModifier and TypeMethodDescriptionprivate voidHtmlUnitNekoDOMBuilder.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 voidHtmlUnitNekoDOMBuilder.appendChild(DomNode parent, DomNode child) voidHtmlUnitNekoHtmlParser.parseFragment(DomNode parent, String source) Parses the HTML content from the given string into an object tree representation.voidHtmlUnitNekoHtmlParser.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 voidHtmlSerializerInnerOuterText.appendChildren(HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode mode, boolean insideHead) Iterate over all Children and call appendNode() for every.protected voidHtmlSerializerNormalizedText.appendChildren(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode node) Iterate over all Children and call appendNode() for every.protected voidHtmlSerializerVisibleText.appendChildren(HtmlSerializerVisibleText.HtmlSerializerTextBuilder builder, DomNode node, HtmlSerializerVisibleText.Mode mode) Iterate over all Children and call appendNode() for every.protected voidHtmlSerializerNormalizedText.appendDomNode(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode domNode) ProcessHtmlHiddenInput.protected voidHtmlSerializerVisibleText.appendDomNode(HtmlSerializerVisibleText.HtmlSerializerTextBuilder builder, DomNode domNode, HtmlSerializerVisibleText.Mode mode) ProcessDomNode.protected voidHtmlSerializerInnerOuterText.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 voidHtmlSerializerNormalizedText.appendNode(HtmlSerializerNormalizedText.HtmlSerializerTextBuilder builder, DomNode node) The core distribution method call the different appendXXX methods depending on the type of the given node.protected voidHtmlSerializerVisibleText.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 booleanHtmlSerializerVisibleText.isDisplayed(DomNode domNode) Check domNode visibility.private booleanprotected HtmlSerializerVisibleText.ModeHtmlSerializerVisibleText.updateWhiteSpaceStyle(DomNode domNode, HtmlSerializerVisibleText.Mode defaultMode) private static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.ModeHtmlSerializerInnerOuterText.whiteSpaceStyle(DomNode domNode, HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.Mode defaultMode) protected HtmlSerializerVisibleText.ModeHtmlSerializerVisibleText.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.XObjectXPathHelper.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.Scriptableprotected voidHtmlUnitScriptable.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.voidHtmlUnitScriptable.setDomNode(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.voidHtmlUnitScriptable.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 StringElement.getInnerHTML(DomNode domNode) Helper for getInnerHtml (to be reuses bei HTMLTemplate.private static voidElement.parseHtmlSnippet(DomNode target, String source) Parses the specified HTML source code, appending the resulting content at the specified target location.protected final voidElement.printChildren(StringBuilder builder, DomNode node, boolean html) Helper for getting code back from nodes.protected voidElement.printNode(StringBuilder builder, DomNode node, boolean html) voidElement.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 voidCSSStyleSheet.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 AbstractListConstructs a new instance with an initial cache value.protected AbstractListConstructs a new instance with an initial cache value.protected NodeNode.getJavaScriptNode(DomNode domNode) Gets the JavaScript node for a given DomNode.private static NodeNodeIterator.getNodeOrNull(DomNode domNode) private static NodeTreeWalker.getNodeOrNull(DomNode domNode) private static voidNode.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.voidAbstractList.setDomNode(DomNode domNode, boolean assignScriptObject) Method parameters in org.htmlunit.javascript.host.dom with type arguments of type DomNodeModifier and TypeMethodDescriptionprotected AbstractListConstructs a new instance with an initial cache value.protected AbstractListConstructs a new instance with an initial cache value.protected ObjectAbstractList.getWithPreemptionByName(String name, List<DomNode> elements) Helper forAbstractList.getWithPreemption(String)when finding by id doesn't get results.voidAbstractList.setElementsSupplier(Supplier<List<DomNode>> elementsSupplier) Returns the elements whose associated host objects are available through this collection.voidAbstractList.setIsMatchingPredicate(Predicate<DomNode> isMatchingPredicate) Indicates if the node should belong to the collection.static NodeListNodeList.staticNodeList(HtmlUnitScriptable parentScope, List<DomNode> elements) Gets a static NodeList.Constructors in org.htmlunit.javascript.host.dom with parameters of type DomNodeModifierConstructorDescriptionprotectedAbstractList(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 EventEvent.createPropertyChangeEvent(DomNode domNode, String propertyName) Creates a new Event withEvent.TYPE_PROPERTY_CHANGEtype.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 ofin order to prevent caching at all.invalid reference
#computeElements()HTMLDocument.getItComputeElements(HtmlPage page, String name, boolean alsoFrames) Methods in org.htmlunit.javascript.host.html with parameters of type DomNodeModifier and TypeMethodDescriptionprotected HTMLCollectionConstructs a new instance with an initial cache value.static HTMLCollectionHTMLCollection.emptyCollection(DomNode domNode) Gets an empty collection.voidHTMLElement.setDomNode(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.voidHTMLImageElement.setDomNode(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.voidHTMLSpanElement.setDomNode(DomNode domNode) Sets the DOM node that corresponds to this JavaScript object.voidValidityState.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 HTMLCollectionConstructs a new instance with an initial cache value.protected ObjectHTMLCollection.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.privateHTMLCollection(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 DomNodeModifierConstructorDescriptionprivateHTMLCollection(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 DomNodeXSLTProcessor.findOutputNode(DomNode xsltDomNode) Methods in org.htmlunit.javascript.host.xml with parameters of type DomNodeModifier and TypeMethodDescriptionprivate static DomNodeXSLTProcessor.findOutputNode(DomNode xsltDomNode) protected voidXMLDocument.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 voidXMLSerializer.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 TypeClassDescriptionclassWrapper for the SVG elementaltGlyph.classWrapper for the SVG elementaltGlyphDef.classWrapper for the SVG elementaltGlyphItem.classWrapper for the SVG elementa.classWrapper for the SVG elementanimate.classWrapper for the SVG elementanimateColor.classWrapper for the SVG elementanimateMotion.classWrapper for the SVG elementanimateTransform.classWrapper for the SVG elementcircle.classWrapper for the SVG elementclipPath.classWrapper for the SVG element "color-profile".classWrapper for the SVG elementcursor.classWrapper for the SVG elementdefs.classWrapper for the SVG elementdesc.classParent elements of all SVG elements, and wrapper for any unknown one.classWrapper for the SVG elementellipse.classWrapper for the SVG elementfeBlend.classWrapper for the SVG elementfeColorMatrix.classWrapper for the SVG elementfeComponentTransfer.classWrapper for the SVG elementfeComposite.classWrapper for the SVG elementfeConvolveMatrix.classWrapper for the SVG elementfeDiffuseLighting.classWrapper for the SVG elementfeDisplacementMap.classWrapper for the SVG elementfeDistantLight.classWrapper for the SVG elementfeFlood.classWrapper for the SVG elementfeFuncA.classWrapper for the SVG elementfeFuncB.classWrapper for the SVG elementfeFuncG.classWrapper for the SVG elementfeFuncR.classWrapper for the SVG elementfeGaussianBlur.classWrapper for the SVG elementfeImage.classWrapper for the SVG elementfeMerge.classWrapper for the SVG elementfeMergeNode.classWrapper for the SVG elementfeMorphology.classWrapper for the SVG elementfeOffset.classWrapper for the SVG elementfePointLight.classWrapper for the SVG elementfeSpecularLighting.classWrapper for the SVG elementfeSpotLight.classWrapper for the SVG elementfeTile.classWrapper for the SVG elementfeTurbulence.classWrapper for the SVG elementfilter.classWrapper for the SVG elementfont.classWrapper for the SVG element "font-face".classWrapper for the SVG element "font-face-format".classWrapper for the SVG element "font-face-name".classWrapper for the SVG element "font-face-src".classWrapper for the SVG element "font-face-uri".classWrapper for the SVG elementforeignObject.classWrapper for the SVG elementglyph.classWrapper for the SVG elementglyphRef.classWrapper for the SVG elementg.classWrapper for the SVG elementhkern.classWrapper for the SVG elementimage.classWrapper for the SVG elementline.classWrapper for the SVG elementlinearGradient.classWrapper for the SVG elementmarker.classWrapper for the SVG elementmask.classWrapper for the SVG elementmetadata.classWrapper for the SVG element "missing-glyph".classWrapper for the SVG elementmpath.classWrapper for the SVG elementpath.classWrapper for the SVG elementpattern.classWrapper for the SVG elementpolygon.classWrapper for the SVG elementpolyline.classWrapper for the SVG elementradialGradient.classWrapper for the SVG elementrect.classWrapper for the SVG elementscript.classWrapper for the SVG elementset.classWrapper for the SVG elementstop.classWrapper for the SVG elementstyle.classWrapper for the SVG elementswitch.classWrapper for the SVG elementsymbol.classWrapper for the SVG elementtext.classWrapper for the SVG elementtextPath.classWrapper for the SVG elementtitle.classWrapper for the SVG elementtref.classWrapper for the SVG elementtspan.classWrapper for the SVG elementuse.classWrapper for the SVG elementview.classWrapper for the SVG elementvkern. -
Uses of DomNode in org.htmlunit.util
Methods in org.htmlunit.util that return DomNodeModifier and TypeMethodDescriptionprivate static DomNodeXmlUtils.createFrom(SgmlPage page, Node source, boolean handleXHTMLAsHTML, Map<Integer, List<String>> attributesOrderMap) Methods in org.htmlunit.util with parameters of type DomNodeModifier and TypeMethodDescriptionstatic voidXmlUtils.appendChild(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML) static voidXmlUtils.appendChild(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML, Map<Integer, List<String>> attributesOrderMap) private static voidXmlUtils.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 TypeClassDescriptionclassA page that will be returned for response with content type "text/xml".
CssStyleSheet.validateSelectors(org.htmlunit.cssparser.parser.selector.SelectorList, int, DomNode)instead