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 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 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) Gets the specified attribute.Element.querySelector(String selectors) Returns the first element within the document that matches the specified group of selectors.Methods in org.htmlunit.javascript.host with parameters of type NodeModifier and TypeMethodDescriptionvoidNamedNodeMap.setNamedItem(Node node) Sets the specified attribute.voidNamedNodeMap.setNamedItemNS(Node node) Sets the specified attribute. -
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.Fields in org.htmlunit.javascript.host.dom declared as NodeModifier and TypeFieldDescriptionprivate NodeXPathNSResolver.element_private NodeAbstractRange.endContainer_private NodeMutationRecord.nextSibling_private NodeMutationObserver.node_private NodeMutationRecord.previousSibling_private NodeAbstractRange.startContainer_Methods in org.htmlunit.javascript.host.dom that return NodeModifier and TypeMethodDescriptionTreeWalker.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()Node.getNextSibling()Gets the JavaScript propertynextSiblingfor the node that contains the current node.private static NodeNodeIterator.getNodeOrNull(DomNode domNode) private static NodeTreeWalker.getNodeOrNull(DomNode domNode) final NodeNode.getParent()Returns this node's parent node.Attr.getParentNode()Gets the JavaScript propertyparentNodefor the node that contains the current node.MutationRecord.getPreviousSibling()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.XPathResult.getSingleNodeValue()The value of this single node result, which may be null.protected NodeAbstractRange.internGetEndContainer()protected NodeAbstractRange.internGetStartContainer()XPathResult.iterateNext()Iterates and returns the next node from the node set ornullif there are no more nodes.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.XPathResult.snapshotItem(int index) Returns the indexth item in the snapshot collection.private static NodeNode.toNodeOrTextNode(Node thisObj, Object obj) 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.(package private) static intTreeWalker.getFlagForNode(Node node) Given aNode, return the appropriate constant for whatToShow.private static intRange.getPositionInContainer(Node refNode) 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) protected voidAbstractRange.internSetStartContainer(Node startContainer) booleanNode.isEqualNode(Node other) Check if 2 nodes are equals.private static booleanNode.isNodeInsertable(Node childObject) Indicates if the node can be inserted.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.voidXPathNSResolver.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.(package private) voidMutationRecord.setNextSibling(Node nextSibling) Sets thenextSiblingproperty.(package private) voidMutationRecord.setPreviousSibling(Node previousSibling) Sets thepreviousSiblingproperty.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.private static NodeNode.toNodeOrTextNode(Node thisObj, Object obj) 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, org.w3c.dom.traversal.NodeFilter filter) Creates a new instance.TreeWalker(Node root, int whatToShow, org.w3c.dom.traversal.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 objectHTMLBGSoundElement.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.classBase class for list-type elements (ul,ol,dir, etc).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 that represents an option.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.classContains attributes common to various table components.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.classSuperclass for all row-containing JavaScript host classes, including tables, table headers, table bodies and table footers. -
Uses of Node in org.htmlunit.javascript.host.svg
Subclasses of Node in org.htmlunit.javascript.host.svgModifier and TypeClassDescriptionclassA JavaScript object forSVGAElement.classA JavaScript object forSVGAnimateElement.classA JavaScript object forSVGAnimateMotionElement.classA JavaScript object forSVGAnimateTransformElement.classA JavaScript object forSVGAnimationElement.classA JavaScript object forSVGCircleElement.classA JavaScript object forSVGClipPathElement.classA JavaScript object forSVGComponentTransferFunctionElement.classA JavaScript object forSVGDefsElement.classA JavaScript object forSVGDescElement.classA JavaScript object forSVGElement.classA JavaScript object forSVGEllipseElement.classA JavaScript object forSVGFEBlendElement.classA JavaScript object forSVGFEColorMatrixElement.classA JavaScript object forSVGFEComponentTransferElement.classA JavaScript object forSVGFECompositeElement.classA JavaScript object forSVGFEConvolveMatrixElement.classA JavaScript object forSVGFEDiffuseLightingElement.classA JavaScript object forSVGFEDisplacementMapElement.classA JavaScript object forSVGFEDistantLightElement.classA JavaScript object forSVGFEDropShadowElement.classA JavaScript object forSVGFEFloodElement.classA JavaScript object forSVGFEFuncAElement.classA JavaScript object forSVGFEFuncBElement.classA JavaScript object forSVGFEFuncGElement.classA JavaScript object forSVGFEFuncRElement.classA JavaScript object forSVGFEGaussianBlurElement.classA JavaScript object forSVGFEImageElement.classA JavaScript object forSVGFEMergeElement.classA JavaScript object forSVGFEMergeNodeElement.classA JavaScript object forSVGFEMorphologyElement.classA JavaScript object forSVGFEOffsetElement.classA JavaScript object forSVGFEPointLightElement.classA JavaScript object forSVGFESpecularLightingElement.classA JavaScript object forSVGFESpotLightElement.classA JavaScript object forSVGFETileElement.classA JavaScript object forSVGFETurbulenceElement.classA JavaScript object forSVGFilterElement.classA JavaScript object forSVGForeignObjectElement.classA JavaScript object forSVGGElement.classA JavaScript object forSVGGeometryElement.classA JavaScript object forSVGGradientElement.classA JavaScript object forSVGGraphicsElement.classA JavaScript object forSVGImageElement.classA JavaScript object forSVGLinearGradientElement.classA JavaScript object forSVGLineElement.classA JavaScript object forSVGMarkerElement.classA JavaScript object forSVGMaskElement.classA JavaScript object forSVGMetadataElement.classA JavaScript object forSVGMPathElement.classA JavaScript object forSVGPathElement.classA JavaScript object forSVGPatternElement.classA JavaScript object forSVGPolygonElement.classA JavaScript object forSVGPolylineElement.classA JavaScript object forSVGRadialGradientElement.classA JavaScript object forSVGRectElement.classA JavaScript object forSVGScriptElement.classA JavaScript object forSVGSetElement.classA JavaScript object forSVGStopElement.classA JavaScript object forSVGStyleElement.classA JavaScript object forSVGSVGElement.classA JavaScript object forSVGSwitchElement.classA JavaScript object forSVGSymbolElement.classA JavaScript object forSVGTextContentElement.classA JavaScript object forSVGTextElement.classA JavaScript object forSVGTextPathElement.classA JavaScript object forSVGTextPositioningElement.classA JavaScript object forSVGTitleElement.classA JavaScript object forSVGTSpanElement.classA JavaScript object forSVGUseElement.classA JavaScript object forSVGViewElement. -
Uses of Node in org.htmlunit.javascript.host.xml
Subclasses of Node in org.htmlunit.javascript.host.xmlFields in org.htmlunit.javascript.host.xml declared as NodeMethods in org.htmlunit.javascript.host.xml with parameters of type NodeModifier and TypeMethodDescriptionvoidXSLTProcessor.importStylesheet(Node style) Imports the specified stylesheet into this XSLTProcessor for transformations.XMLSerializer.serializeToString(Node root) The subtree rooted by the specified element is serialized to a string.private ObjectXSLTProcessor.transformToDocument(Node source) Transforms the node source applying the stylesheet given by the importStylesheet() function.XSLTProcessor.transformToFragment(Node source, Object output) Transforms the node source applying the stylesheet given by the importStylesheet() function.