blob: 218b29751d2317ad12ff1c3797740fe196510747 [file] [log] [blame]
jeffliuec1c4782006-05-24 14:16:24 +00001/*******************************************************************************
amywuecebb042007-04-10 20:07:35 +00002 * Copyright (c) 2002, 2006 IBM Corporation and others.
jeffliuec1c4782006-05-24 14:16:24 +00003 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
amywuecebb042007-04-10 20:07:35 +00007 *
jeffliuec1c4782006-05-24 14:16:24 +00008 * Contributors:
9 * IBM Corporation - initial API and implementation
10 * Jens Lukowski/Innoopract - initial renaming/restructuring
11 *
12 *******************************************************************************/
david_williamsc06c86f2005-03-18 18:23:41 +000013package org.eclipse.wst.xml.core.internal.contentmodel;
david_williams95990ef2005-03-18 07:20:23 +000014
15public interface CMContent extends CMNode
16{
17/**
18 * getMaxOccur method
19 * @return int
20 *
21 * If -1, it's UNBOUNDED.
22 */
23int getMaxOccur();
24/**
25 * getMinOccur method
26 * @return int
27 *
28 * If 0, it's OPTIONAL.
29 * If 1, it's REQUIRED.
30 */
31int getMinOccur();
32}