W3cubDocs

/OpenJDK 21

Interface LinkStyle

public interface 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. An instance of the LinkStyle interface can be obtained using binding-specific casting methods on an instance of a linking node (HTMLLinkElement, HTMLStyleElement or ProcessingInstruction in DOM Level 2).

See also the Document Object Model (DOM) Level 2 Style Specification.

Since:
1.4, DOM Level 2

Method Summary

Modifier and Type Method Description
StyleSheet getSheet()
The style sheet.

Method Details

getSheet

StyleSheet getSheet()
The style sheet.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.xml.dom/org/w3c/dom/stylesheets/LinkStyle.html