1 57 58 package com.sun.org.apache.xerces.internal.xni; 59 60 import com.sun.org.apache.xerces.internal.xni.parser.XMLDTDContentModelSource; 61 62 75 public interface XMLDTDContentModelHandler { 76 77 81 83 98 public static final short SEPARATOR_CHOICE = 0; 99 100 113 public static final short SEPARATOR_SEQUENCE = 1; 114 115 117 130 public static final short OCCURS_ZERO_OR_ONE = 2; 131 132 147 public static final short OCCURS_ZERO_OR_MORE = 3; 148 149 163 public static final short OCCURS_ONE_OR_MORE = 4; 164 165 169 180 public void startContentModel(String elementName, Augmentations augmentations) 181 throws XNIException; 182 183 194 public void any(Augmentations augmentations) throws XNIException; 195 196 207 public void empty(Augmentations augmentations) throws XNIException; 208 209 223 public void startGroup(Augmentations augmentations) throws XNIException; 224 225 237 public void pcdata(Augmentations augmentations) throws XNIException; 238 239 248 public void element(String elementName, Augmentations augmentations) 249 throws XNIException; 250 251 264 public void separator(short separator, Augmentations augmentations) 265 throws XNIException; 266 267 282 public void occurrence(short occurrence, Augmentations augmentations) 283 throws XNIException; 284 285 293 public void endGroup(Augmentations augmentations) throws XNIException; 294 295 303 public void endContentModel(Augmentations augmentations) throws XNIException; 304 305 public void setDTDContentModelSource(XMLDTDContentModelSource source); 307 308 public XMLDTDContentModelSource getDTDContentModelSource(); 310 311 } | Popular Tags |