blob: d428a5a787b5d5f27b83e2cc4376293926a8a71c [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 *******************************************************************************/
11package org.eclipse.wst.css.core.internal.document;
12
13
14
david_williams63219a22005-04-10 01:59:51 +000015import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleDeclaration;
nitind958d79a2004-11-23 19:23:00 +000016import org.w3c.dom.css.CSSStyleSheet;
17
18
19/**
20 *
21 */
22public class DOMCSSImpl {
23
24 /**
25 * DOMCSSImpl constructor comment.
26 */
27 public DOMCSSImpl() {
28 super();
29 }
30
nitind958d79a2004-11-23 19:23:00 +000031 public static ICSSStyleDeclaration createCSSStyleDeclaration() throws org.w3c.dom.DOMException {
32 CSSStyleDeclarationImpl document = new CSSStyleDeclarationImpl(true);
33
34 return document;
35 }
36
37 /**
38 * @return org.w3c.dom.css.CSSStyleSheet
39 * @param title
40 * java.lang.String
41 * @param media
42 * java.lang.String
43 * @exception org.w3c.dom.DOMException
44 * The exception description.
45 */
46 public static CSSStyleSheet createCSSStyleSheet(String title, String media) throws org.w3c.dom.DOMException {
47 return new CSSStyleSheetImpl();
48 }
49}