< prev index next >

src/com/sun/org/apache/xerces/internal/impl/xs/models/XSCMValidator.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.impl.xs.models;
  22 
  23 import com.sun.org.apache.xerces.internal.xni.QName;
  24 import com.sun.org.apache.xerces.internal.impl.xs.SubstitutionGroupHandler;
  25 import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException;
  26 
  27 import java.util.Vector;
  28 import java.util.ArrayList;
  29 
  30 /**
  31  * Note: State of the content model is stored in the validator
  32  *
  33  * @xerces.internal
  34  *
  35  * @author Sandy Gao, IBM
  36  * @author Elena Litani, IBM
  37  * @version $Id: XSCMValidator.java,v 1.6 2009/07/28 15:18:12 spericas Exp $
  38  */
  39 public interface XSCMValidator {
  40 
  41 
  42     public static final short FIRST_ERROR = -1;
  43 
  44     // on subsequent errors the validator should not report
  45     // an error
  46     //
  47     public static final short SUBSEQUENT_ERROR = -2;
  48 
  49     /**
  50      * This methods to be called on entering a first element whose type
  51      * has this content model. It will return the initial state of the content model
  52      *
  53      * @return Start state of the content model
  54      */
  55     public int[] startContentModel();
  56 
  57 




  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.impl.xs.models;
  22 
  23 import com.sun.org.apache.xerces.internal.xni.QName;
  24 import com.sun.org.apache.xerces.internal.impl.xs.SubstitutionGroupHandler;
  25 import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException;
  26 
  27 import java.util.Vector;
  28 import java.util.ArrayList;
  29 
  30 /**
  31  * Note: State of the content model is stored in the validator
  32  *
  33  * @xerces.internal
  34  *
  35  * @author Sandy Gao, IBM
  36  * @author Elena Litani, IBM

  37  */
  38 public interface XSCMValidator {
  39 
  40 
  41     public static final short FIRST_ERROR = -1;
  42 
  43     // on subsequent errors the validator should not report
  44     // an error
  45     //
  46     public static final short SUBSEQUENT_ERROR = -2;
  47 
  48     /**
  49      * This methods to be called on entering a first element whose type
  50      * has this content model. It will return the initial state of the content model
  51      *
  52      * @return Start state of the content model
  53      */
  54     public int[] startContentModel();
  55 
  56 


< prev index next >