1 11 package org.eclipse.ant.internal.ui.dtd; 12 13 import org.eclipse.ant.internal.ui.dtd.schema.Nfm; 14 15 16 22 public interface IModel { 23 24 public static final int UNKNOWN = 0; 25 public static final int SEQUENCE = 1; 26 public static final int CHOICE = 2; 27 public static final int LEAF = 4; 28 29 public static final int UNBOUNDED = Integer.MAX_VALUE; 30 31 34 public int getKind(); 35 36 39 public int getMinOccurs(); 40 41 44 public int getMaxOccurs(); 45 46 50 public IModel[] getContents(); 51 52 55 public IAtom getLeaf(); 56 57 61 public String getOperator(); 62 63 66 public String getQualifier(); 67 68 71 public String stringRep(); 72 73 77 public Nfm toNfm(); 78 } 79 | Popular Tags |