blob: 056d962b63e42f11208f566092c6486d49b8b8f3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 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.dtd.core.internal.saxparser;
public abstract class CMRepeatableNode extends CMNode {
private int occType = CMNodeType.ONE;
public CMRepeatableNode(String refName) {
super(refName);
}
public CMRepeatableNode(String refName, int occType) {
super(refName);
this.occType = occType;
}
public int getOccurrence() {
return occType;
}
public void setOccurrence(int occType) {
this.occType = occType;
}
}