1 12 13 package org.apache.xerces.dom3.as; 14 15 21 public interface ASContentModel extends ASObject { 22 27 public static final int AS_UNBOUNDED = Integer.MAX_VALUE; 28 33 public static final short AS_SEQUENCE = 0; 34 38 public static final short AS_CHOICE = 1; 39 42 public static final short AS_ALL = 2; 43 46 public static final short AS_NONE = 3; 47 48 56 public short getListOperator(); 57 65 public void setListOperator(short listOperator); 66 67 71 public int getMinOccurs(); 72 76 public void setMinOccurs(int minOccurs); 77 78 83 public int getMaxOccurs(); 84 89 public void setMaxOccurs(int maxOccurs); 90 91 96 public ASObjectList getSubModels(); 97 102 public void setSubModels(ASObjectList subModels); 103 104 109 public void removesubModel(ASObject oldNode); 110 111 120 public void insertsubModel(ASObject newNode) 121 throws DOMASException; 122 123 136 public int appendsubModel(ASObject newNode) 137 throws DOMASException; 138 139 } 140 | Popular Tags |