1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.models; 59 60 import com.sun.org.apache.xerces.internal.xni.QName; 61 import com.sun.org.apache.xerces.internal.impl.xs.SubstitutionGroupHandler; 62 import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException; 63 64 import java.util.Vector ; 65 66 73 public interface XSCMValidator { 74 75 76 public static final short FIRST_ERROR = -1; 77 78 public static final short SUBSEQUENT_ERROR = -2; 82 83 89 public int[] startContentModel(); 90 91 92 100 public Object oneTransition (QName elementName, int[] state, SubstitutionGroupHandler subGroupHandler); 101 102 103 109 public boolean endContentModel (int[] state); 110 111 117 public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException; 118 119 128 public Vector whatCanGoHere(int[] state); 129 130 } | Popular Tags |