1 16 17 package org.apache.xerces.xni; 18 19 import org.apache.xerces.xni.parser.XMLDTDContentModelSource; 20 21 34 public interface XMLDTDContentModelHandler { 35 36 40 42 57 public static final short SEPARATOR_CHOICE = 0; 58 59 72 public static final short SEPARATOR_SEQUENCE = 1; 73 74 76 89 public static final short OCCURS_ZERO_OR_ONE = 2; 90 91 106 public static final short OCCURS_ZERO_OR_MORE = 3; 107 108 122 public static final short OCCURS_ONE_OR_MORE = 4; 123 124 128 139 public void startContentModel(String elementName, Augmentations augmentations) 140 throws XNIException; 141 142 153 public void any(Augmentations augmentations) throws XNIException; 154 155 166 public void empty(Augmentations augmentations) throws XNIException; 167 168 182 public void startGroup(Augmentations augmentations) throws XNIException; 183 184 196 public void pcdata(Augmentations augmentations) throws XNIException; 197 198 207 public void element(String elementName, Augmentations augmentations) 208 throws XNIException; 209 210 223 public void separator(short separator, Augmentations augmentations) 224 throws XNIException; 225 226 241 public void occurrence(short occurrence, Augmentations augmentations) 242 throws XNIException; 243 244 252 public void endGroup(Augmentations augmentations) throws XNIException; 253 254 262 public void endContentModel(Augmentations augmentations) throws XNIException; 263 264 public void setDTDContentModelSource(XMLDTDContentModelSource source); 266 267 public XMLDTDContentModelSource getDTDContentModelSource(); 269 270 } | Popular Tags |