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.
|
Modifier and Type | Class and Description |
---|---|
class |
Element
A JavaScript object for
Element . |
Modifier and Type | Method and Description |
---|---|
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Gets the specified attribute.
|
Node |
Element.querySelector(String selectors)
Returns the first element within the document that matches the specified group of selectors.
|
Modifier and Type | Method and Description |
---|---|
void |
NamedNodeMap.setNamedItem(Node node)
Sets the specified attribute.
|
void |
NamedNodeMap.setNamedItemNS(Node node)
Sets the specified attribute.
|
Modifier and Type | Class and Description |
---|---|
class |
Attr
A JavaScript object for
Attr . |
class |
CDATASection
A JavaScript object for
CDATASection . |
class |
CharacterData
A JavaScript object for
CharacterData . |
class |
Comment
A JavaScript object for
Comment . |
class |
Document
A JavaScript object for
Document . |
class |
DocumentFragment
A JavaScript object for
DocumentFragment . |
class |
DocumentType
A JavaScript object for
DocumentType . |
class |
ProcessingInstruction
A JavaScript object for
ProcessingInstruction . |
class |
ShadowRoot
A JavaScript object for
ShadowRoot . |
class |
Text
A JavaScript object for
Text . |
Modifier and Type | Method and 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 |
Node.getFirstChild()
Gets the JavaScript property
firstChild for the node that
contains the current node. |
Node |
Attr.getFirstChild()
Gets the JavaScript property
firstChild 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 |
Node.getLastChild()
Gets the JavaScript property
lastChild for the node that
contains the current node. |
Node |
Attr.getLastChild()
Gets the JavaScript property
lastChild for the node that
contains the current node. |
Node |
Node.getNextSibling()
Gets the JavaScript property
nextSibling for the node that
contains the current node. |
Node |
MutationRecord.getNextSibling() |
Node |
Node.getParent()
Returns this node's parent node.
|
Node |
Attr.getParentNode()
Gets the JavaScript property
parentNode for the node that
contains the current node. |
Node |
Node.getPreviousSibling()
Gets the JavaScript property
previousSibling for the node that
contains the current node. |
Node |
MutationRecord.getPreviousSibling() |
Node |
TreeWalker.getRoot()
Gets the root node of the TreeWalker, as specified when it was created.
|
Node |
NodeIterator.getRoot()
Returns the root node.
|
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 or
null 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 |
TreeWalker.nextNode()
Moves the TreeWalker to the next visible node in document order
relative to 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.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 |
TreeWalker.previousNode()
Moves the TreeWalker to the previous visible node in document order
relative to the current node, and returns the new node.
|
Node |
NodeIterator.previousNode()
Returns the previous Node in the document, or null if there are none.
|
Node |
TreeWalker.previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and
returns the new node.
|
Node |
DocumentFragment.querySelector(String selectors)
Returns the first element within the document that matches the specified group of selectors.
|
Node |
Document.querySelector(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.
|
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
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.
|
Object |
Document.createTreeWalker(Node root,
double whatToShow,
org.htmlunit.corejs.javascript.Scriptable filter,
boolean expandEntityReferences)
Creates and returns a new TreeWalker.
|
XPathResult |
Document.evaluate(String expression,
Node contextNode,
Object resolver,
int type,
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.
|
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)
Sets the end container.
|
protected void |
AbstractRange.internSetStartContainer(Node startContainer)
Sets the start container.
|
boolean |
Node.isEqualNode(Node other)
Check if 2 nodes are equals.
|
void |
MutationObserver.observe(Node node,
org.htmlunit.corejs.javascript.NativeObject options)
Registers the
MutationObserver 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.
|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
Audio
The JavaScript object
Audio . |
class |
HTMLAnchorElement
The JavaScript object that represents an anchor.
|
class |
HTMLAreaElement
The JavaScript object
HTMLAreaElement . |
class |
HTMLAudioElement
The JavaScript object
HTMLAudioElement . |
class |
HTMLBaseElement
The JavaScript object
HTMLBaseElement . |
class |
HTMLBodyElement
The JavaScript object
HTMLBodyElement . |
class |
HTMLBRElement
The JavaScript object
HTMLBRElement . |
class |
HTMLButtonElement
The JavaScript object that represents a
HtmlButton (<button type=... |
class |
HTMLCanvasElement
The JavaScript object
HTMLCanvasElement . |
class |
HTMLDataElement
The JavaScript object
HTMLDataElement . |
class |
HTMLDataListElement
The JavaScript object
HTMLDataListElement . |
class |
HTMLDetailsElement
The JavaScript object
HTMLDetailsElement . |
class |
HTMLDialogElement
The JavaScript object
HTMLDialogElement . |
class |
HTMLDirectoryElement
The JavaScript object
HTMLDirectoryElement . |
class |
HTMLDivElement
The JavaScript object
HTMLDivElement . |
class |
HTMLDListElement
The JavaScript object
HTMLDListElement . |
class |
HTMLDocument
A JavaScript object for
HTMLDocument . |
class |
HTMLElement
The JavaScript object
HTMLElement which is the base class for all HTML
objects. |
class |
HTMLEmbedElement
The JavaScript object
HTMLEmbedElement . |
class |
HTMLFieldSetElement
The JavaScript object
HTMLFieldSetElement . |
class |
HTMLFontElement
The JavaScript object
HTMLFontElement . |
class |
HTMLFormElement
A JavaScript object
HTMLFormElement . |
class |
HTMLFrameElement
The JavaScript object
HTMLFrameElement . |
class |
HTMLFrameSetElement
The JavaScript object
HTMLFrameSetElement . |
class |
HTMLHeadElement
The JavaScript object
HTMLHeadElement . |
class |
HTMLHeadingElement
The JavaScript object
HTMLHeadingElement . |
class |
HTMLHRElement
The JavaScript object
HTMLHRElement . |
class |
HTMLHtmlElement
The JavaScript object
HTMLHtmlElement . |
class |
HTMLIFrameElement
A JavaScript object for
HtmlInlineFrame . |
class |
HTMLImageElement
The JavaScript object
HTMLImageElement . |
class |
HTMLInputElement
The JavaScript object for
HtmlInput . |
class |
HTMLLabelElement
A JavaScript object for
HTMLLabelElement . |
class |
HTMLLegendElement
The JavaScript object
HTMLLegendElement . |
class |
HTMLLIElement
The JavaScript object
HTMLLIElement . |
class |
HTMLLinkElement
The JavaScript object
HTMLLinkElement . |
class |
HTMLListElement
Base class for list-type elements (
ul , ol , dir , etc). |
class |
HTMLMapElement
The JavaScript object
HTMLMapElement . |
class |
HTMLMarqueeElement
The JavaScript object
HTMLMarqueeElement . |
class |
HTMLMediaElement
The JavaScript object
HTMLMediaElement . |
class |
HTMLMenuElement
The JavaScript object
HTMLMenuElement . |
class |
HTMLMetaElement
The JavaScript object
HTMLMetaElement . |
class |
HTMLMeterElement
The JavaScript object
HTMLMeterElement . |
class |
HTMLModElement
The JavaScript object
HTMLModElement . |
class |
HTMLObjectElement
The JavaScript object
HTMLObjectElement . |
class |
HTMLOListElement
The JavaScript object
HTMLOListElement . |
class |
HTMLOptGroupElement
The JavaScript object
HTMLOptGroupElement . |
class |
HTMLOptionElement
The JavaScript object for
HtmlOption . |
class |
HTMLOutputElement
The JavaScript object
HTMLOutputElement . |
class |
HTMLParagraphElement
The JavaScript object
HTMLParagraphElement . |
class |
HTMLParamElement
The JavaScript object
HTMLParamElement . |
class |
HTMLPictureElement
The JavaScript object
HTMLPictureElement . |
class |
HTMLPreElement
The JavaScript object
HTMLPreElement . |
class |
HTMLProgressElement
The JavaScript object
HTMLProgressElement . |
class |
HTMLQuoteElement
The JavaScript object
HTMLQuoteElement . |
class |
HTMLScriptElement
The JavaScript object that represents an
HTMLScriptElement . |
class |
HTMLSelectElement
The JavaScript object for
HtmlSelect . |
class |
HTMLSlotElement
A JavaScript object for
HTMLSlotElement . |
class |
HTMLSourceElement
The JavaScript object
HTMLSourceElement . |
class |
HTMLSpanElement
The JavaScript object
HTMLSpanElement . |
class |
HTMLStyleElement
The JavaScript object
HTMLStyleElement . |
class |
HTMLTableCaptionElement
The JavaScript object
HTMLTableCaptionElement . |
class |
HTMLTableCellElement
The JavaScript object representing a TD or TH.
|
class |
HTMLTableColElement
The JavaScript object
HTMLTableColElement . |
class |
HTMLTableComponent
Contains attributes common to various table components.
|
class |
HTMLTableElement
The JavaScript object
HTMLTableElement . |
class |
HTMLTableRowElement
The JavaScript object
HTMLTableRowElement . |
class |
HTMLTableSectionElement
A JavaScript object representing "HTMLTableSectionElement", it is used by
HtmlTableBody , HtmlTableHeader , and HtmlTableFooter . |
class |
HTMLTemplateElement
The JavaScript object
HTMLTemplateElement . |
class |
HTMLTextAreaElement
The JavaScript object
HTMLTextAreaElement . |
class |
HTMLTimeElement
The JavaScript object
HTMLTimeElement . |
class |
HTMLTitleElement
The JavaScript object
HTMLTitleElement . |
class |
HTMLTrackElement
The JavaScript object
HTMLTrackElement . |
class |
HTMLUListElement
The JavaScript object
HTMLUListElement . |
class |
HTMLUnknownElement
The JavaScript object
HTMLUnknownElement . |
class |
HTMLVideoElement
The JavaScript object
HTMLVideoElement . |
class |
RowContainer
Superclass for all row-containing JavaScript host classes, including tables,
table headers, table bodies and table footers.
|
Modifier and Type | Class and Description |
---|---|
class |
SVGAElement
A JavaScript object for
SVGAElement . |
class |
SVGAnimateElement
A JavaScript object for
SVGAnimateElement . |
class |
SVGAnimateMotionElement
A JavaScript object for
SVGAnimateMotionElement . |
class |
SVGAnimateTransformElement
A JavaScript object for
SVGAnimateTransformElement . |
class |
SVGAnimationElement
A JavaScript object for
SVGAnimationElement . |
class |
SVGCircleElement
A JavaScript object for
SVGCircleElement . |
class |
SVGClipPathElement
A JavaScript object for
SVGClipPathElement . |
class |
SVGComponentTransferFunctionElement
A JavaScript object for
SVGComponentTransferFunctionElement . |
class |
SVGDefsElement
A JavaScript object for
SVGDefsElement . |
class |
SVGDescElement
A JavaScript object for
SVGDescElement . |
class |
SVGElement
A JavaScript object for
SVGElement . |
class |
SVGEllipseElement
A JavaScript object for
SVGEllipseElement . |
class |
SVGFEBlendElement
A JavaScript object for
SVGFEBlendElement . |
class |
SVGFEColorMatrixElement
A JavaScript object for
SVGFEColorMatrixElement . |
class |
SVGFEComponentTransferElement
A JavaScript object for
SVGFEComponentTransferElement . |
class |
SVGFECompositeElement
A JavaScript object for
SVGFECompositeElement . |
class |
SVGFEConvolveMatrixElement
A JavaScript object for
SVGFEConvolveMatrixElement . |
class |
SVGFEDiffuseLightingElement
A JavaScript object for
SVGFEDiffuseLightingElement . |
class |
SVGFEDisplacementMapElement
A JavaScript object for
SVGFEDisplacementMapElement . |
class |
SVGFEDistantLightElement
A JavaScript object for
SVGFEDistantLightElement . |
class |
SVGFEDropShadowElement
A JavaScript object for
SVGFEDropShadowElement . |
class |
SVGFEFloodElement
A JavaScript object for
SVGFEFloodElement . |
class |
SVGFEFuncAElement
A JavaScript object for
SVGFEFuncAElement . |
class |
SVGFEFuncBElement
A JavaScript object for
SVGFEFuncBElement . |
class |
SVGFEFuncGElement
A JavaScript object for
SVGFEFuncGElement . |
class |
SVGFEFuncRElement
A JavaScript object for
SVGFEFuncRElement . |
class |
SVGFEGaussianBlurElement
A JavaScript object for
SVGFEGaussianBlurElement . |
class |
SVGFEImageElement
A JavaScript object for
SVGFEImageElement . |
class |
SVGFEMergeElement
A JavaScript object for
SVGFEMergeElement . |
class |
SVGFEMergeNodeElement
A JavaScript object for
SVGFEMergeNodeElement . |
class |
SVGFEMorphologyElement
A JavaScript object for
SVGFEMorphologyElement . |
class |
SVGFEOffsetElement
A JavaScript object for
SVGFEOffsetElement . |
class |
SVGFEPointLightElement
A JavaScript object for
SVGFEPointLightElement . |
class |
SVGFESpecularLightingElement
A JavaScript object for
SVGFESpecularLightingElement . |
class |
SVGFESpotLightElement
A JavaScript object for
SVGFESpotLightElement . |
class |
SVGFETileElement
A JavaScript object for
SVGFETileElement . |
class |
SVGFETurbulenceElement
A JavaScript object for
SVGFETurbulenceElement . |
class |
SVGFilterElement
A JavaScript object for
SVGFilterElement . |
class |
SVGForeignObjectElement
A JavaScript object for
SVGForeignObjectElement . |
class |
SVGGElement
A JavaScript object for
SVGGElement . |
class |
SVGGeometryElement
A JavaScript object for
SVGGeometryElement . |
class |
SVGGradientElement
A JavaScript object for
SVGGradientElement . |
class |
SVGGraphicsElement
A JavaScript object for
SVGGraphicsElement . |
class |
SVGImageElement
A JavaScript object for
SVGImageElement . |
class |
SVGLinearGradientElement
A JavaScript object for
SVGLinearGradientElement . |
class |
SVGLineElement
A JavaScript object for
SVGLineElement . |
class |
SVGMarkerElement
A JavaScript object for
SVGMarkerElement . |
class |
SVGMaskElement
A JavaScript object for
SVGMaskElement . |
class |
SVGMetadataElement
A JavaScript object for
SVGMetadataElement . |
class |
SVGMPathElement
A JavaScript object for
SVGMPathElement . |
class |
SVGPathElement
A JavaScript object for
SVGPathElement . |
class |
SVGPatternElement
A JavaScript object for
SVGPatternElement . |
class |
SVGPolygonElement
A JavaScript object for
SVGPolygonElement . |
class |
SVGPolylineElement
A JavaScript object for
SVGPolylineElement . |
class |
SVGRadialGradientElement
A JavaScript object for
SVGRadialGradientElement . |
class |
SVGRectElement
A JavaScript object for
SVGRectElement . |
class |
SVGScriptElement
A JavaScript object for
SVGScriptElement . |
class |
SVGSetElement
A JavaScript object for
SVGSetElement . |
class |
SVGStopElement
A JavaScript object for
SVGStopElement . |
class |
SVGStyleElement
A JavaScript object for
SVGStyleElement . |
class |
SVGSVGElement
A JavaScript object for
SVGSVGElement . |
class |
SVGSwitchElement
A JavaScript object for
SVGSwitchElement . |
class |
SVGSymbolElement
A JavaScript object for
SVGSymbolElement . |
class |
SVGTextContentElement
A JavaScript object for
SVGTextContentElement . |
class |
SVGTextElement
A JavaScript object for
SVGTextElement . |
class |
SVGTextPathElement
A JavaScript object for
SVGTextPathElement . |
class |
SVGTextPositioningElement
A JavaScript object for
SVGTextPositioningElement . |
class |
SVGTitleElement
A JavaScript object for
SVGTitleElement . |
class |
SVGTSpanElement
A JavaScript object for
SVGTSpanElement . |
class |
SVGUseElement
A JavaScript object for
SVGUseElement . |
class |
SVGViewElement
A JavaScript object for
SVGViewElement . |
Modifier and Type | Class and Description |
---|---|
class |
XMLDocument
A JavaScript object for
XMLDocument . |
Modifier and Type | Method and Description |
---|---|
void |
XSLTProcessor.importStylesheet(Node style)
Imports the specified stylesheet into this XSLTProcessor for transformations.
|
String |
XMLSerializer.serializeToString(Node root)
The subtree rooted by the specified element is serialized to a string.
|
XMLDocument |
XSLTProcessor.transformToDocument(Node source)
Transforms the node source applying the stylesheet given by the importStylesheet() function.
|
DocumentFragment |
XSLTProcessor.transformToFragment(Node source,
Object output)
Transforms the node source applying the stylesheet given by the importStylesheet() function.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.