nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
| 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_williams | 63219a2 | 2005-04-10 01:59:51 +0000 | [diff] [blame] | 11 | package org.eclipse.wst.css.core.internal.provisional.document; |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 12 | |
| 13 | |
| 14 | |
| 15 | import org.w3c.dom.stylesheets.DocumentStyle; |
| 16 | import org.w3c.dom.stylesheets.StyleSheet; |
| 17 | |
| 18 | /** |
| 19 | * |
| 20 | */ |
| 21 | public 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 | } |