diff options
author | nitind | 2010-09-29 20:44:31 +0000 |
---|---|---|
committer | nitind | 2010-09-29 20:44:31 +0000 |
commit | 3217c3b60762a17d6f84773bf9b3882708965b34 (patch) | |
tree | ef1a71321cef7f92e50cbcccf8a4a56e34ac170e /bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java | |
parent | ad6a279c7c73d12b25a278cbaae9926aeb70ede5 (diff) | |
parent | 55d9f1a2aea7ec1257fa2b6b389717253db0ed4a (diff) | |
download | webtools.sourceediting-201009292040.tar.gz webtools.sourceediting-201009292040.tar.xz webtools.sourceediting-201009292040.zip |
This commit was manufactured by cvs2svn to create tag 'v201009292040'.v201009292040
Diffstat (limited to 'bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java deleted file mode 100644 index 07973a51c3..0000000000 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/CMContentImpl.java +++ /dev/null @@ -1,58 +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; - -import org.eclipse.wst.xml.core.internal.contentmodel.CMContent; - - - -/** - * Implementation of CMContent for HTML CM. - */ -abstract class CMContentImpl extends CMNodeImpl implements CMContent { - - public static final int UNBOUNDED = -1; - /** -1: it's UNBOUNDED. */ - private int maxOccur = UNBOUNDED; - /** 0: it's OPTIONAL, 1, it's REQUIRED. */ - private int minOccur = 0; - - /** - * The primary consturctor. - * Use this one for usual cases.<br> - */ - public CMContentImpl(String name, int min, int max) { - super(name); - minOccur = min; - maxOccur = max; - } - - /** - * getMaxOccur method - * @return int - * - * If -1, it's UNBOUNDED. - */ - public int getMaxOccur() { - return maxOccur; - } - - /** - * getMinOccur method - * @return int - * - * If 0, it's OPTIONAL. - * If 1, it's REQUIRED. - */ - public int getMinOccur() { - return minOccur; - } -} |