1 16 17 package org.apache.xerces.impl.xs.models; 18 19 import org.apache.xerces.xni.QName; 20 import org.apache.xerces.impl.xs.SubstitutionGroupHandler; 21 import org.apache.xerces.impl.xs.XMLSchemaException; 22 23 import java.util.Vector ; 24 25 34 public interface XSCMValidator { 35 36 37 public static final short FIRST_ERROR = -1; 38 39 public static final short SUBSEQUENT_ERROR = -2; 43 44 50 public int[] startContentModel(); 51 52 53 61 public Object oneTransition (QName elementName, int[] state, SubstitutionGroupHandler subGroupHandler); 62 63 64 70 public boolean endContentModel (int[] state); 71 72 78 public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException; 79 80 89 public Vector whatCanGoHere(int[] state); 90 91 } | Popular Tags |