org.w3c.dom.stylesheets (Java SE 23 & JDK 23)
Description: declaration: module: jdk.xml.dom, package: org.w3c.dom.stylesheets
Keywords: org.w3c.dom.stylesheets package

# Package org.w3c.dom.stylesheets

package org.w3c.dom.stylesheets
Provides interfaces for DOM Level 2 Style Specification. Refer to the Document Object Model (DOM) Level 2 Style Specification, the CSS and stylesheets modules define the Document Object Model Level 2 Style Sheets and Cascading Style Sheets (CSS) that allow programs and scripts to dynamically access and update the content of style sheets documents.

Since:
  1.4

- Related Packages
  Module
  Package
  Description
  java.xml
  org.w3c.dom
  Provides the interfaces for the Document Object Model (DOM).
- Interfaces
  Class
  Description
  DocumentStyle
  The `DocumentStyle` interface provides a mechanism by which the style sheets embedded in a document can be retrieved.
  LinkStyle
  The `LinkStyle` interface provides a mechanism by which a style sheet can be retrieved from the node responsible for linking it into a document.
  MediaList
  The `MediaList` interface provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented.
  StyleSheet
  The `StyleSheet` interface is the abstract base interface for any type of style sheet.
  StyleSheetList
  The `StyleSheetList` interface provides the abstraction of an ordered collection of style sheets.