/*------------------------------------------------------------------------------------
Copyright (c)2000 TogetherSoft Corporation. Patents pending. All rights reserved. 
------------------------------------------------------------------------------------*/ 

package com.togethersoft.modules.xmleditor.dtd;

import java.util.*;

public interface DTDItemDef
{
  // cardinality operators
  int CARDINALITY_ONCE          = 0;  // no operator
  int CARDINALITY_ONCE_OR_NEVER = 1;  // operator: ?
  int CARDINALITY_ONCE_OR_MORE  = 2;  // operator: +
  int CARDINALITY_ANY_TIMES     = 3;  // operator: *

  int     getCardinality();
  boolean containsChildElement (DTDElementDef elementDef);
  Vector  getChildElementDefs();
}









