diff options
Diffstat (limited to 'bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java')
-rw-r--r-- | bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java b/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java deleted file mode 100644 index 0f50a99cfc..0000000000 --- a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java +++ /dev/null @@ -1,122 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.css.core.internal.document; - - - -/** - * - */ -class CSSModelNodeFeeder { - - CSSDocumentImpl fDocument = null; - CSSModelUpdateContext fUpdateContext = null; - - /** - * CSSModelNodeFeeder constructor comment. - */ - CSSModelNodeFeeder() { - super(); - } - - /** - * CSSModelNodeFeeder constructor comment. - */ - CSSModelNodeFeeder(CSSDocumentImpl document, CSSModelUpdateContext updateContext) { - super(); - fDocument = document; - fUpdateContext = updateContext; - } - - /** - * - */ - CSSCharsetRuleImpl getCSSCharsetRule() { - CSSCharsetRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSCharsetRule(); - } - else { - node = (CSSCharsetRuleImpl) fDocument.createCSSCharsetRule(); - } - return node; - } - - /** - * - */ - CSSFontFaceRuleImpl getCSSFontFaceRule() { - CSSFontFaceRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSFontFaceRule(); - } - else { - node = (CSSFontFaceRuleImpl) fDocument.createCSSFontFaceRule(); - } - return node; - } - - /** - * - */ - CSSImportRuleImpl getCSSImportRule() { - CSSImportRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSImportRule(); - } - else { - node = (CSSImportRuleImpl) fDocument.createCSSImportRule(); - } - return node; - } - - /** - * - */ - CSSMediaRuleImpl getCSSMediaRule() { - CSSMediaRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSMediaRule(); - } - else { - node = (CSSMediaRuleImpl) fDocument.createCSSMediaRule(); - } - return node; - } - - /** - * - */ - CSSPageRuleImpl getCSSPageRule() { - CSSPageRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSPageRule(); - } - else { - node = (CSSPageRuleImpl) fDocument.createCSSPageRule(); - } - return node; - } - - /** - * - */ - CSSStyleRuleImpl getCSSStyleRule() { - CSSStyleRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSStyleRule(); - } - else { - node = (CSSStyleRuleImpl) fDocument.createCSSStyleRule(); - } - return node; - } -}
\ No newline at end of file |