Uses of Class
org.htmlunit.javascript.host.dom.Node
-
Packages that use Node Package Description org.htmlunit.javascript.host Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.dom Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.html Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.svg Implementations of the Scalable Vector Graphics JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.xml 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.host Modifier and Type Class Description class
Element
A JavaScript object forElement
.Methods in org.htmlunit.javascript.host that return Node Modifier and Type Method Description Node
NamedNodeMap. getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
Gets the specified attribute.Node
Element. querySelector(java.lang.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 Node Modifier and Type Method Description void
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.dom Modifier and Type Class Description class
Attr
A JavaScript object forAttr
.class
CDATASection
A JavaScript object forCDATASection
.class
CharacterData
A JavaScript object forCharacterData
.class
Comment
A JavaScript object forComment
.class
Document
A JavaScript object forDocument
.class
DocumentFragment
A JavaScript object forDocumentFragment
.class
DocumentType
A JavaScript object forDocumentType
.class
ProcessingInstruction
A JavaScript object forProcessingInstruction
.class
ShadowRoot
A JavaScript object forShadowRoot
.class
Text
A JavaScript object forText
.Fields in org.htmlunit.javascript.host.dom declared as Node Modifier and Type Field Description private 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 Node Modifier and Type Method Description Node
TreeWalker. firstChild()
Moves the TreeWalker to the first visible child of the current node, and returns the new node.Node
Selection. getAnchorNode()
Returns the node in which the selection begins.Node
TreeWalker. getCurrentNode()
Gets the node at which the TreeWalker is currently positioned.Node
Attr. getFirstChild()
Gets the JavaScript propertyfirstChild
for the node that contains the current node.Node
Node. getFirstChild()
Gets the JavaScript propertyfirstChild
for the node that contains the current node.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.Node
Attr. getLastChild()
Gets the JavaScript propertylastChild
for the node that contains the current node.Node
Node. getLastChild()
Gets the JavaScript propertylastChild
for the node that contains the current node.Node
MutationRecord. getNextSibling()
Node
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)
Node
Node. getParent()
Returns this node's parent node.Node
Attr. getParentNode()
Gets the JavaScript propertyparentNode
for the node that contains the current node.Node
MutationRecord. getPreviousSibling()
Node
Node. getPreviousSibling()
Gets the JavaScript propertypreviousSibling
for the node that contains the current node.Node
NodeIterator. getRoot()
Returns the root node.Node
TreeWalker. getRoot()
Gets the root node of the TreeWalker, as specified when it was created.Node
XPathResult. getSingleNodeValue()
The value of this single node result, which may be null.protected Node
AbstractRange. internGetEndContainer()
protected Node
AbstractRange. internGetStartContainer()
Node
XPathResult. iterateNext()
Iterates and returns the next node from the node set ornull
if there are no more nodes.Node
TreeWalker. lastChild()
Moves the TreeWalker to the last visible child of the current node, and returns the new node.Node
NodeIterator. nextNode()
Returns the next Node in the document, or null if there are none.Node
TreeWalker. nextNode()
Moves the TreeWalker to the next visible node in document order relative to the current node, and returns the new node.Node
TreeWalker. nextSibling()
Moves the TreeWalker to the next sibling of the current node, and returns the new node.Node
TreeWalker. parentNode()
Moves to and returns the closest visible ancestor node of the current node.Node
NodeIterator. previousNode()
Returns the previous Node in the document, or null if there are none.Node
TreeWalker. previousNode()
Moves the TreeWalker to the previous visible node in document order relative to the current node, and returns the new node.Node
TreeWalker. previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and returns the new node.Node
Document. querySelector(java.lang.String selectors)
Returns the first element within the document that matches the specified group of selectors.Node
DocumentFragment. querySelector(java.lang.String selectors)
Returns the first element within the document that matches the specified group of selectors.Node
XPathResult. snapshotItem(int index)
Returns the indexth item in the snapshot collection.private static Node
Node. toNodeOrTextNode(Node thisObj, java.lang.Object obj)
Methods in org.htmlunit.javascript.host.dom with parameters of type Node Modifier and Type Method Description java.lang.Object
Document. adoptNode(Node externalNode)
Adopts a node from an external document.void
Selection. collapse(Node parentNode, int offset)
Collapses the current selection to a single point.NodeIterator
Document. createNodeIterator(Node root, int whatToShow, org.htmlunit.corejs.javascript.Scriptable filter)
Returns a new NodeIterator object.XPathNSResolver
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.XPathNSResolver
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.java.lang.Object
Document. createTreeWalker(Node root, double whatToShow, org.htmlunit.corejs.javascript.Scriptable filter, boolean expandEntityReferences)
Creates and returns a new TreeWalker.XPathResult
Document. evaluate(java.lang.String expression, Node contextNode, java.lang.Object resolver, int type, java.lang.Object result)
Evaluates an XPath expression string and returns a result of the specified type if possible.void
Selection. extend(Node parentNode, int offset)
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)
HtmlUnitScriptable
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
MutationObserver. observe(Node node, org.htmlunit.corejs.javascript.NativeObject options)
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
Range. setEnd(Node refNode, int offset)
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
Range. setStart(Node refNode, int offset)
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, java.lang.Object obj)
Constructors in org.htmlunit.javascript.host.dom with parameters of type Node Constructor Description AbstractRange(Node startContainer, Node endContainer, int startOffset, int endOffset)
Creates a new instance.DOMStringMap(Node node)
Creates an instance.DOMTokenList(Node node, java.lang.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.html Modifier and Type Class Description class
Audio
The JavaScript objectAudio
.class
HTMLAnchorElement
The JavaScript object that represents an anchor.class
HTMLAreaElement
The JavaScript objectHTMLAreaElement
.class
HTMLAudioElement
The JavaScript objectHTMLAudioElement
.class
HTMLBaseElement
The JavaScript objectHTMLBaseElement
.class
HTMLBGSoundElement
The JavaScript objectHTMLBGSoundElement
.class
HTMLBodyElement
The JavaScript objectHTMLBodyElement
.class
HTMLBRElement
The JavaScript objectHTMLBRElement
.class
HTMLButtonElement
The JavaScript object that represents aHtmlButton
(<button type=...>).class
HTMLCanvasElement
The JavaScript objectHTMLCanvasElement
.class
HTMLDataElement
The JavaScript objectHTMLDataElement
.class
HTMLDataListElement
The JavaScript objectHTMLDataListElement
.class
HTMLDetailsElement
The JavaScript objectHTMLDetailsElement
.class
HTMLDialogElement
The JavaScript objectHTMLDialogElement
.class
HTMLDirectoryElement
The JavaScript objectHTMLDirectoryElement
.class
HTMLDivElement
The JavaScript objectHTMLDivElement
.class
HTMLDListElement
The JavaScript objectHTMLDListElement
.class
HTMLDocument
A JavaScript object forHTMLDocument
.class
HTMLElement
The JavaScript objectHTMLElement
which is the base class for all HTML objects.class
HTMLEmbedElement
The JavaScript objectHTMLEmbedElement
.class
HTMLFieldSetElement
The JavaScript objectHTMLFieldSetElement
.class
HTMLFontElement
The JavaScript objectHTMLFontElement
.class
HTMLFormElement
A JavaScript objectHTMLFormElement
.class
HTMLFrameElement
The JavaScript objectHTMLFrameElement
.class
HTMLFrameSetElement
The JavaScript objectHTMLFrameSetElement
.class
HTMLHeadElement
The JavaScript objectHTMLHeadElement
.class
HTMLHeadingElement
The JavaScript objectHTMLHeadingElement
.class
HTMLHRElement
The JavaScript objectHTMLHRElement
.class
HTMLHtmlElement
The JavaScript objectHTMLHtmlElement
.class
HTMLIFrameElement
A JavaScript object forHtmlInlineFrame
.class
HTMLImageElement
The JavaScript objectHTMLImageElement
.class
HTMLInputElement
The JavaScript object forHtmlInput
.class
HTMLLabelElement
A JavaScript object forHTMLLabelElement
.class
HTMLLegendElement
The JavaScript objectHTMLLegendElement
.class
HTMLLIElement
The JavaScript objectHTMLLIElement
.class
HTMLLinkElement
The JavaScript objectHTMLLinkElement
.class
HTMLListElement
Base class for list-type elements (ul
,ol
,dir
, etc).class
HTMLMapElement
The JavaScript objectHTMLMapElement
.class
HTMLMarqueeElement
The JavaScript objectHTMLMarqueeElement
.class
HTMLMediaElement
The JavaScript objectHTMLMediaElement
.class
HTMLMenuElement
The JavaScript objectHTMLMenuElement
.class
HTMLMetaElement
The JavaScript objectHTMLMetaElement
.class
HTMLMeterElement
The JavaScript objectHTMLMeterElement
.class
HTMLModElement
The JavaScript objectHTMLModElement
.class
HTMLObjectElement
The JavaScript objectHTMLObjectElement
.class
HTMLOListElement
The JavaScript objectHTMLOListElement
.class
HTMLOptGroupElement
The JavaScript objectHTMLOptGroupElement
.class
HTMLOptionElement
The JavaScript object that represents an option.class
HTMLOutputElement
The JavaScript objectHTMLOutputElement
.class
HTMLParagraphElement
The JavaScript objectHTMLParagraphElement
.class
HTMLParamElement
The JavaScript objectHTMLParamElement
.class
HTMLPictureElement
The JavaScript objectHTMLPictureElement
.class
HTMLPreElement
The JavaScript objectHTMLPreElement
.class
HTMLProgressElement
The JavaScript objectHTMLProgressElement
.class
HTMLQuoteElement
The JavaScript objectHTMLQuoteElement
.class
HTMLScriptElement
The JavaScript object that represents anHTMLScriptElement
.class
HTMLSelectElement
The JavaScript object forHtmlSelect
.class
HTMLSlotElement
A JavaScript object forHTMLSlotElement
.class
HTMLSourceElement
The JavaScript objectHTMLSourceElement
.class
HTMLSpanElement
The JavaScript objectHTMLSpanElement
.class
HTMLStyleElement
The JavaScript objectHTMLStyleElement
.class
HTMLTableCaptionElement
The JavaScript objectHTMLTableCaptionElement
.class
HTMLTableCellElement
The JavaScript object representing a TD or TH.class
HTMLTableColElement
The JavaScript objectHTMLTableColElement
.class
HTMLTableComponent
Contains attributes common to various table components.class
HTMLTableElement
The JavaScript objectHTMLTableElement
.class
HTMLTableRowElement
The JavaScript objectHTMLTableRowElement
.class
HTMLTableSectionElement
A JavaScript object representing "HTMLTableSectionElement", it is used byHtmlTableBody
,HtmlTableHeader
, andHtmlTableFooter
.class
HTMLTemplateElement
The JavaScript objectHTMLTemplateElement
.class
HTMLTextAreaElement
The JavaScript objectHTMLTextAreaElement
.class
HTMLTimeElement
The JavaScript objectHTMLTimeElement
.class
HTMLTitleElement
The JavaScript objectHTMLTitleElement
.class
HTMLTrackElement
The JavaScript objectHTMLTrackElement
.class
HTMLUListElement
The JavaScript objectHTMLUListElement
.class
HTMLUnknownElement
The JavaScript objectHTMLUnknownElement
.class
HTMLVideoElement
The JavaScript objectHTMLVideoElement
.class
RowContainer
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.svg Modifier and Type Class Description class
SVGAElement
A JavaScript object forSVGAElement
.class
SVGAnimateElement
A JavaScript object forSVGAnimateElement
.class
SVGAnimateMotionElement
A JavaScript object forSVGAnimateMotionElement
.class
SVGAnimateTransformElement
A JavaScript object forSVGAnimateTransformElement
.class
SVGAnimationElement
A JavaScript object forSVGAnimationElement
.class
SVGCircleElement
A JavaScript object forSVGCircleElement
.class
SVGClipPathElement
A JavaScript object forSVGClipPathElement
.class
SVGComponentTransferFunctionElement
A JavaScript object forSVGComponentTransferFunctionElement
.class
SVGDefsElement
A JavaScript object forSVGDefsElement
.class
SVGDescElement
A JavaScript object forSVGDescElement
.class
SVGElement
A JavaScript object forSVGElement
.class
SVGEllipseElement
A JavaScript object forSVGEllipseElement
.class
SVGFEBlendElement
A JavaScript object forSVGFEBlendElement
.class
SVGFEColorMatrixElement
A JavaScript object forSVGFEColorMatrixElement
.class
SVGFEComponentTransferElement
A JavaScript object forSVGFEComponentTransferElement
.class
SVGFECompositeElement
A JavaScript object forSVGFECompositeElement
.class
SVGFEConvolveMatrixElement
A JavaScript object forSVGFEConvolveMatrixElement
.class
SVGFEDiffuseLightingElement
A JavaScript object forSVGFEDiffuseLightingElement
.class
SVGFEDisplacementMapElement
A JavaScript object forSVGFEDisplacementMapElement
.class
SVGFEDistantLightElement
A JavaScript object forSVGFEDistantLightElement
.class
SVGFEDropShadowElement
A JavaScript object forSVGFEDropShadowElement
.class
SVGFEFloodElement
A JavaScript object forSVGFEFloodElement
.class
SVGFEFuncAElement
A JavaScript object forSVGFEFuncAElement
.class
SVGFEFuncBElement
A JavaScript object forSVGFEFuncBElement
.class
SVGFEFuncGElement
A JavaScript object forSVGFEFuncGElement
.class
SVGFEFuncRElement
A JavaScript object forSVGFEFuncRElement
.class
SVGFEGaussianBlurElement
A JavaScript object forSVGFEGaussianBlurElement
.class
SVGFEImageElement
A JavaScript object forSVGFEImageElement
.class
SVGFEMergeElement
A JavaScript object forSVGFEMergeElement
.class
SVGFEMergeNodeElement
A JavaScript object forSVGFEMergeNodeElement
.class
SVGFEMorphologyElement
A JavaScript object forSVGFEMorphologyElement
.class
SVGFEOffsetElement
A JavaScript object forSVGFEOffsetElement
.class
SVGFEPointLightElement
A JavaScript object forSVGFEPointLightElement
.class
SVGFESpecularLightingElement
A JavaScript object forSVGFESpecularLightingElement
.class
SVGFESpotLightElement
A JavaScript object forSVGFESpotLightElement
.class
SVGFETileElement
A JavaScript object forSVGFETileElement
.class
SVGFETurbulenceElement
A JavaScript object forSVGFETurbulenceElement
.class
SVGFilterElement
A JavaScript object forSVGFilterElement
.class
SVGForeignObjectElement
A JavaScript object forSVGForeignObjectElement
.class
SVGGElement
A JavaScript object forSVGGElement
.class
SVGGeometryElement
A JavaScript object forSVGGeometryElement
.class
SVGGradientElement
A JavaScript object forSVGGradientElement
.class
SVGGraphicsElement
A JavaScript object forSVGGraphicsElement
.class
SVGImageElement
A JavaScript object forSVGImageElement
.class
SVGLinearGradientElement
A JavaScript object forSVGLinearGradientElement
.class
SVGLineElement
A JavaScript object forSVGLineElement
.class
SVGMarkerElement
A JavaScript object forSVGMarkerElement
.class
SVGMaskElement
A JavaScript object forSVGMaskElement
.class
SVGMetadataElement
A JavaScript object forSVGMetadataElement
.class
SVGMPathElement
A JavaScript object forSVGMPathElement
.class
SVGPathElement
A JavaScript object forSVGPathElement
.class
SVGPatternElement
A JavaScript object forSVGPatternElement
.class
SVGPolygonElement
A JavaScript object forSVGPolygonElement
.class
SVGPolylineElement
A JavaScript object forSVGPolylineElement
.class
SVGRadialGradientElement
A JavaScript object forSVGRadialGradientElement
.class
SVGRectElement
A JavaScript object forSVGRectElement
.class
SVGScriptElement
A JavaScript object forSVGScriptElement
.class
SVGSetElement
A JavaScript object forSVGSetElement
.class
SVGStopElement
A JavaScript object forSVGStopElement
.class
SVGStyleElement
A JavaScript object forSVGStyleElement
.class
SVGSVGElement
A JavaScript object forSVGSVGElement
.class
SVGSwitchElement
A JavaScript object forSVGSwitchElement
.class
SVGSymbolElement
A JavaScript object forSVGSymbolElement
.class
SVGTextContentElement
A JavaScript object forSVGTextContentElement
.class
SVGTextElement
A JavaScript object forSVGTextElement
.class
SVGTextPathElement
A JavaScript object forSVGTextPathElement
.class
SVGTextPositioningElement
A JavaScript object forSVGTextPositioningElement
.class
SVGTitleElement
A JavaScript object forSVGTitleElement
.class
SVGTSpanElement
A JavaScript object forSVGTSpanElement
.class
SVGUseElement
A JavaScript object forSVGUseElement
.class
SVGViewElement
A JavaScript object forSVGViewElement
. -
Uses of Node in org.htmlunit.javascript.host.xml
Subclasses of Node in org.htmlunit.javascript.host.xml Modifier and Type Class Description class
XMLDocument
A JavaScript object forXMLDocument
.Fields in org.htmlunit.javascript.host.xml declared as Node Modifier and Type Field Description private Node
XSLTProcessor. style_
Methods in org.htmlunit.javascript.host.xml with parameters of type Node Modifier and Type Method Description void
XSLTProcessor. importStylesheet(Node style)
Imports the specified stylesheet into this XSLTProcessor for transformations.java.lang.String
XMLSerializer. serializeToString(Node root)
The subtree rooted by the specified element is serialized to a string.private java.lang.Object
XSLTProcessor. transform(Node source)
XMLDocument
XSLTProcessor. transformToDocument(Node source)
Transforms the node source applying the stylesheet given by the importStylesheet() function.DocumentFragment
XSLTProcessor. transformToFragment(Node source, java.lang.Object output)
Transforms the node source applying the stylesheet given by the importStylesheet() function.
-