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
013 package org.w3c.dom.stylesheets;
014
015 /**
016 * The <code>DocumentStyle</code> interface provides a mechanism by which the
017 * style sheets embedded in a document can be retrieved. The expectation is
018 * that an instance of the <code>DocumentStyle</code> interface can be
019 * obtained by using binding-specific casting methods on an instance of the
020 * <code>Document</code> interface.
021 * <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>.
022 * @since DOM Level 2
023 */
024 public interface DocumentStyle {
025 /**
026 * A list containing all the style sheets explicitly linked into or
027 * embedded in a document. For HTML documents, this includes external
028 * style sheets, included via the HTML LINK element, and inline STYLE
029 * elements. In XML, this includes external style sheets, included via
030 * style sheet processing instructions (see [XML StyleSheet]).
031 */
032 public StyleSheetList getStyleSheets();
033
034 }