diff options
Diffstat (limited to 'bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedSSIBase.java')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedSSIBase.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedSSIBase.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedSSIBase.java deleted file mode 100644 index fddb04df9f..0000000000 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/chtml/HedSSIBase.java +++ /dev/null @@ -1,52 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2005 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.html.core.internal.contentmodel.chtml; - -import org.eclipse.wst.html.core.internal.contentmodel.HTMLElementDeclaration; -import org.eclipse.wst.html.core.internal.provisional.HTMLCMProperties; - - - - -/** - * Base class for SSI declarations. - */ -abstract class HedSSIBase extends HedEmpty { - - /** - */ - public HedSSIBase(String elementName, ElementCollection collection) { - super(elementName, collection); - layoutType = LAYOUT_OBJECT; - } - - /** - */ - public int getFormatType() { - return HTMLElementDeclaration.FORMAT_SSI; - } - - /** - */ - public boolean supports(String propName) { - if (propName.equals(HTMLCMProperties.IS_SSI)) - return true; - return super.supports(propName); - } - - /* - */ - public Object getProperty(String propName) { - if (propName.equals(HTMLCMProperties.IS_SSI)) - return new Boolean(true); - return super.getProperty(propName); - } -} |