Uses of Class
org.htmlunit.javascript.host.dom.Node
Packages that use Node
Package
Description
Implementations of the various JavaScript host objects — users of HtmlUnit should not
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 HTML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the Scalable Vector Graphics 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.
-
Uses of Node in org.htmlunit.javascript.host
Subclasses of Node in org.htmlunit.javascript.hostMethods in org.htmlunit.javascript.host that return NodeModifier and TypeMethodDescriptionNamedNodeMap.getNamedItemNS(String namespaceURI, String localName) Returns the attribute node with the given namespace URI and local name.Element.insertAdjacentElement(String where, Object insertedElement) Inserts the given element at the specified position relative to this element.Element.querySelector(String selectors) Returns the first descendant element that matches the specified CSS selector, ornullif no matches are found.Methods in org.htmlunit.javascript.host with parameters of type NodeModifier and TypeMethodDescriptionvoidNamedNodeMap.setNamedItem(Node node) Sets the specified attribute node.voidNamedNodeMap.setNamedItemNS(Node node) Sets the specified attribute node using its namespace URI and local name. -
Uses of Node in org.htmlunit.javascript.host.dom
Subclasses of Node in org.htmlunit.javascript.host.domModifier and TypeClassDescriptionclassA JavaScript object forAttr.classA JavaScript object forCDATASection.classA JavaScript object forCharacterData.classA JavaScript object forComment.classA JavaScript object forDocument.classA JavaScript object forDocumentFragment.classA JavaScript object forDocumentType.classA JavaScript object forProcessingInstruction.classA JavaScript object forShadowRoot.classA JavaScript object forText.Methods in org.htmlunit.javascript.host.dom that return NodeModifier and TypeMethodDescriptionNode.appendChild(Object childObject) Adds a DOM node to the node.Node.cloneNode(boolean deep) Clones this node.TreeWalker.firstChild()Moves the TreeWalker to the first visible child of the current node, and returns the new node.Selection.getAnchorNode()Returns the node in which the selection begins.TreeWalker.getCurrentNode()Gets the node at which the TreeWalker is currently positioned.Attr.getFirstChild()Gets the JavaScript propertyfirstChildfor the node that contains the current node.Node.getFirstChild()Gets the JavaScript propertyfirstChildfor the node that contains the current node.Selection.getFocusNode()Returns the node in which the selection ends.protected NodeNode.getJavaScriptNode(DomNode domNode) Gets the JavaScript node for a given DomNode.Attr.getLastChild()Gets the JavaScript propertylastChildfor the node that contains the current node.Node.getLastChild()Gets the JavaScript propertylastChildfor the node that contains the current node.MutationRecord.getNextSibling()Returns thenextSiblingproperty.Node.getNextSibling()Gets the JavaScript propertynextSiblingfor the node that contains the current node.final NodeNode.getParent()Returns this node's parent node.Attr.getParentNode()Gets the JavaScript propertyparentNodefor the node that contains the current node.MutationRecord.getPreviousSibling()Returns thepreviousSiblingproperty.Node.getPreviousSibling()Gets the JavaScript propertypreviousSiblingfor the node that contains the current node.NodeIterator.getRoot()Returns the root node.TreeWalker.getRoot()Gets the root node of the TreeWalker, as specified when it was created.Attr.getRootNode()Returns the root node.DocumentFragment.getRootNode()Returns the root node of this node's tree.Node.getRootNode()Returns the root node of this node's tree.XPathResult.getSingleNodeValue()Returns the value of this single-node result.static NodeNode.insertBefore(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function) Add a DOM node as a child to this node before the referenced node.protected NodeNode.insertBeforeImpl(Object[] args) Add a DOM node as a child to this node before the referenced node.protected NodeAbstractRange.internGetEndContainer()Returns the end container.protected NodeAbstractRange.internGetStartContainer()Returns the start container.XPathResult.iterateNext()Returns the next node in the result.TreeWalker.lastChild()Moves the TreeWalker to the last visible child of the current node, and returns the new node.NodeIterator.nextNode()Returns the next Node in the document, or null if there are none.TreeWalker.nextNode()Moves the TreeWalker to the next visible node in document order relative to the current node, and returns the new node.TreeWalker.nextSibling()Moves the TreeWalker to the next sibling of the current node, and returns the new node.TreeWalker.parentNode()Moves to and returns the closest visible ancestor node of the current node.NodeIterator.previousNode()Returns the previous Node in the document, or null if there are none.TreeWalker.previousNode()Moves the TreeWalker to the previous visible node in document order relative to the current node, and returns the new node.TreeWalker.previousSibling()Moves the TreeWalker to the previous sibling of the current node, and returns the new node.Document.querySelector(String selectors) Returns the first element within the document that matches the specified group of selectors.DocumentFragment.querySelector(String selectors) Returns the first element within the document that matches the specified group of selectors.Node.removeChild(Object childObject) Removes a DOM node from this node.Node.replaceChild(Object newChildObject, Object oldChildObject) Replaces a child DOM node with another DOM node.XPathResult.snapshotItem(int index) Returns the node at the specified index in the snapshot.Methods in org.htmlunit.javascript.host.dom with parameters of type NodeModifier and TypeMethodDescriptionAdopts a node from an external document.voidCollapses the current selection to a single point.Document.createNodeIterator(Node root, int whatToShow, org.htmlunit.corejs.javascript.Scriptable filter) Returns a new NodeIterator object.Document.createNSResolver(Node nodeResolver) Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.XPathEvaluator.createNSResolver(Node nodeResolver) Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.Document.createTreeWalker(Node root, double whatToShow, org.htmlunit.corejs.javascript.Scriptable filter, boolean expandEntityReferences) Creates and returns a new TreeWalker.Evaluates an XPath expression string and returns a result of the specified type if possible.voidMoves the focus of the selection to a specified point.Document.importNode(Node importedNode, boolean deep) Imports a node from another document to this document.voidRange.insertNode(Node newNode) Inserts a new node at the beginning of the range.protected voidAbstractRange.internSetEndContainer(Node endContainer) Sets the end container.protected voidAbstractRange.internSetStartContainer(Node startContainer) Sets the start container.booleanNode.isEqualNode(Node other) Determines whether this node is structurally equal to the specified node.voidRegisters theMutationObserverinstance to receive notifications of DOM mutations on the specified node.voidSelection.selectAllChildren(Node parentNode) Adds all the children of the specified node to the selection.voidRange.selectNode(Node refNode) Selects a node and its contents.voidRange.selectNodeContents(Node refNode) Select the contents within a node.voidTreeWalker.setCurrentNode(Node currentNode) Sets the node at which the TreeWalker is currently positioned.voidNativeXPathNSResolver.setElement(Node element) Sets the element to start lookup from.voidSets the attributes describing the end of a Range.voidRange.setEndAfter(Node refNode) Sets the end of the range to be after the node.voidRange.setEndBefore(Node refNode) Sets the end of the range to be before the node.voidSets the attributes describing the start of a Range.voidRange.setStartAfter(Node refNode) Sets the start of the range to be after the node.voidRange.setStartBefore(Node refNode) Sets the start of the range to be before the node.voidRange.surroundContents(Node newNode) Surrounds the contents of the range in a new node.Constructors in org.htmlunit.javascript.host.dom with parameters of type NodeModifierConstructorDescriptionprotectedAbstractRange(Node startContainer, Node endContainer, int startOffset, int endOffset) Creates a new instance.DOMStringMap(Node node) Creates an instance.DOMTokenList(Node node, String attributeName) Creates an instance.NodeIterator(Node root, int whatToShow, NodeFilter filter) Creates a new instance.TreeWalker(Node root, int whatToShow, NodeFilter filter, boolean expandEntityReferences) Creates an instance. -
Uses of Node in org.htmlunit.javascript.host.html
Subclasses of Node in org.htmlunit.javascript.host.htmlModifier and TypeClassDescriptionclassThe JavaScript objectAudio.classThe JavaScript object that represents an anchor.classThe JavaScript objectHTMLAreaElement.classThe JavaScript objectHTMLAudioElement.classThe JavaScript objectHTMLBaseElement.classThe JavaScript objectHTMLBodyElement.classThe JavaScript objectHTMLBRElement.classThe JavaScript object that represents aHtmlButton(<button type=...>).classThe JavaScript objectHTMLCanvasElement.classThe JavaScript objectHTMLDataElement.classThe JavaScript objectHTMLDataListElement.classThe JavaScript objectHTMLDetailsElement.classThe JavaScript objectHTMLDialogElement.classThe JavaScript objectHTMLDirectoryElement.classThe JavaScript objectHTMLDivElement.classThe JavaScript objectHTMLDListElement.classA JavaScript object forHTMLDocument.classThe JavaScript objectHTMLElementwhich is the base class for all HTML objects.classThe JavaScript objectHTMLEmbedElement.classThe JavaScript objectHTMLFieldSetElement.classThe JavaScript objectHTMLFontElement.classA JavaScript objectHTMLFormElement.classThe JavaScript objectHTMLFrameElement.classThe JavaScript objectHTMLFrameSetElement.classThe JavaScript objectHTMLHeadElement.classThe JavaScript objectHTMLHeadingElement.classThe JavaScript objectHTMLHRElement.classThe JavaScript objectHTMLHtmlElement.classA JavaScript object forHtmlInlineFrame.classThe JavaScript objectHTMLImageElement.classThe JavaScript object forHtmlInput.classA JavaScript object forHTMLLabelElement.classThe JavaScript objectHTMLLegendElement.classThe JavaScript objectHTMLLIElement.classThe JavaScript objectHTMLLinkElement.classThe JavaScript objectHTMLMapElement.classThe JavaScript objectHTMLMarqueeElement.classThe JavaScript objectHTMLMediaElement.classThe JavaScript objectHTMLMenuElement.classThe JavaScript objectHTMLMetaElement.classThe JavaScript objectHTMLMeterElement.classThe JavaScript objectHTMLModElement.classThe JavaScript objectHTMLObjectElement.classThe JavaScript objectHTMLOListElement.classThe JavaScript objectHTMLOptGroupElement.classThe JavaScript object forHtmlOption.classThe JavaScript objectHTMLOutputElement.classThe JavaScript objectHTMLParagraphElement.classThe JavaScript objectHTMLParamElement.classThe JavaScript objectHTMLPictureElement.classThe JavaScript objectHTMLPreElement.classThe JavaScript objectHTMLProgressElement.classThe JavaScript objectHTMLQuoteElement.classThe JavaScript object that represents anHTMLScriptElement.classThe JavaScript object forHtmlSelect.classA JavaScript object forHTMLSlotElement.classThe JavaScript objectHTMLSourceElement.classThe JavaScript objectHTMLSpanElement.classThe JavaScript objectHTMLStyleElement.classThe JavaScript objectHTMLTableCaptionElement.classThe JavaScript object representing a TD or TH.classThe JavaScript objectHTMLTableColElement.classThe JavaScript objectHTMLTableElement.classThe JavaScript objectHTMLTableRowElement.classA JavaScript object representing "HTMLTableSectionElement", it is used byHtmlTableBody,HtmlTableHeader, andHtmlTableFooter.classThe JavaScript objectHTMLTemplateElement.classThe JavaScript objectHTMLTextAreaElement.classThe JavaScript objectHTMLTimeElement.classThe JavaScript objectHTMLTitleElement.classThe JavaScript objectHTMLTrackElement.classThe JavaScript objectHTMLUListElement.classThe JavaScript objectHTMLUnknownElement.classThe JavaScript objectHTMLVideoElement.Methods in org.htmlunit.javascript.host.html that return NodeModifier and TypeMethodDescriptionHTMLDocument.appendChild(Object childObject) Adds a DOM node to the node.HTMLScriptElement.appendChild(Object childObject) Overwritten for special handling.HTMLSelectElement.appendChild(Object childObject) Adds a DOM node to the node.HTMLTableElement.appendChild(Object childObject) Adds a DOM node to the node.HTMLSelectElement.insertBeforeImpl(Object[] args) Add a DOM node as a child to this node before the referenced node.HTMLTableElement.removeChild(Object childObject) Removes a DOM node from this node. -
Uses of Node in org.htmlunit.javascript.host.svg
Subclasses of Node in org.htmlunit.javascript.host.svgModifier and TypeClassDescriptionclassJavaScript host object forSVGAElement.classJavaScript host object forSVGAnimateElement.classJavaScript host object forSVGAnimateMotionElement.classJavaScript host object forSVGAnimateTransformElement.classJavaScript host object forSVGAnimationElement.classJavaScript host object forSVGCircleElement.classJavaScript host object forSVGClipPathElement.classJavaScript host object forSVGComponentTransferFunctionElement.classJavaScript host object forSVGDefsElement.classJavaScript host object forSVGDescElement.classJavaScript host object forSVGElement.classJavaScript host object forSVGEllipseElement.classJavaScript host object forSVGFEBlendElement.classJavaScript host object forSVGFEColorMatrixElement.classJavaScript host object forSVGFEComponentTransferElement.classJavaScript host object forSVGFECompositeElement.classJavaScript host object forSVGFEConvolveMatrixElement.classJavaScript host object forSVGFEDiffuseLightingElement.classJavaScript host object forSVGFEDisplacementMapElement.classJavaScript host object forSVGFEDistantLightElement.classJavaScript host object forSVGFEDropShadowElement.classJavaScript host object forSVGFEFloodElement.classJavaScript host object forSVGFEFuncAElement.classJavaScript host object forSVGFEFuncBElement.classJavaScript host object forSVGFEFuncGElement.classJavaScript host object forSVGFEFuncRElement.classJavaScript host object forSVGFEGaussianBlurElement.classJavaScript host object forSVGFEImageElement.classJavaScript host object forSVGFEMergeElement.classJavaScript host object forSVGFEMergeNodeElement.classJavaScript host object forSVGFEMorphologyElement.classJavaScript host object forSVGFEOffsetElement.classJavaScript host object forSVGFEPointLightElement.classJavaScript host object forSVGFESpecularLightingElement.classJavaScript host object forSVGFESpotLightElement.classJavaScript host object forSVGFETileElement.classJavaScript host object forSVGFETurbulenceElement.classJavaScript host object forSVGFilterElement.classJavaScript host object forSVGForeignObjectElement.classJavaScript host object forSVGGElement.classJavaScript host object forSVGGeometryElement.classJavaScript host object forSVGGradientElement.classJavaScript host object forSVGGraphicsElement.classJavaScript host object forSVGImageElement.classJavaScript host object forSVGLinearGradientElement.classJavaScript host object forSVGLineElement.classJavaScript host object forSVGMarkerElement.classJavaScript host object forSVGMaskElement.classJavaScript host object forSVGMetadataElement.classJavaScript host object forSVGMPathElement.classJavaScript host object forSVGPathElement.classJavaScript host object forSVGPatternElement.classJavaScript host object forSVGPolygonElement.classJavaScript host object forSVGPolylineElement.classJavaScript host object forSVGRadialGradientElement.classJavaScript host object forSVGRectElement.classJavaScript host object forSVGScriptElement.classJavaScript host object forSVGSetElement.classJavaScript host object forSVGStopElement.classJavaScript host object forSVGStyleElement.classJavaScript host object forSVGSVGElement.classJavaScript host object forSVGSwitchElement.classJavaScript host object forSVGSymbolElement.classJavaScript host object forSVGTextContentElement.classJavaScript host object forSVGTextElement.classJavaScript host object forSVGTextPathElement.classJavaScript host object forSVGTextPositioningElement.classJavaScript host object forSVGTitleElement.classJavaScript host object forSVGTSpanElement.classJavaScript host object forSVGUseElement.classJavaScript host object forSVGViewElement. -
Uses of Node in org.htmlunit.javascript.host.xml
Subclasses of Node in org.htmlunit.javascript.host.xmlMethods in org.htmlunit.javascript.host.xml with parameters of type NodeModifier and TypeMethodDescriptionvoidXSLTProcessor.importStylesheet(Node style) Imports the specified stylesheet into thisXSLTProcessorfor transformations.XMLSerializer.serializeToString(Node root) Serializes the subtree rooted at the specified node to a string.XSLTProcessor.transformToDocument(Node source) Transforms the given source node by applying the stylesheet imported viaXSLTProcessor.importStylesheet(org.htmlunit.javascript.host.dom.Node).XSLTProcessor.transformToFragment(Node source, Object output) Transforms the given source node by applying the imported stylesheet and appends the result as children of the given output document fragment.