combine org.eclipse.wst.dtd, org.eclipse.wst.dtd.contentmodel and org.eclipse.wst.dtd.parser plugins with org.eclipse.wst.dtd.core
diff --git a/bundles/org.eclipse.wst.dtd.core/saxparser/org/eclipse/wst/dtd/core/internal/saxparser/CMGroupNode.java b/bundles/org.eclipse.wst.dtd.core/saxparser/org/eclipse/wst/dtd/core/internal/saxparser/CMGroupNode.java
new file mode 100644
index 0000000..d1781e4
--- /dev/null
+++ b/bundles/org.eclipse.wst.dtd.core/saxparser/org/eclipse/wst/dtd/core/internal/saxparser/CMGroupNode.java
@@ -0,0 +1,62 @@
+/*******************************************************************************
+ * Copyright (c) 2001, 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.dtd.core.internal.saxparser;
+
+import java.util.Enumeration;
+import java.util.Vector;
+
+public class CMGroupNode extends CMRepeatableNode {
+ private int type = CMNodeType.GROUP;
+ private int groupKind = CMNodeType.GROUP_SEQUENCE;
+ private Vector children = new Vector();
+
+ public CMGroupNode() {
+ super("GROUP");
+ }
+
+ public int getType() {
+ return type;
+ }
+
+ // implement super class
+ public void setType(int type) {
+ // can't change - only one type allows
+ }
+
+ public int getGroupKind() {
+ return groupKind;
+ }
+
+ public void setGroupKind(int kind) {
+ groupKind = kind;
+ }
+
+ public Vector getChildren() {
+ return children;
+ }
+
+ public void addChild(CMNode child) {
+ children.addElement(child);
+ }
+
+ public String toString() {
+ String result = "Group ( - kind: " + getGroupKind() + " OccType: " + getOccurrence() + "\n";
+
+ Enumeration en = children.elements();
+ while (en.hasMoreElements()) {
+ result += " " + en.nextElement();
+ }
+
+ result += "Group )";
+ return result;
+ }
+}