Uses of Interface org.w3c.dom.Element (Java SE 26 & JDK 26)
Description: use: module: java.xml, package: org.w3c.dom, interface: Element

# Uses of Interface
org.w3c.dom.Element

Packages that use Element
Package
Description
javax.imageio.metadata
A package of the Java Image I/O API dealing with reading and writing metadata.
javax.xml.crypto.dom
DOM-specific classes for the `javax.xml.crypto` package.
org.w3c.dom
Provides the interfaces for the Document Object Model (DOM).
org.w3c.dom.css
Provides interfaces for DOM Level 2 Style Specification.
org.w3c.dom.html
Provides interfaces for DOM Level 2 HTML Specification.
org.w3c.dom.ls
Provides interfaces for DOM Level 3 Load and Save.
org.w3c.dom.xpath
Provides interfaces for DOM Level 3 XPath Specification.

- ## Uses of Element in javax.imageio.metadata

  Classes in javax.imageio.metadata that implement Element
  Modifier and Type
  Class
  Description
  `class`
  `IIOMetadataNode`
  A class representing a node in a meta-data tree, which implements the `org.w3c.dom.Element` interface and additionally allows for the storage of non-textual objects via the `getUserObject` and `setUserObject` methods.

- ## Uses of Element in javax.xml.crypto.dom

  Methods in javax.xml.crypto.dom that return Element
  Modifier and Type
  Method
  Description
  `Element`
  DOMCryptoContext.`getElementById(String idValue)`
  Returns the `Element` with the specified ID attribute value.
  Methods in javax.xml.crypto.dom that return types with arguments of type Element
  Modifier and Type
  Method
  Description
  `Iterator<Map.Entry<String,Element>>`
  DOMCryptoContext.`iterator()`
  Returns a read-only iterator over the set of Id/Element mappings of this `DOMCryptoContext`.
  Methods in javax.xml.crypto.dom with parameters of type Element
  Modifier and Type
  Method
  Description
  `void`
  DOMCryptoContext.`setIdAttributeNS(Element element, String namespaceURI, String localName)`
  Registers the element's attribute specified by the namespace URI and local name to be of type ID.

- ## Uses of Element in org.w3c.dom

  Methods in org.w3c.dom that return Element
  Modifier and Type
  Method
  Description
  `Element`
  Document.`createElement(String tagName)`
  Creates an element of the type specified.
  `Element`
  Document.`createElementNS(String namespaceURI, String qualifiedName)`
  Creates an element of the given qualified name and namespace URI.
  `Element`
  Document.`getDocumentElement()`
  This is a convenience attribute that allows direct access to the child node that is the document element of the document.
  `Element`
  Document.`getElementById(String elementId)`
  Returns the `Element` that has an ID attribute with the given value.
  `Element`
  ElementTraversal.`getFirstElementChild()`
  Returns a reference to the first child node of the element which is of the `Element` type.
  `Element`
  ElementTraversal.`getLastElementChild()`
  Returns a reference to the last child node of the element which is of the `Element` type.
  `Element`
  ElementTraversal.`getNextElementSibling()`
  Returns a reference to the sibling node of the element which most immediately follows the element in document order, and which is of the `Element` type.
  `Element`
  Attr.`getOwnerElement()`
  The `Element` node this attribute is attached to or `null` if this attribute is not in use.
  `Element`
  ElementTraversal.`getPreviousElementSibling()`
  Returns a reference to the sibling node of the element which most immediately precedes the element in document order, and which is of the `Element` type.

- ## Uses of Element in org.w3c.dom.css

  Methods in org.w3c.dom.css with parameters of type Element
  Modifier and Type
  Method
  Description
  `CSSStyleDeclaration`
  ViewCSS.`getComputedStyle(Element elt, String pseudoElt)`
  This method is used to get the computed style as it is defined in [CSS2].
  `CSSStyleDeclaration`
  DocumentCSS.`getOverrideStyle(Element elt, String pseudoElt)`
  This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

- ## Uses of Element in org.w3c.dom.html

  Subinterfaces of Element in org.w3c.dom.html
  Modifier and Type
  Interface
  Description
  `interface`
  `HTMLAnchorElement`
  The anchor element.
  `interface`
  `HTMLAppletElement`
  An embedded Java applet.
  `interface`
  `HTMLAreaElement`
  Client-side image map area definition.
  `interface`
  `HTMLBaseElement`
  Document base URI.
  `interface`
  `HTMLBaseFontElement`
  Base font.
  `interface`
  `HTMLBodyElement`
  The HTML document body.
  `interface`
  `HTMLBRElement`
  Force a line break.
  `interface`
  `HTMLButtonElement`
  Push button.
  `interface`
  `HTMLDirectoryElement`
  Directory list.
  `interface`
  `HTMLDivElement`
  Generic block container.
  `interface`
  `HTMLDListElement`
  Definition list.
  `interface`
  `HTMLElement`
  All HTML element interfaces derive from this class.
  `interface`
  `HTMLFieldSetElement`
  Organizes form controls into logical groups.
  `interface`
  `HTMLFontElement`
  Local change to font.
  `interface`
  `HTMLFormElement`
  The `FORM` element encompasses behavior similar to a collection and an element.
  `interface`
  `HTMLFrameElement`
  Create a frame.
  `interface`
  `HTMLFrameSetElement`
  Create a grid of frames.
  `interface`
  `HTMLHeadElement`
  Document head information.
  `interface`
  `HTMLHeadingElement`
  For the `H1` to `H6` elements.
  `interface`
  `HTMLHRElement`
  Create a horizontal rule.
  `interface`
  `HTMLHtmlElement`
  Root of an HTML document.
  `interface`
  `HTMLIFrameElement`
  Inline subwindows.
  `interface`
  `HTMLImageElement`
  Embedded image.
  `interface`
  `HTMLInputElement`
  Form control.
  `interface`
  `HTMLIsIndexElement`
  This element is used for single-line text input.
  `interface`
  `HTMLLabelElement`
  Form field label text.
  `interface`
  `HTMLLegendElement`
  Provides a caption for a `FIELDSET` grouping.
  `interface`
  `HTMLLIElement`
  List item.
  `interface`
  `HTMLLinkElement`
  The `LINK` element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
  `interface`
  `HTMLMapElement`
  Client-side image map.
  `interface`
  `HTMLMenuElement`
  Menu list.
  `interface`
  `HTMLMetaElement`
  This contains generic meta-information about the document.
  `interface`
  `HTMLModElement`
  Notice of modification to part of a document.
  `interface`
  `HTMLObjectElement`
  Generic embedded object.
  `interface`
  `HTMLOListElement`
  Ordered list.
  `interface`
  `HTMLOptGroupElement`
  Group options together in logical subdivisions.
  `interface`
  `HTMLOptionElement`
  A selectable choice.
  `interface`
  `HTMLParagraphElement`
  Paragraphs.
  `interface`
  `HTMLParamElement`
  Parameters fed to the `OBJECT` element.
  `interface`
  `HTMLPreElement`
  Preformatted text.
  `interface`
  `HTMLQuoteElement`
  For the `Q` and `BLOCKQUOTE` elements.
  `interface`
  `HTMLScriptElement`
  Script statements.
  `interface`
  `HTMLSelectElement`
  The select element allows the selection of an option.
  `interface`
  `HTMLStyleElement`
  Style information.
  `interface`
  `HTMLTableCaptionElement`
  Table caption See the CAPTION element definition in HTML 4.0.
  `interface`
  `HTMLTableCellElement`
  The object used to represent the `TH` and `TD` elements.
  `interface`
  `HTMLTableColElement`
  Regroups the `COL` and `COLGROUP` elements.
  `interface`
  `HTMLTableElement`
  The create* and delete* methods on the table allow authors to construct and modify tables.
  `interface`
  `HTMLTableRowElement`
  A row in a table.
  `interface`
  `HTMLTableSectionElement`
  The `THEAD` , `TFOOT` , and `TBODY` elements.
  `interface`
  `HTMLTextAreaElement`
  Multi-line text field.
  `interface`
  `HTMLTitleElement`
  The document title.
  `interface`
  `HTMLUListElement`
  Unordered list.

- ## Uses of Element in org.w3c.dom.ls

  Methods in org.w3c.dom.ls with parameters of type Element
  Modifier and Type
  Method
  Description
  `short`
  LSParserFilter.`startElement(Element elementArg)`
  The parser will call this method after each `Element` start tag has been scanned, but before the remainder of the `Element` is processed.

- ## Uses of Element in org.w3c.dom.xpath

  Methods in org.w3c.dom.xpath that return Element
  Modifier and Type
  Method
  Description
  `Element`
  XPathNamespace.`getOwnerElement()`
  The `Element` on which the namespace was in scope when it was requested.