diff options
author | nitind | 2004-11-23 19:23:00 +0000 |
---|---|---|
committer | nitind | 2004-11-23 19:23:00 +0000 |
commit | 958d79a852fed44e64fc5297402dd49f5f81d24c (patch) | |
tree | e548c626c38f28f0e538b875f82058cfefd6dcd8 /bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java | |
parent | b0f7b2695ef3646cc3f23f6712d409ff46b2aa7a (diff) | |
download | webtools.sourceediting-958d79a852fed44e64fc5297402dd49f5f81d24c.tar.gz webtools.sourceediting-958d79a852fed44e64fc5297402dd49f5f81d24c.tar.xz webtools.sourceediting-958d79a852fed44e64fc5297402dd49f5f81d24c.zip |
initial check-in
Diffstat (limited to 'bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java new file mode 100644 index 0000000000..fe0e16eee8 --- /dev/null +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/contentmodel/HTMLCMDataType.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * 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.html.core.contentmodel; + + + +import org.eclipse.wst.common.contentmodel.CMDataType; + +/** + * HTML extension for data types. + */ +public interface HTMLCMDataType extends CMDataType { + + /** Boolean; it should be defined in CMDataType. */ + public static final String BOOLEAN = "BOOLEAN"; //$NON-NLS-1$ + public static final String COLOR = "COLOR"; //$NON-NLS-1$ + public static final String EVENT = "EVENT"; //$NON-NLS-1$ + public static final String IDREFS = "IDREFS"; //$NON-NLS-1$ + /** Name; it should be defined in CMDataType. */ + public static final String NAME = "NAME"; //$NON-NLS-1$ + // Following types are just aliases. + /** %Character; == CDATA */ + public static final String CHARACTER = CMDataType.CDATA; + /** %Charset; == CDATA */ + public static final String CHARSET = CMDataType.CDATA; + /** %Charsets; == CDATA */ + public static final String CHARSETS = CMDataType.CDATA; + /** %ContentType; == CDATA */ + public static final String CONTENT_TYPE = CMDataType.CDATA; + /** %Coords; == CDATA */ + public static final String COORDS = CMDataType.CDATA; + /** %Datetime; == CDATA */ + public static final String DATETIME = CMDataType.CDATA; + /** %FrameTarget; == CDATA */ + public static final String FRAME_TARGET = CMDataType.CDATA; + /** %LanguageCode; == NAME */ + public static final String LANGUAGE_CODE = NAME; + /** %Length; == CDATA */ + public static final String LENGTH = CMDataType.CDATA; + /** %LinkTypes; == CDATA */ + public static final String LINK_TYPES = CMDataType.CDATA; + /** %LIStyle; == CDATA */ + public static final String LI_STYLE = CMDataType.CDATA; + /** %MediaDesc; == CDATA */ + public static final String MEDIA_DESC = CMDataType.CDATA; + /** %MultiLength; == CDATA */ + public static final String MULTI_LENGTH = CMDataType.CDATA; + /** %OLStyle; == CDATA */ + public static final String OL_STYLE = CMDataType.CDATA; + /** %Pixles; == CDATA */ + public static final String PIXELS = CMDataType.CDATA; + /** %Script; == EVENT */ + public static final String SCRIPT = EVENT; + /** %StyleSheet; == EVENT */ + public static final String STYLE_SHEET = CMDataType.CDATA; + /** %Text; == CDATA */ + public static final String TEXT = CMDataType.CDATA; +}
\ No newline at end of file |