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 TypeMethodDescriptionvoid
NamedNodeMap.setNamedItem
(Node node) Sets the specified attribute.void
NamedNodeMap.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 TypeClassDescriptionclass
A JavaScript object forAttr
.class
A JavaScript object forCDATASection
.class
A JavaScript object forCharacterData
.class
A JavaScript object forComment
.class
A JavaScript object forDocument
.class
A JavaScript object forDocumentFragment
.class
A JavaScript object forDocumentType
.class
A JavaScript object forProcessingInstruction
.class
A JavaScript object forShadowRoot
.class
A JavaScript object forText
.Fields in org.htmlunit.javascript.host.dom declared as NodeModifier and TypeFieldDescriptionprivate Node
XPathNSResolver.element_
private Node
AbstractRange.endContainer_
private Node
MutationRecord.nextSibling_
private Node
MutationObserver.node_
private Node
MutationRecord.previousSibling_
private Node
AbstractRange.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 propertyfirstChild
for the node that contains the current node.Node.getFirstChild()
Gets the JavaScript propertyfirstChild
for the node that contains the current node.Selection.getFocusNode()
Returns the node in which the selection ends.protected Node
Node.getJavaScriptNode
(DomNode domNode) Gets the JavaScript node for a given DomNode.Attr.getLastChild()
Gets the JavaScript propertylastChild
for the node that contains the current node.Node.getLastChild()
Gets the JavaScript propertylastChild
for the node that contains the current node.MutationRecord.getNextSibling()
Node.getNextSibling()
Gets the JavaScript propertynextSibling
for the node that contains the current node.private static Node
NodeIterator.getNodeOrNull
(DomNode domNode) private static Node
TreeWalker.getNodeOrNull
(DomNode domNode) final Node
Node.getParent()
Returns this node's parent node.Attr.getParentNode()
Gets the JavaScript propertyparentNode
for the node that contains the current node.MutationRecord.getPreviousSibling()
Node.getPreviousSibling()
Gets the JavaScript propertypreviousSibling
for 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 Node
AbstractRange.internGetEndContainer()
protected Node
AbstractRange.internGetStartContainer()
XPathResult.iterateNext()
Iterates and returns the next node from the node set ornull
if 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 Node
Node.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.void
Collapses 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.void
Moves the focus of the selection to a specified point.(package private) static int
TreeWalker.getFlagForNode
(Node node) Given aNode
, return the appropriate constant for whatToShow.private static int
Range.getPositionInContainer
(Node refNode) Document.importNode
(Node importedNode, boolean deep) Imports a node from another document to this document.void
Range.insertNode
(Node newNode) Inserts a new node at the beginning of the range.protected void
AbstractRange.internSetEndContainer
(Node endContainer) protected void
AbstractRange.internSetStartContainer
(Node startContainer) boolean
Node.isEqualNode
(Node other) Check if 2 nodes are equals.private static boolean
Node.isNodeInsertable
(Node childObject) Indicates if the node can be inserted.void
Registers theMutationObserver
instance to receive notifications of DOM mutations on the specified node.void
Selection.selectAllChildren
(Node parentNode) Adds all the children of the specified node to the selection.void
Range.selectNode
(Node refNode) Selects a node and its contents.void
Range.selectNodeContents
(Node refNode) Select the contents within a node.void
TreeWalker.setCurrentNode
(Node currentNode) Sets the node at which the TreeWalker is currently positioned.void
XPathNSResolver.setElement
(Node element) Sets the element to start lookup from.void
Sets the attributes describing the end of a Range.void
Range.setEndAfter
(Node refNode) Sets the end of the range to be after the node.void
Range.setEndBefore
(Node refNode) Sets the end of the range to be before the node.(package private) void
MutationRecord.setNextSibling
(Node nextSibling) Sets thenextSibling
property.(package private) void
MutationRecord.setPreviousSibling
(Node previousSibling) Sets thepreviousSibling
property.void
Sets the attributes describing the start of a Range.void
Range.setStartAfter
(Node refNode) Sets the start of the range to be after the node.void
Range.setStartBefore
(Node refNode) Sets the start of the range to be before the node.void
Range.surroundContents
(Node newNode) Surrounds the contents of the range in a new node.private static Node
Node.toNodeOrTextNode
(Node thisObj, Object obj) Constructors in org.htmlunit.javascript.host.dom with parameters of type NodeModifierConstructorDescriptionprotected
AbstractRange
(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 TypeClassDescriptionclass
The JavaScript objectAudio
.class
The JavaScript object that represents an anchor.class
The JavaScript objectHTMLAreaElement
.class
The JavaScript objectHTMLAudioElement
.class
The JavaScript objectHTMLBaseElement
.class
The JavaScript objectHTMLBGSoundElement
.class
The JavaScript objectHTMLBodyElement
.class
The JavaScript objectHTMLBRElement
.class
The JavaScript object that represents aHtmlButton
(<button type=...>).class
The JavaScript objectHTMLCanvasElement
.class
The JavaScript objectHTMLDataElement
.class
The JavaScript objectHTMLDataListElement
.class
The JavaScript objectHTMLDetailsElement
.class
The JavaScript objectHTMLDialogElement
.class
The JavaScript objectHTMLDirectoryElement
.class
The JavaScript objectHTMLDivElement
.class
The JavaScript objectHTMLDListElement
.class
A JavaScript object forHTMLDocument
.class
The JavaScript objectHTMLElement
which is the base class for all HTML objects.class
The JavaScript objectHTMLEmbedElement
.class
The JavaScript objectHTMLFieldSetElement
.class
The JavaScript objectHTMLFontElement
.class
A JavaScript objectHTMLFormElement
.class
The JavaScript objectHTMLFrameElement
.class
The JavaScript objectHTMLFrameSetElement
.class
The JavaScript objectHTMLHeadElement
.class
The JavaScript objectHTMLHeadingElement
.class
The JavaScript objectHTMLHRElement
.class
The JavaScript objectHTMLHtmlElement
.class
A JavaScript object forHtmlInlineFrame
.class
The JavaScript objectHTMLImageElement
.class
The JavaScript object forHtmlInput
.class
A JavaScript object forHTMLLabelElement
.class
The JavaScript objectHTMLLegendElement
.class
The JavaScript objectHTMLLIElement
.class
The JavaScript objectHTMLLinkElement
.class
Base class for list-type elements (ul
,ol
,dir
, etc).class
The JavaScript objectHTMLMapElement
.class
The JavaScript objectHTMLMarqueeElement
.class
The JavaScript objectHTMLMediaElement
.class
The JavaScript objectHTMLMenuElement
.class
The JavaScript objectHTMLMetaElement
.class
The JavaScript objectHTMLMeterElement
.class
The JavaScript objectHTMLModElement
.class
The JavaScript objectHTMLObjectElement
.class
The JavaScript objectHTMLOListElement
.class
The JavaScript objectHTMLOptGroupElement
.class
The JavaScript object that represents an option.class
The JavaScript objectHTMLOutputElement
.class
The JavaScript objectHTMLParagraphElement
.class
The JavaScript objectHTMLParamElement
.class
The JavaScript objectHTMLPictureElement
.class
The JavaScript objectHTMLPreElement
.class
The JavaScript objectHTMLProgressElement
.class
The JavaScript objectHTMLQuoteElement
.class
The JavaScript object that represents anHTMLScriptElement
.class
The JavaScript object forHtmlSelect
.class
A JavaScript object forHTMLSlotElement
.class
The JavaScript objectHTMLSourceElement
.class
The JavaScript objectHTMLSpanElement
.class
The JavaScript objectHTMLStyleElement
.class
The JavaScript objectHTMLTableCaptionElement
.class
The JavaScript object representing a TD or TH.class
The JavaScript objectHTMLTableColElement
.class
Contains attributes common to various table components.class
The JavaScript objectHTMLTableElement
.class
The JavaScript objectHTMLTableRowElement
.class
A JavaScript object representing "HTMLTableSectionElement", it is used byHtmlTableBody
,HtmlTableHeader
, andHtmlTableFooter
.class
The JavaScript objectHTMLTemplateElement
.class
The JavaScript objectHTMLTextAreaElement
.class
The JavaScript objectHTMLTimeElement
.class
The JavaScript objectHTMLTitleElement
.class
The JavaScript objectHTMLTrackElement
.class
The JavaScript objectHTMLUListElement
.class
The JavaScript objectHTMLUnknownElement
.class
The JavaScript objectHTMLVideoElement
.class
Superclass 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 TypeClassDescriptionclass
A JavaScript object forSVGAElement
.class
A JavaScript object forSVGAnimateElement
.class
A JavaScript object forSVGAnimateMotionElement
.class
A JavaScript object forSVGAnimateTransformElement
.class
A JavaScript object forSVGAnimationElement
.class
A JavaScript object forSVGCircleElement
.class
A JavaScript object forSVGClipPathElement
.class
A JavaScript object forSVGComponentTransferFunctionElement
.class
A JavaScript object forSVGDefsElement
.class
A JavaScript object forSVGDescElement
.class
A JavaScript object forSVGElement
.class
A JavaScript object forSVGEllipseElement
.class
A JavaScript object forSVGFEBlendElement
.class
A JavaScript object forSVGFEColorMatrixElement
.class
A JavaScript object forSVGFEComponentTransferElement
.class
A JavaScript object forSVGFECompositeElement
.class
A JavaScript object forSVGFEConvolveMatrixElement
.class
A JavaScript object forSVGFEDiffuseLightingElement
.class
A JavaScript object forSVGFEDisplacementMapElement
.class
A JavaScript object forSVGFEDistantLightElement
.class
A JavaScript object forSVGFEDropShadowElement
.class
A JavaScript object forSVGFEFloodElement
.class
A JavaScript object forSVGFEFuncAElement
.class
A JavaScript object forSVGFEFuncBElement
.class
A JavaScript object forSVGFEFuncGElement
.class
A JavaScript object forSVGFEFuncRElement
.class
A JavaScript object forSVGFEGaussianBlurElement
.class
A JavaScript object forSVGFEImageElement
.class
A JavaScript object forSVGFEMergeElement
.class
A JavaScript object forSVGFEMergeNodeElement
.class
A JavaScript object forSVGFEMorphologyElement
.class
A JavaScript object forSVGFEOffsetElement
.class
A JavaScript object forSVGFEPointLightElement
.class
A JavaScript object forSVGFESpecularLightingElement
.class
A JavaScript object forSVGFESpotLightElement
.class
A JavaScript object forSVGFETileElement
.class
A JavaScript object forSVGFETurbulenceElement
.class
A JavaScript object forSVGFilterElement
.class
A JavaScript object forSVGForeignObjectElement
.class
A JavaScript object forSVGGElement
.class
A JavaScript object forSVGGeometryElement
.class
A JavaScript object forSVGGradientElement
.class
A JavaScript object forSVGGraphicsElement
.class
A JavaScript object forSVGImageElement
.class
A JavaScript object forSVGLinearGradientElement
.class
A JavaScript object forSVGLineElement
.class
A JavaScript object forSVGMarkerElement
.class
A JavaScript object forSVGMaskElement
.class
A JavaScript object forSVGMetadataElement
.class
A JavaScript object forSVGMPathElement
.class
A JavaScript object forSVGPathElement
.class
A JavaScript object forSVGPatternElement
.class
A JavaScript object forSVGPolygonElement
.class
A JavaScript object forSVGPolylineElement
.class
A JavaScript object forSVGRadialGradientElement
.class
A JavaScript object forSVGRectElement
.class
A JavaScript object forSVGScriptElement
.class
A JavaScript object forSVGSetElement
.class
A JavaScript object forSVGStopElement
.class
A JavaScript object forSVGStyleElement
.class
A JavaScript object forSVGSVGElement
.class
A JavaScript object forSVGSwitchElement
.class
A JavaScript object forSVGSymbolElement
.class
A JavaScript object forSVGTextContentElement
.class
A JavaScript object forSVGTextElement
.class
A JavaScript object forSVGTextPathElement
.class
A JavaScript object forSVGTextPositioningElement
.class
A JavaScript object forSVGTitleElement
.class
A JavaScript object forSVGTSpanElement
.class
A JavaScript object forSVGUseElement
.class
A 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 TypeMethodDescriptionvoid
XSLTProcessor.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 Object
XSLTProcessor.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.