Uses of Class
org.htmlunit.html.DomElement
-
Packages that use DomElement Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.css Classes supporting Cascading Style Sheets.org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which 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 DomElement
SgmlPage. 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 void
SgmlPage. clearComputedStyles(DomElement element)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
.void
SgmlPage. clearComputedStylesUpToRoot(DomElement element)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
and all parent elements.ComputedCssStyleDeclaration
WebWindow. 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.ComputedCssStyleDeclaration
WebWindowImpl. 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 DomElement
ElementCssStyleDeclaration. domElement_
The DomElement.Methods in org.htmlunit.css that return DomElement Modifier and Type Method Description DomElement
ComputedCssStyleDeclaration. getDomElement()
DomElement
ElementCssStyleDeclaration. getDomElement()
Methods in org.htmlunit.css with parameters of type DomElement Modifier and Type Method Description private static boolean
CssStyleSheet. isEmpty(DomElement element)
void
CssStyleSheet. 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.String
CssPixelValueConverter. pixelString(DomElement element, CssPixelValueConverter.CssValue value)
Returns the specified length CSS attribute value value as a pixel length value.private static int
CssPixelValueConverter. pixelValue(DomElement element, java.lang.String styleValue, CssPixelValueConverter.CssValue value, boolean percentMode)
static int
CssPixelValueConverter. pixelValue(DomElement element, CssPixelValueConverter.CssValue value)
Converts the specified length CSS attribute value into an integer number of pixels.(package private) static boolean
CssStyleSheet. 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.
Returnstrue
if the specified condition selects the specified element.static boolean
CssStyleSheet. selects(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.selector.Selector selector, DomElement element, java.lang.String pseudoElement, boolean fromQuerySelectorAll, boolean throwOnSyntax)
Returnstrue
if 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 boolean
CssStyleSheet. 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 class
BaseFrameElement
Base class for frame and iframe.class
HtmlAbbreviated
Wrapper for the HTML element "abbr".class
HtmlAcronym
Wrapper for the HTML element "acronym".class
HtmlAddress
Wrapper for the HTML element "address".class
HtmlAnchor
Wrapper for the HTML element "a".class
HtmlArea
Wrapper for the HTML element "area".class
HtmlArticle
Wrapper for the HTML element "article".class
HtmlAside
Wrapper for the HTML element "aside".class
HtmlAudio
Wrapper for the HTML element "Audio".class
HtmlBackgroundSound
Wrapper for the HTML element "bgsound".class
HtmlBase
Wrapper for the HTML element "base".class
HtmlBaseFont
Wrapper for the HTML element "basefont".class
HtmlBidirectionalIsolation
Wrapper for the HTML element "bdi".class
HtmlBidirectionalOverride
Wrapper for the HTML element "bdo".class
HtmlBig
Wrapper for the HTML element "big".class
HtmlBlink
Wrapper for the HTML element "blink".class
HtmlBlockQuote
Wrapper for the HTML element "blockquote".class
HtmlBody
Wrapper for the HTML element "body".class
HtmlBold
Wrapper for the HTML element "b".class
HtmlBreak
Wrapper for the HTML element "br".class
HtmlButton
Wrapper for the HTML element "button".class
HtmlButtonInput
Wrapper for the HTML element "input" where type is "button".class
HtmlCanvas
Wrapper for the HTML element "canvas".class
HtmlCaption
Wrapper for the HTML element "caption".class
HtmlCenter
Wrapper for the HTML element "center".class
HtmlCheckBoxInput
Wrapper for the HTML element "input".class
HtmlCitation
Wrapper for the HTML element "cite".class
HtmlCode
Wrapper for the HTML element "code".class
HtmlColorInput
Wrapper for the HTML element "input" where type is "color".class
HtmlCommand
Wrapper for the HTML element "command".class
HtmlData
Wrapper for the HTML element "data".class
HtmlDataList
Wrapper for the HTML element "datalist".class
HtmlDateInput
Wrapper for the HTML element "input" where type is "date".class
HtmlDateTimeLocalInput
Wrapper for the HTML element "input" where type is "datetime-local".class
HtmlDefinition
Wrapper for the HTML element "dfn".class
HtmlDefinitionDescription
Wrapper for the HTML element "dd".class
HtmlDefinitionList
Wrapper for the HTML element "dl".class
HtmlDefinitionTerm
Wrapper for the HTML element "dt".class
HtmlDeletedText
Wrapper for the HTML element "del".class
HtmlDetails
Wrapper for the HTML element "details".class
HtmlDialog
Wrapper for the HTML element "dialog".class
HtmlDirectory
Wrapper for the HTML element "dir".class
HtmlDivision
Wrapper for the HTML element "div".class
HtmlElement
An abstract wrapper for HTML elements.class
HtmlEmailInput
Wrapper for the HTML element "input" where type is "email".class
HtmlEmbed
Wrapper for the HTML element "embed".class
HtmlEmphasis
Wrapper for the HTML element "em".class
HtmlExample
Wrapper for the HTML element "xmp".class
HtmlFieldSet
Wrapper for the HTML element "fieldset".class
HtmlFigure
Wrapper for the HTML element "figure".class
HtmlFigureCaption
Wrapper for the HTML element "figcaption".class
HtmlFileInput
Wrapper for the HTML element "input".class
HtmlFont
Wrapper for the HTML element "font".class
HtmlFooter
Wrapper for the HTML element "footer".class
HtmlForm
Wrapper for the HTML element "form".class
HtmlFrame
Wrapper for the HTML element "frame".class
HtmlFrameSet
Wrapper for the HTML element "frameset".class
HtmlHead
Wrapper for the HTML element "head".class
HtmlHeader
Wrapper for the HTML element "header".class
HtmlHeading1
Wrapper for the HTML element "h1".class
HtmlHeading2
Wrapper for the HTML element "h2".class
HtmlHeading3
Wrapper for the HTML element "h3".class
HtmlHeading4
Wrapper for the HTML element "h4".class
HtmlHeading5
Wrapper for the HTML element "h5".class
HtmlHeading6
Wrapper for the HTML element "h6".class
HtmlHiddenInput
Wrapper for the HTML element "input" of type "hidden".class
HtmlHorizontalRule
Wrapper for the HTML element "hr".class
HtmlHtml
A representation of an HTML element "html".class
HtmlImage
Wrapper for the HTML element "img".class
HtmlImageInput
Wrapper for the HTML element "input".class
HtmlInlineFrame
Wrapper for the HTML element "iframe".class
HtmlInlineQuotation
Wrapper for the HTML element "q".class
HtmlInput
Wrapper for the HTML element "input".class
HtmlInsertedText
Wrapper for the HTML element "ins".class
HtmlIsIndex
Wrapper for the HTML element "isindex".class
HtmlItalic
Wrapper for the HTML element "i".class
HtmlKeyboard
Wrapper for the HTML element "kbd".class
HtmlLabel
Wrapper for the HTML element "label".class
HtmlLayer
Wrapper for the HTML element "layer".class
HtmlLegend
Wrapper for the HTML element "legend".class
HtmlLink
Wrapper for the HTML element "link".class
HtmlListing
Wrapper for the HTML element "listing".class
HtmlListItem
Wrapper for the HTML element "li".class
HtmlMain
Wrapper for the HTML element "main".class
HtmlMap
Wrapper for the HTML element "map".class
HtmlMark
Wrapper for the HTML element "mark".class
HtmlMarquee
Wrapper for the HTML element "marquee".class
HtmlMedia
HTML Media element, e.g.class
HtmlMenu
Wrapper for the HTML element "menu".class
HtmlMenuItem
Wrapper for the HTML element "menuitem".class
HtmlMeta
Wrapper for the HTML element "meta".class
HtmlMeter
HTML 5 "meter" element.class
HtmlMonthInput
Wrapper for the HTML element "input" where type is "month".class
HtmlMultiColumn
Wrapper for the HTML element "multicol".class
HtmlNav
Wrapper for the HTML element "nav".class
HtmlNextId
Wrapper for the HTML element "nextId".class
HtmlNoBreak
Wrapper for the HTML element "nobr".class
HtmlNoEmbed
Wrapper for the HTML element "noembed".class
HtmlNoFrames
Wrapper for the HTML element "noframes".class
HtmlNoLayer
Wrapper for the HTML element "nolayer".class
HtmlNoScript
Wrapper for the HTML element "noscript".class
HtmlNumberInput
Wrapper for the HTML element "input" with type is "number".class
HtmlObject
Wrapper for the HTML element "object".class
HtmlOption
Wrapper for the HTML element "option".class
HtmlOptionGroup
Wrapper for the HTML element "optgroup".class
HtmlOrderedList
Wrapper for the HTML element "ol".class
HtmlOutput
Wrapper for the HTML element "output".class
HtmlParagraph
Wrapper for the HTML element "p".class
HtmlParameter
Wrapper for the HTML element "param".class
HtmlPasswordInput
Wrapper for the HTML element "input".class
HtmlPicture
Wrapper for the HTML element "picture".class
HtmlPlainText
Wrapper for the HTML element "plaintext".class
HtmlPreformattedText
Wrapper for the HTML element "pre".class
HtmlProgress
Wrapper for the HTML element "progress".class
HtmlRadioButtonInput
Wrapper for the HTML element "input".class
HtmlRangeInput
Wrapper for the HTML element "input" where type is "range".class
HtmlRb
Wrapper for the HTML element "rb".class
HtmlResetInput
Wrapper for the HTML element "input".class
HtmlRp
Wrapper for the HTML element "rp".class
HtmlRt
Wrapper for the HTML element "rt".class
HtmlRtc
Wrapper for the HTML element "rtc".class
HtmlRuby
Wrapper for the HTML element "ruby".class
HtmlS
Wrapper for the HTML element "s", a strike-through text style.class
HtmlSample
Wrapper for the HTML element "samp".class
HtmlScript
Wrapper 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.class
HtmlSearchInput
Wrapper for the HTML element "input" where type is "search".class
HtmlSection
Wrapper for the HTML element "section".class
HtmlSelect
Wrapper for the HTML element "select".class
HtmlSelectableTextInput
Abstract parent class to shareSelectableTextInput
implementation and typing support.class
HtmlSlot
Wrapper for the HTML element "slot".class
HtmlSmall
Wrapper for the HTML element "small".class
HtmlSource
Wrapper for the HTML element "source".class
HtmlSpan
Wrapper for the HTML element "span".class
HtmlStrike
Wrapper for the HTML element "strike".class
HtmlStrong
Wrapper for the HTML element "strong".class
HtmlStyle
Wrapper for the HTML element "style".class
HtmlSubmitInput
Wrapper for the HTML element "input".class
HtmlSubscript
Wrapper for the HTML element "sub".class
HtmlSummary
Wrapper for the HTML element "summary".class
HtmlSuperscript
Wrapper for the HTML element "sup".class
HtmlSvg
Wrapper for the SVG elementsvg
.class
HtmlTable
Wrapper for the HTML element "table".class
HtmlTableBody
Wrapper for the HTML element "tbody".class
HtmlTableCell
An abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.class
HtmlTableColumn
Wrapper for the HTML element "col".class
HtmlTableColumnGroup
Wrapper for the HTML element "colgroup".class
HtmlTableDataCell
Wrapper for the HTML element "td".class
HtmlTableFooter
Wrapper for the HTML element "tfoot".class
HtmlTableHeader
Wrapper for the HTML element "thead".class
HtmlTableHeaderCell
Wrapper for the HTML "th" tag.class
HtmlTableRow
Wrapper for the HTML element "tr".class
HtmlTeletype
Wrapper for the HTML element "tt".class
HtmlTelInput
Wrapper for the HTML element "input" where type is "tel".class
HtmlTemplate
Wrapper for the HTML element "template".class
HtmlTextArea
Wrapper for the HTML element "textarea".class
HtmlTextInput
Wrapper for the HTML element "input" with type="text".class
HtmlTime
Wrapper for the HTML element "time".class
HtmlTimeInput
Wrapper for the HTML element "input" where type is "time".class
HtmlTitle
Wrapper for the HTML element "title".class
HtmlTrack
Wrapper for the HTML element "track".class
HtmlUnderlined
Wrapper for the HTML element "u".class
HtmlUnknownElement
An element that is returned for an HTML tag that is not supported by this framework.class
HtmlUnorderedList
Wrapper for the HTML element "ul".class
HtmlUrlInput
Wrapper for the HTML element "input" where type is "url".class
HtmlVariable
Wrapper for the HTML element "var".class
HtmlVideo
Wrapper for the HTML element "video".class
HtmlWeekInput
Wrapper for the HTML element "input" where type is "week".class
HtmlWordBreak
Wrapper for the HTML element "wbr".class
TableRowGroup
Superclass 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 DomElement
NamedAttrNodeMapImpl. domNode_
private DomElement
HtmlPage. elementWithFocus_
private DomElement
DomElement.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. documentPositionComparator
private 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 DomElement
DomNode. closest(java.lang.String selectorString)
DomElement
ElementFactory. createElement(SgmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)
Creates an element according to this factory's specification.DomElement
HtmlPage. createElement(java.lang.String tagName)
DomElement
ElementFactory. 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.DomElement
ElementFactory. 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.DomElement
HtmlPage. createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
DomElement
HtmlPage. getElementById(java.lang.String elementId)
private static DomElement
HtmlPage. getFirstChildElement(DomElement startElement, java.lang.Class<?> clazz)
Gets the first child of startElement that is an instance of the given class.private DomElement
HtmlPage. 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.DomElement
DomElement. getFirstElementChild()
Returns the first child element node of this element.DomElement
HtmlPage. getFocusedElement()
Returns the element with the focus or null if no element has the focus.DomElement
DomElement. getLastElementChild()
Returns the last child element node of this element.DomElement
DomNode. getNextElementSibling()
Returns the next sibling element node of this element.DomElement
DomAttr. getOwnerElement()
DomElement
DomNode. getPreviousElementSibling()
Returns the previous sibling element node of this element.DomElement
DomElement.ChildElementsIterator. next()
DomElement
HtmlPage. 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 anIterable
that will recursively iterate over all of this node'sDomElement
descendants.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 void
HtmlPage. addElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)
(package private) void
HtmlPage. addMappedElement(DomElement element)
Adds an element to the ID and name maps, if necessary.(package private) void
HtmlPage. addMappedElement(DomElement element, boolean recurse)
Adds an element to the ID and name maps, if necessary.java.lang.String
XmlSerializer. asXml(DomElement node)
void
HtmlPage. clearComputedStyles(DomElement element)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
.void
HtmlPage. clearComputedStylesUpToRoot(DomElement element)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Clears the computed styles for a specificElement
and all parent elements.int
HtmlPage.DocumentPositionComparator. compare(DomElement elt1, DomElement elt2)
private static void
ScriptElementSupport. executeEvent(DomElement element, java.lang.String type)
private static void
ScriptElementSupport. executeInlineScriptIfNeeded(DomElement element)
Executes this script node as inline script if necessary and/or possible.static void
ScriptElementSupport. 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.ComputedCssStyleDeclaration
HtmlPage.ComputedStylesCache. get(DomElement element, java.lang.String normalizedPseudo)
private static DomElement
HtmlPage. getFirstChildElement(DomElement startElement, java.lang.Class<?> clazz)
Gets the first child of startElement that is an instance of the given class.private DomElement
HtmlPage. 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.String
ScriptElementSupport. getScriptCode(DomElement element)
Gets the script held within the script tag.ComputedCssStyleDeclaration
HtmlPage. getStyleFromCache(DomElement element, java.lang.String normalizedPseudo)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.protected boolean
XmlSerializer. isExcluded(DomElement element)
private static boolean
ScriptElementSupport. isExecutionNeeded(DomElement element, boolean ignoreAttachedToPage, boolean ignorePageIsAncestor)
Indicates if script execution is necessary and/or possible.static boolean
ScriptElementSupport. 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 void
ScriptElementSupport. 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 void
XmlSerializer. printOpeningTag(DomElement node)
Prints the content between "<" and ">" (or "/>") in the output of the tag name and its attributes in XML format.protected void
XmlSerializer. printXml(DomElement node)
void
HtmlPage.ComputedStylesCache. put(DomElement element, java.lang.String normalizedPseudo, ComputedCssStyleDeclaration style)
void
HtmlPage. 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 void
HtmlPage. removeElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)
(package private) void
HtmlPage. removeMappedElement(DomElement element, boolean recurse, boolean descendant)
Removes an element and optionally its children from the ID and name maps, if necessary.void
HtmlPage. setElementWithFocus(DomElement elementWithFocus)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.boolean
HtmlPage. setFocusedElement(DomElement newElement)
Moves the focus to the specified element.boolean
HtmlPage. 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 void
HtmlPage. addElement(java.util.Map<java.lang.String,java.util.SortedSet<DomElement>> map, DomElement element, java.lang.String attribute, boolean recurse)
private void
HtmlPage. 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 void
HtmlUnitNekoDOMBuilder. 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 void
HtmlUnitNekoDOMBuilder. 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.String
HtmlUnitPrefixResolver. 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 DomElement
Element. 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 class
HTMLElement.ProxyDomNode
ProxyDomNode.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 class
SvgAltGlyph
Wrapper for the SVG elementaltGlyph
.class
SvgAltGlyphDef
Wrapper for the SVG elementaltGlyphDef
.class
SvgAltGlyphItem
Wrapper for the SVG elementaltGlyphItem
.class
SvgAnchor
Wrapper for the SVG elementa
.class
SvgAnimate
Wrapper for the SVG elementanimate
.class
SvgAnimateColor
Wrapper for the SVG elementanimateColor
.class
SvgAnimateMotion
Wrapper for the SVG elementanimateMotion
.class
SvgAnimateTransform
Wrapper for the SVG elementanimateTransform
.class
SvgCircle
Wrapper for the SVG elementcircle
.class
SvgClipPath
Wrapper for the SVG elementclipPath
.class
SvgColorProfile
Wrapper for the SVG element "color-profile".class
SvgCursor
Wrapper for the SVG elementcursor
.class
SvgDefs
Wrapper for the SVG elementdefs
.class
SvgDesc
Wrapper for the SVG elementdesc
.class
SvgElement
Parent elements of all SVG elements, and wrapper for any unknown one.class
SvgEllipse
Wrapper for the SVG elementellipse
.class
SvgFeBlend
Wrapper for the SVG elementfeBlend
.class
SvgFeColorMatrix
Wrapper for the SVG elementfeColorMatrix
.class
SvgFeComponentTransfer
Wrapper for the SVG elementfeComponentTransfer
.class
SvgFeComposite
Wrapper for the SVG elementfeComposite
.class
SvgFeConvolveMatrix
Wrapper for the SVG elementfeConvolveMatrix
.class
SvgFeDiffuseLighting
Wrapper for the SVG elementfeDiffuseLighting
.class
SvgFeDisplacementMap
Wrapper for the SVG elementfeDisplacementMap
.class
SvgFeDistantLight
Wrapper for the SVG elementfeDistantLight
.class
SvgFeFlood
Wrapper for the SVG elementfeFlood
.class
SvgFeFuncA
Wrapper for the SVG elementfeFuncA
.class
SvgFeFuncB
Wrapper for the SVG elementfeFuncB
.class
SvgFeFuncG
Wrapper for the SVG elementfeFuncG
.class
SvgFeFuncR
Wrapper for the SVG elementfeFuncR
.class
SvgFeGaussianBlur
Wrapper for the SVG elementfeGaussianBlur
.class
SvgFeImage
Wrapper for the SVG elementfeImage
.class
SvgFeMerge
Wrapper for the SVG elementfeMerge
.class
SvgFeMergeNode
Wrapper for the SVG elementfeMergeNode
.class
SvgFeMorphology
Wrapper for the SVG elementfeMorphology
.class
SvgFeOffset
Wrapper for the SVG elementfeOffset
.class
SvgFePointLight
Wrapper for the SVG elementfePointLight
.class
SvgFeSpecularLighting
Wrapper for the SVG elementfeSpecularLighting
.class
SvgFeSpotLight
Wrapper for the SVG elementfeSpotLight
.class
SvgFeTile
Wrapper for the SVG elementfeTile
.class
SvgFeTurbulence
Wrapper for the SVG elementfeTurbulence
.class
SvgFilter
Wrapper for the SVG elementfilter
.class
SvgFont
Wrapper for the SVG elementfont
.class
SvgFontFace
Wrapper for the SVG element "font-face".class
SvgFontFaceFormat
Wrapper for the SVG element "font-face-format".class
SvgFontFaceName
Wrapper for the SVG element "font-face-name".class
SvgFontFaceSrc
Wrapper for the SVG element "font-face-src".class
SvgFontFaceURI
Wrapper for the SVG element "font-face-uri".class
SvgForeignObject
Wrapper for the SVG elementforeignObject
.class
SvgGlyph
Wrapper for the SVG elementglyph
.class
SvgGlyphRef
Wrapper for the SVG elementglyphRef
.class
SvgGroup
Wrapper for the SVG elementg
.class
SvgHKern
Wrapper for the SVG elementhkern
.class
SvgImage
Wrapper for the SVG elementimage
.class
SvgLine
Wrapper for the SVG elementline
.class
SvgLinearGradient
Wrapper for the SVG elementlinearGradient
.class
SvgMarker
Wrapper for the SVG elementmarker
.class
SvgMask
Wrapper for the SVG elementmask
.class
SvgMetadata
Wrapper for the SVG elementmetadata
.class
SvgMissingGlyph
Wrapper for the SVG element "missing-glyph".class
SvgMPath
Wrapper for the SVG elementmpath
.class
SvgPath
Wrapper for the SVG elementpath
.class
SvgPattern
Wrapper for the SVG elementpattern
.class
SvgPolygon
Wrapper for the SVG elementpolygon
.class
SvgPolyline
Wrapper for the SVG elementpolyline
.class
SvgRadialGradient
Wrapper for the SVG elementradialGradient
.class
SvgRect
Wrapper for the SVG elementrect
.class
SvgScript
Wrapper for the SVG elementscript
.class
SvgSet
Wrapper for the SVG elementset
.class
SvgStop
Wrapper for the SVG elementstop
.class
SvgStyle
Wrapper for the SVG elementstyle
.class
SvgSwitch
Wrapper for the SVG elementswitch
.class
SvgSymbol
Wrapper for the SVG elementsymbol
.class
SvgText
Wrapper for the SVG elementtext
.class
SvgTextPath
Wrapper for the SVG elementtextPath
.class
SvgTitle
Wrapper for the SVG elementtitle
.class
SvgTRef
Wrapper for the SVG elementtref
.class
SvgTSpan
Wrapper for the SVG elementtspan
.class
SvgUse
Wrapper for the SVG elementuse
.class
SvgView
Wrapper for the SVG elementview
.class
SvgVKern
Wrapper for the SVG elementvkern
.Methods in org.htmlunit.svg that return DomElement Modifier and Type Method Description DomElement
SvgElementFactory. createElement(SgmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)
Creates an element according to this factory's specification.DomElement
SvgElementFactory. 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.DomElement
SvgElementFactory. 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.String
XmlUtils. lookupNamespaceURI(DomElement element, java.lang.String prefix)
Search for the namespace URI of the given prefix, starting from the specified element.static java.lang.String
XmlUtils. 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 DomElement
XmlPage. createElement(java.lang.String tagName)
DomElement
XmlPage. createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
-