Uses of Class
org.htmlunit.html.DomElement
-
Packages that use DomElement Package Description org.htmlunit Framework classes (contains theWebClientclass which is the main entry point).org.htmlunit.css Classes supporting Cascading Style Sheets.org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPagewhich represents an HTML document and provides access to its content.org.htmlunit.html.parser.neko Contains the neko html parser.org.htmlunit.html.xpath XPath adapter implementation for the HtmlUnit DOM.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.html Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.svg Classes specific to Scalable Vector Graphics.org.htmlunit.util Miscellaneous utilities.org.htmlunit.xml Classes specific to XML pages. -
-
Uses of DomElement in org.htmlunit
Methods in org.htmlunit that return DomElement Modifier and Type Method Description DomElementSgmlPage. getDocumentElement()Returns the document element.Methods in org.htmlunit that return types with arguments of type DomElement Modifier and Type Method Description DomNodeList<DomElement>SgmlPage. getElementsByTagName(java.lang.String tagName)DomNodeList<DomElement>SgmlPage. getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)Methods in org.htmlunit with parameters of type DomElement Modifier and Type Method Description voidSgmlPage. clearComputedStyles(DomElement element)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement.voidSgmlPage. clearComputedStylesUpToRoot(DomElement element)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElementand all parent elements.ComputedCssStyleDeclarationWebWindow. getComputedStyle(DomElement element, java.lang.String pseudoElement)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns computed style of the element.ComputedCssStyleDeclarationWebWindowImpl. getComputedStyle(DomElement element, java.lang.String pseudoElement)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns computed style of the element. -
Uses of DomElement in org.htmlunit.css
Fields in org.htmlunit.css declared as DomElement Modifier and Type Field Description private DomElementElementCssStyleDeclaration. domElement_The DomElement.Methods in org.htmlunit.css that return DomElement Modifier and Type Method Description DomElementComputedCssStyleDeclaration. getDomElement()DomElementElementCssStyleDeclaration. getDomElement()Methods in org.htmlunit.css with parameters of type DomElement Modifier and Type Method Description private static booleanCssStyleSheet. isEmpty(DomElement element)voidCssStyleSheet. modifyIfNecessary(ComputedCssStyleDeclaration style, DomElement element, java.lang.String pseudoElement)Modifies the specified style object by adding any style rules which apply to the specified element.static java.lang.StringCssPixelValueConverter. pixelString(DomElement element, CssPixelValueConverter.CssValue value)Returns the specified length CSS attribute value value as a pixel length value.private static intCssPixelValueConverter. pixelValue(DomElement element, java.lang.String styleValue, CssPixelValueConverter.CssValue value, boolean percentMode)static intCssPixelValueConverter. pixelValue(DomElement element, CssPixelValueConverter.CssValue value)Converts the specified length CSS attribute value into an integer number of pixels.(package private) static booleanCssStyleSheet. selects(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.condition.Condition condition, DomElement element, boolean fromQuerySelectorAll, boolean throwOnSyntax)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returnstrueif the specified condition selects the specified element.static booleanCssStyleSheet. selects(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.selector.Selector selector, DomElement element, java.lang.String pseudoElement, boolean fromQuerySelectorAll, boolean throwOnSyntax)Returnstrueif the specified selector selects the specified element.private java.util.List<org.htmlunit.cssparser.dom.CSSStyleSheetImpl.SelectorEntry>CssStyleSheet. selects(org.htmlunit.cssparser.dom.CSSStyleSheetImpl.CSSStyleSheetRuleIndex index, BrowserVersion browserVersion, DomElement element, java.lang.String pseudoElement, boolean fromQuerySelectorAll)private static booleanCssStyleSheet. selectsPseudoClass(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.condition.Condition condition, DomElement element)Constructors in org.htmlunit.css with parameters of type DomElement Constructor Description ElementCssStyleDeclaration(DomElement domElement)Creates an instance which backed by the given dom element. -
Uses of DomElement in org.htmlunit.html
Subclasses of DomElement in org.htmlunit.html Modifier and Type Class Description classBaseFrameElementBase class for frame and iframe.classHtmlAbbreviatedWrapper for the HTML element "abbr".classHtmlAcronymWrapper for the HTML element "acronym".classHtmlAddressWrapper for the HTML element "address".classHtmlAnchorWrapper for the HTML element "a".classHtmlAreaWrapper for the HTML element "area".classHtmlArticleWrapper for the HTML element "article".classHtmlAsideWrapper for the HTML element "aside".classHtmlAudioWrapper for the HTML element "Audio".classHtmlBackgroundSoundWrapper for the HTML element "bgsound".classHtmlBaseWrapper for the HTML element "base".classHtmlBaseFontWrapper for the HTML element "basefont".classHtmlBidirectionalIsolationWrapper for the HTML element "bdi".classHtmlBidirectionalOverrideWrapper for the HTML element "bdo".classHtmlBigWrapper for the HTML element "big".classHtmlBlinkWrapper for the HTML element "blink".classHtmlBlockQuoteWrapper for the HTML element "blockquote".classHtmlBodyWrapper for the HTML element "body".classHtmlBoldWrapper for the HTML element "b".classHtmlBreakWrapper for the HTML element "br".classHtmlButtonWrapper for the HTML element "button".classHtmlButtonInputWrapper for the HTML element "input" where type is "button".classHtmlCanvasWrapper for the HTML element "canvas".classHtmlCaptionWrapper for the HTML element "caption".classHtmlCenterWrapper for the HTML element "center".classHtmlCheckBoxInputWrapper for the HTML element "input".classHtmlCitationWrapper for the HTML element "cite".classHtmlCodeWrapper for the HTML element "code".classHtmlColorInputWrapper for the HTML element "input" where type is "color".classHtmlCommandWrapper for the HTML element "command".classHtmlDataWrapper for the HTML element "data".classHtmlDataListWrapper for the HTML element "datalist".classHtmlDateInputWrapper for the HTML element "input" where type is "date".classHtmlDateTimeLocalInputWrapper for the HTML element "input" where type is "datetime-local".classHtmlDefinitionWrapper for the HTML element "dfn".classHtmlDefinitionDescriptionWrapper for the HTML element "dd".classHtmlDefinitionListWrapper for the HTML element "dl".classHtmlDefinitionTermWrapper for the HTML element "dt".classHtmlDeletedTextWrapper for the HTML element "del".classHtmlDetailsWrapper for the HTML element "details".classHtmlDialogWrapper for the HTML element "dialog".classHtmlDirectoryWrapper for the HTML element "dir".classHtmlDivisionWrapper for the HTML element "div".classHtmlElementAn abstract wrapper for HTML elements.classHtmlEmailInputWrapper for the HTML element "input" where type is "email".classHtmlEmbedWrapper for the HTML element "embed".classHtmlEmphasisWrapper for the HTML element "em".classHtmlExampleWrapper for the HTML element "xmp".classHtmlFieldSetWrapper for the HTML element "fieldset".classHtmlFigureWrapper for the HTML element "figure".classHtmlFigureCaptionWrapper for the HTML element "figcaption".classHtmlFileInputWrapper for the HTML element "input".classHtmlFontWrapper for the HTML element "font".classHtmlFooterWrapper for the HTML element "footer".classHtmlFormWrapper for the HTML element "form".classHtmlFrameWrapper for the HTML element "frame".classHtmlFrameSetWrapper for the HTML element "frameset".classHtmlHeadWrapper for the HTML element "head".classHtmlHeaderWrapper for the HTML element "header".classHtmlHeading1Wrapper for the HTML element "h1".classHtmlHeading2Wrapper for the HTML element "h2".classHtmlHeading3Wrapper for the HTML element "h3".classHtmlHeading4Wrapper for the HTML element "h4".classHtmlHeading5Wrapper for the HTML element "h5".classHtmlHeading6Wrapper for the HTML element "h6".classHtmlHiddenInputWrapper for the HTML element "input" of type "hidden".classHtmlHorizontalRuleWrapper for the HTML element "hr".classHtmlHtmlA representation of an HTML element "html".classHtmlImageWrapper for the HTML element "img".classHtmlImageInputWrapper for the HTML element "input".classHtmlInlineFrameWrapper for the HTML element "iframe".classHtmlInlineQuotationWrapper for the HTML element "q".classHtmlInputWrapper for the HTML element "input".classHtmlInsertedTextWrapper for the HTML element "ins".classHtmlIsIndexWrapper for the HTML element "isindex".classHtmlItalicWrapper for the HTML element "i".classHtmlKeyboardWrapper for the HTML element "kbd".classHtmlLabelWrapper for the HTML element "label".classHtmlLayerWrapper for the HTML element "layer".classHtmlLegendWrapper for the HTML element "legend".classHtmlLinkWrapper for the HTML element "link".classHtmlListingWrapper for the HTML element "listing".classHtmlListItemWrapper for the HTML element "li".classHtmlMainWrapper for the HTML element "main".classHtmlMapWrapper for the HTML element "map".classHtmlMarkWrapper for the HTML element "mark".classHtmlMarqueeWrapper for the HTML element "marquee".classHtmlMediaHTML Media element, e.g.classHtmlMenuWrapper for the HTML element "menu".classHtmlMenuItemWrapper for the HTML element "menuitem".classHtmlMetaWrapper for the HTML element "meta".classHtmlMeterHTML 5 "meter" element.classHtmlMonthInputWrapper for the HTML element "input" where type is "month".classHtmlMultiColumnWrapper for the HTML element "multicol".classHtmlNavWrapper for the HTML element "nav".classHtmlNextIdWrapper for the HTML element "nextId".classHtmlNoBreakWrapper for the HTML element "nobr".classHtmlNoEmbedWrapper for the HTML element "noembed".classHtmlNoFramesWrapper for the HTML element "noframes".classHtmlNoLayerWrapper for the HTML element "nolayer".classHtmlNoScriptWrapper for the HTML element "noscript".classHtmlNumberInputWrapper for the HTML element "input" with type is "number".classHtmlObjectWrapper for the HTML element "object".classHtmlOptionWrapper for the HTML element "option".classHtmlOptionGroupWrapper for the HTML element "optgroup".classHtmlOrderedListWrapper for the HTML element "ol".classHtmlOutputWrapper for the HTML element "output".classHtmlParagraphWrapper for the HTML element "p".classHtmlParameterWrapper for the HTML element "param".classHtmlPasswordInputWrapper for the HTML element "input".classHtmlPictureWrapper for the HTML element "picture".classHtmlPlainTextWrapper for the HTML element "plaintext".classHtmlPreformattedTextWrapper for the HTML element "pre".classHtmlProgressWrapper for the HTML element "progress".classHtmlRadioButtonInputWrapper for the HTML element "input".classHtmlRangeInputWrapper for the HTML element "input" where type is "range".classHtmlRbWrapper for the HTML element "rb".classHtmlResetInputWrapper for the HTML element "input".classHtmlRpWrapper for the HTML element "rp".classHtmlRtWrapper for the HTML element "rt".classHtmlRtcWrapper for the HTML element "rtc".classHtmlRubyWrapper for the HTML element "ruby".classHtmlSWrapper for the HTML element "s", a strike-through text style.classHtmlSampleWrapper for the HTML element "samp".classHtmlScriptWrapper for the HTML element "script".
When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree.classHtmlSearchInputWrapper for the HTML element "input" where type is "search".classHtmlSectionWrapper for the HTML element "section".classHtmlSelectWrapper for the HTML element "select".classHtmlSelectableTextInputAbstract parent class to shareSelectableTextInputimplementation and typing support.classHtmlSlotWrapper for the HTML element "slot".classHtmlSmallWrapper for the HTML element "small".classHtmlSourceWrapper for the HTML element "source".classHtmlSpanWrapper for the HTML element "span".classHtmlStrikeWrapper for the HTML element "strike".classHtmlStrongWrapper for the HTML element "strong".classHtmlStyleWrapper for the HTML element "style".classHtmlSubmitInputWrapper for the HTML element "input".classHtmlSubscriptWrapper for the HTML element "sub".classHtmlSummaryWrapper for the HTML element "summary".classHtmlSuperscriptWrapper for the HTML element "sup".classHtmlSvgWrapper for the SVG elementsvg.classHtmlTableWrapper for the HTML element "table".classHtmlTableBodyWrapper for the HTML element "tbody".classHtmlTableCellAn abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.classHtmlTableColumnWrapper for the HTML element "col".classHtmlTableColumnGroupWrapper for the HTML element "colgroup".classHtmlTableDataCellWrapper for the HTML element "td".classHtmlTableFooterWrapper for the HTML element "tfoot".classHtmlTableHeaderWrapper for the HTML element "thead".classHtmlTableHeaderCellWrapper for the HTML "th" tag.classHtmlTableRowWrapper for the HTML element "tr".classHtmlTeletypeWrapper for the HTML element "tt".classHtmlTelInputWrapper for the HTML element "input" where type is "tel".classHtmlTemplateWrapper for the HTML element "template".classHtmlTextAreaWrapper for the HTML element "textarea".classHtmlTextInputWrapper for the HTML element "input" with type="text".classHtmlTimeWrapper for the HTML element "time".classHtmlTimeInputWrapper for the HTML element "input" where type is "time".classHtmlTitleWrapper for the HTML element "title".classHtmlTrackWrapper for the HTML element "track".classHtmlUnderlinedWrapper for the HTML element "u".classHtmlUnknownElementAn element that is returned for an HTML tag that is not supported by this framework.classHtmlUnorderedListWrapper for the HTML element "ul".classHtmlUrlInputWrapper for the HTML element "input" where type is "url".classHtmlVariableWrapper for the HTML element "var".classHtmlVideoWrapper for the HTML element "video".classHtmlWeekInputWrapper for the HTML element "input" where type is "week".classHtmlWordBreakWrapper for the HTML element "wbr".classTableRowGroupSuperclass for the wrappers for the HTML elements "thead", "tbody" and "tfoot".Fields in org.htmlunit.html declared as DomElement Modifier and Type Field Description private DomElementNamedAttrNodeMapImpl. domNode_private DomElementHtmlPage. elementWithFocus_private DomElementDomElement.ChildElementsIterator. nextElement_Fields in org.htmlunit.html with type parameters of type DomElement Modifier and Type Field Description private java.util.WeakHashMap<DomElement,java.util.Map<java.lang.String,ComputedCssStyleDeclaration>>HtmlPage.ComputedStylesCache. computedStyles_private static java.util.Comparator<DomElement>HtmlPage. documentPositionComparatorprivate java.util.Map<java.lang.String,java.util.SortedSet<DomElement>>HtmlPage. idMap_private java.util.Iterator<DomElement>DomElement.ChildElementsIterable. iterator_private java.util.Map<java.lang.String,java.util.SortedSet<DomElement>>HtmlPage. nameMap_Methods in org.htmlunit.html with type parameters of type DomElement Modifier and Type Method Description <E extends DomElement>
EHtmlPage. getElementByName(java.lang.String name)Returns the element with the specified name.Methods in org.htmlunit.html that return DomElement Modifier and Type Method Description DomElementDomNode. closest(java.lang.String selectorString)DomElementElementFactory. createElement(SgmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)Creates an element according to this factory's specification.DomElementHtmlPage. createElement(java.lang.String tagName)DomElementElementFactory. createElementNS(SgmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedName, org.xml.sax.Attributes attributes)Creates an element according to this factory's specification.DomElementElementFactory. createElementNS(SgmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedName, org.xml.sax.Attributes attributes, boolean checkBrowserCompatibility)Creates an element according to this factory's specification.DomElementHtmlPage. createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)DomElementHtmlPage. getElementById(java.lang.String elementId)private static DomElementHtmlPage. getFirstChildElement(DomElement startElement, java.lang.Class<?> clazz)Gets the first child of startElement that is an instance of the given class.private DomElementHtmlPage. getFirstChildElementRecursive(DomElement startElement, java.lang.Class<?> clazz)Gets the first child of startElement or it's children that is an instance of the given class.DomElementDomElement. getFirstElementChild()Returns the first child element node of this element.DomElementHtmlPage. getFocusedElement()Returns the element with the focus or null if no element has the focus.DomElementDomElement. getLastElementChild()Returns the last child element node of this element.DomElementDomNode. getNextElementSibling()Returns the next sibling element node of this element.DomElementDomAttr. getOwnerElement()DomElementDomNode. getPreviousElementSibling()Returns the previous sibling element node of this element.DomElementDomElement.ChildElementsIterator. next()DomElementHtmlPage. pressAccessKey(char accessKey)Simulate pressing an access key.Methods in org.htmlunit.html that return types with arguments of type DomElement Modifier and Type Method Description java.lang.Iterable<DomElement>DomElement. getChildElements()java.lang.Iterable<DomElement>DomNode. getDomElementDescendants()Returns anIterablethat will recursively iterate over all of this node'sDomElementdescendants.java.util.List<DomElement>HtmlPage. getElementsById(java.lang.String elementId)Returns the elements with the specified ID.java.util.List<DomElement>HtmlPage. getElementsByIdAndOrName(java.lang.String idAndOrName)Returns the elements with the specified string for their name or ID.java.util.List<DomElement>HtmlPage. getElementsByName(java.lang.String name)Returns the elements with the specified name attribute.java.util.Iterator<DomElement>DomElement.ChildElementsIterable. iterator()Methods in org.htmlunit.html with parameters of type DomElement Modifier and Type Method Description private voidHtmlPage. addElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)(package private) voidHtmlPage. addMappedElement(DomElement element)Adds an element to the ID and name maps, if necessary.(package private) voidHtmlPage. addMappedElement(DomElement element, boolean recurse)Adds an element to the ID and name maps, if necessary.java.lang.StringXmlSerializer. asXml(DomElement node)voidHtmlPage. clearComputedStyles(DomElement element)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement.voidHtmlPage. clearComputedStylesUpToRoot(DomElement element)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElementand all parent elements.intHtmlPage.DocumentPositionComparator. compare(DomElement elt1, DomElement elt2)private static voidScriptElementSupport. executeEvent(DomElement element, java.lang.String type)private static voidScriptElementSupport. executeInlineScriptIfNeeded(DomElement element)Executes this script node as inline script if necessary and/or possible.static voidScriptElementSupport. executeScriptIfNeeded(DomElement element, boolean ignoreAttachedToPage, boolean ignorePageIsAncestor)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Executes this script node if necessary and/or possible.ComputedCssStyleDeclarationHtmlPage.ComputedStylesCache. get(DomElement element, java.lang.String normalizedPseudo)private static DomElementHtmlPage. getFirstChildElement(DomElement startElement, java.lang.Class<?> clazz)Gets the first child of startElement that is an instance of the given class.private DomElementHtmlPage. getFirstChildElementRecursive(DomElement startElement, java.lang.Class<?> clazz)Gets the first child of startElement or it's children that is an instance of the given class.private static java.lang.StringScriptElementSupport. getScriptCode(DomElement element)Gets the script held within the script tag.ComputedCssStyleDeclarationHtmlPage. getStyleFromCache(DomElement element, java.lang.String normalizedPseudo)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected booleanXmlSerializer. isExcluded(DomElement element)private static booleanScriptElementSupport. isExecutionNeeded(DomElement element, boolean ignoreAttachedToPage, boolean ignorePageIsAncestor)Indicates if script execution is necessary and/or possible.static booleanScriptElementSupport. isJavaScript(DomElement element, java.lang.String typeAttribute, java.lang.String languageAttribute)Returns true if a script with the specified type and language attributes is actually JavaScript.static voidScriptElementSupport. onAllChildrenAddedToPage(DomElement element, boolean postponed)Lifecycle method invoked after a node and all its children have been added to a page, during parsing of the HTML.protected voidXmlSerializer. printOpeningTag(DomElement node)Prints the content between "<" and ">" (or "/>") in the output of the tag name and its attributes in XML format.protected voidXmlSerializer. printXml(DomElement node)voidHtmlPage.ComputedStylesCache. put(DomElement element, java.lang.String normalizedPseudo, ComputedCssStyleDeclaration style)voidHtmlPage. putStyleIntoCache(DomElement element, java.lang.String normalizedPseudo, ComputedCssStyleDeclaration style)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Caches a CSS2Properties object.private java.util.Map<java.lang.String,DomAttr>XmlSerializer. readAttributes(DomElement node)private voidHtmlPage. removeElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)(package private) voidHtmlPage. removeMappedElement(DomElement element, boolean recurse, boolean descendant)Removes an element and optionally its children from the ID and name maps, if necessary.voidHtmlPage. setElementWithFocus(DomElement elementWithFocus)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.booleanHtmlPage. setFocusedElement(DomElement newElement)Moves the focus to the specified element.booleanHtmlPage. setFocusedElement(DomElement newElement, boolean windowActivated)Moves the focus to the specified element.Method parameters in org.htmlunit.html with type arguments of type DomElement Modifier and Type Method Description private voidHtmlPage. addElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)private voidHtmlPage. removeElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)Constructors in org.htmlunit.html with parameters of type DomElement Constructor Description NamedAttrNodeMapImpl(DomElement domNode, boolean caseSensitive)NamedAttrNodeMapImpl(DomElement domNode, boolean caseSensitive, java.util.Map<java.lang.String,DomAttr> attributes) -
Uses of DomElement in org.htmlunit.html.parser.neko
Methods in org.htmlunit.html.parser.neko with parameters of type DomElement Modifier and Type Method Description private voidHtmlUnitNekoDOMBuilder. addNodeToRightParent(DomNode currentNode, DomElement newElement)Adds the new node to the right parent that is not necessary the currentNode in case of malformed HTML code.private static voidHtmlUnitNekoDOMBuilder. copyAttributes(DomElement to, org.htmlunit.cyberneko.xerces.xni.XMLAttributes attrs) -
Uses of DomElement in org.htmlunit.html.xpath
Methods in org.htmlunit.html.xpath with parameters of type DomElement Modifier and Type Method Description private java.lang.StringHtmlUnitPrefixResolver. getNamespace(DomElement element, java.lang.String prefix) -
Uses of DomElement in org.htmlunit.javascript.host
Methods in org.htmlunit.javascript.host that return DomElement Modifier and Type Method Description DomElementElement. getDomNodeOrDie()Returns the DOM node that corresponds to this JavaScript object or throw an exception if one cannot be found.Constructors in org.htmlunit.javascript.host with parameters of type DomElement Constructor Description NamedNodeMap(DomElement element)Creates a new named node map for the specified element. -
Uses of DomElement in org.htmlunit.javascript.host.html
Subclasses of DomElement in org.htmlunit.javascript.host.html Modifier and Type Class Description static classHTMLElement.ProxyDomNodeProxyDomNode.Constructors in org.htmlunit.javascript.host.html with parameters of type DomElement Constructor Description LabelsNodeList(DomElement domeNode)Creates an instance. -
Uses of DomElement in org.htmlunit.svg
Subclasses of DomElement in org.htmlunit.svg Modifier and Type Class Description classSvgAltGlyphWrapper for the SVG elementaltGlyph.classSvgAltGlyphDefWrapper for the SVG elementaltGlyphDef.classSvgAltGlyphItemWrapper for the SVG elementaltGlyphItem.classSvgAnchorWrapper for the SVG elementa.classSvgAnimateWrapper for the SVG elementanimate.classSvgAnimateColorWrapper for the SVG elementanimateColor.classSvgAnimateMotionWrapper for the SVG elementanimateMotion.classSvgAnimateTransformWrapper for the SVG elementanimateTransform.classSvgCircleWrapper for the SVG elementcircle.classSvgClipPathWrapper for the SVG elementclipPath.classSvgColorProfileWrapper for the SVG element "color-profile".classSvgCursorWrapper for the SVG elementcursor.classSvgDefsWrapper for the SVG elementdefs.classSvgDescWrapper for the SVG elementdesc.classSvgElementParent elements of all SVG elements, and wrapper for any unknown one.classSvgEllipseWrapper for the SVG elementellipse.classSvgFeBlendWrapper for the SVG elementfeBlend.classSvgFeColorMatrixWrapper for the SVG elementfeColorMatrix.classSvgFeComponentTransferWrapper for the SVG elementfeComponentTransfer.classSvgFeCompositeWrapper for the SVG elementfeComposite.classSvgFeConvolveMatrixWrapper for the SVG elementfeConvolveMatrix.classSvgFeDiffuseLightingWrapper for the SVG elementfeDiffuseLighting.classSvgFeDisplacementMapWrapper for the SVG elementfeDisplacementMap.classSvgFeDistantLightWrapper for the SVG elementfeDistantLight.classSvgFeFloodWrapper for the SVG elementfeFlood.classSvgFeFuncAWrapper for the SVG elementfeFuncA.classSvgFeFuncBWrapper for the SVG elementfeFuncB.classSvgFeFuncGWrapper for the SVG elementfeFuncG.classSvgFeFuncRWrapper for the SVG elementfeFuncR.classSvgFeGaussianBlurWrapper for the SVG elementfeGaussianBlur.classSvgFeImageWrapper for the SVG elementfeImage.classSvgFeMergeWrapper for the SVG elementfeMerge.classSvgFeMergeNodeWrapper for the SVG elementfeMergeNode.classSvgFeMorphologyWrapper for the SVG elementfeMorphology.classSvgFeOffsetWrapper for the SVG elementfeOffset.classSvgFePointLightWrapper for the SVG elementfePointLight.classSvgFeSpecularLightingWrapper for the SVG elementfeSpecularLighting.classSvgFeSpotLightWrapper for the SVG elementfeSpotLight.classSvgFeTileWrapper for the SVG elementfeTile.classSvgFeTurbulenceWrapper for the SVG elementfeTurbulence.classSvgFilterWrapper for the SVG elementfilter.classSvgFontWrapper for the SVG elementfont.classSvgFontFaceWrapper for the SVG element "font-face".classSvgFontFaceFormatWrapper for the SVG element "font-face-format".classSvgFontFaceNameWrapper for the SVG element "font-face-name".classSvgFontFaceSrcWrapper for the SVG element "font-face-src".classSvgFontFaceURIWrapper for the SVG element "font-face-uri".classSvgForeignObjectWrapper for the SVG elementforeignObject.classSvgGlyphWrapper for the SVG elementglyph.classSvgGlyphRefWrapper for the SVG elementglyphRef.classSvgGroupWrapper for the SVG elementg.classSvgHKernWrapper for the SVG elementhkern.classSvgImageWrapper for the SVG elementimage.classSvgLineWrapper for the SVG elementline.classSvgLinearGradientWrapper for the SVG elementlinearGradient.classSvgMarkerWrapper for the SVG elementmarker.classSvgMaskWrapper for the SVG elementmask.classSvgMetadataWrapper for the SVG elementmetadata.classSvgMissingGlyphWrapper for the SVG element "missing-glyph".classSvgMPathWrapper for the SVG elementmpath.classSvgPathWrapper for the SVG elementpath.classSvgPatternWrapper for the SVG elementpattern.classSvgPolygonWrapper for the SVG elementpolygon.classSvgPolylineWrapper for the SVG elementpolyline.classSvgRadialGradientWrapper for the SVG elementradialGradient.classSvgRectWrapper for the SVG elementrect.classSvgScriptWrapper for the SVG elementscript.classSvgSetWrapper for the SVG elementset.classSvgStopWrapper for the SVG elementstop.classSvgStyleWrapper for the SVG elementstyle.classSvgSwitchWrapper for the SVG elementswitch.classSvgSymbolWrapper for the SVG elementsymbol.classSvgTextWrapper for the SVG elementtext.classSvgTextPathWrapper for the SVG elementtextPath.classSvgTitleWrapper for the SVG elementtitle.classSvgTRefWrapper for the SVG elementtref.classSvgTSpanWrapper for the SVG elementtspan.classSvgUseWrapper for the SVG elementuse.classSvgViewWrapper for the SVG elementview.classSvgVKernWrapper for the SVG elementvkern.Methods in org.htmlunit.svg that return DomElement Modifier and Type Method Description DomElementSvgElementFactory. createElement(SgmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)Creates an element according to this factory's specification.DomElementSvgElementFactory. createElementNS(SgmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedName, org.xml.sax.Attributes attributes)Creates an element according to this factory's specification.DomElementSvgElementFactory. createElementNS(SgmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedNameLC, org.xml.sax.Attributes attributes, boolean checkBrowserCompatibility)Creates an element according to this factory's specification. -
Uses of DomElement in org.htmlunit.util
Methods in org.htmlunit.util with parameters of type DomElement Modifier and Type Method Description static java.lang.StringXmlUtils. lookupNamespaceURI(DomElement element, java.lang.String prefix)Search for the namespace URI of the given prefix, starting from the specified element.static java.lang.StringXmlUtils. lookupPrefix(DomElement element, java.lang.String namespace)Search for the prefix associated with specified namespace URI. -
Uses of DomElement in org.htmlunit.xml
Methods in org.htmlunit.xml that return DomElement Modifier and Type Method Description DomElementXmlPage. createElement(java.lang.String tagName)DomElementXmlPage. createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
-