blob: 03dbeda12a7cd10c6e55b07d039d277f943134f6 [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001/*******************************************************************************
2 * Copyright (c) 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
david_williams63219a22005-04-10 01:59:51 +000011package org.eclipse.wst.css.core.internal.provisional.document;
nitind958d79a2004-11-23 19:23:00 +000012
13
14
15import org.w3c.dom.stylesheets.DocumentStyle;
16import org.w3c.dom.stylesheets.StyleSheet;
17
18/**
19 *
20 */
21public interface IDocumentStyle extends DocumentStyle {
22
23 /**
24 * @return org.w3c.dom.stylesheets.StyleSheet
25 * @param newSheet
26 * org.w3c.dom.stylesheets.StyleSheet
27 * @exception org.w3c.dom.DOMException
28 * The exception description.
29 */
30 StyleSheet appendSheet(StyleSheet newSheet) throws org.w3c.dom.DOMException;
31
32 /**
33 * @return org.w3c.dom.stylesheets.StyleSheet
34 * @param newSheet
35 * org.w3c.dom.stylesheets.StyleSheet
36 * @param refSheet
37 * org.w3c.dom.stylesheets.StyleSheet
38 * @exception org.w3c.dom.DOMException
39 * The exception description.
40 */
41 StyleSheet insertSheetBefore(StyleSheet newSheet, StyleSheet refSheet) throws org.w3c.dom.DOMException;
42
43 /**
44 * @return org.w3c.dom.stylesheets.StyleSheet
45 * @param oldSheet
46 * org.w3c.dom.stylesheets.StyleSheet
47 * @exception org.w3c.dom.DOMException
48 * The exception description.
49 */
50 StyleSheet removeSheet(StyleSheet oldSheet) throws org.w3c.dom.DOMException;
51
52 /**
53 * @return org.w3c.dom.stylesheets.StyleSheet
54 * @param newSheet
55 * org.w3c.dom.stylesheets.StyleSheet
56 * @param oldSheet
57 * org.w3c.dom.stylesheets.StyleSheet
58 * @exception org.w3c.dom.DOMException
59 * The exception description.
60 */
61 StyleSheet replaceSheet(StyleSheet newSheet, StyleSheet oldSheet) throws org.w3c.dom.DOMException;
62}