001/*
002 * Copyright (c) 2000 World Wide Web Consortium,
003 * (Massachusetts Institute of Technology, Institut National de
004 * Recherche en Informatique et en Automatique, Keio University). All
005 * Rights Reserved. This program is distributed under the W3C's Software
006 * Intellectual Property License. This program is distributed in the
007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009 * PURPOSE.
010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011 */
012
013package org.w3c.dom.stylesheets;
014
015/**
016 *  The <code>LinkStyle</code> interface provides a mechanism by which a style
017 * sheet can be retrieved from the node responsible for linking it into a
018 * document. An instance of the <code>LinkStyle</code> interface can be
019 * obtained using binding-specific casting methods on an instance of a
020 * linking node (<code>HTMLLinkElement</code>, <code>HTMLStyleElement</code>
021 * or <code>ProcessingInstruction</code> in DOM Level 2).
022 * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>Document Object Model (DOM) Level 2 Style Specification</a>.
023 * @since DOM Level 2
024 */
025public interface LinkStyle {
026    /**
027     *  The style sheet.
028     */
029    public StyleSheet getSheet();
030
031}