< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl.java

Print this page




  74 import org.w3c.dom.TypeInfo;
  75 import org.w3c.dom.ls.LSInput;
  76 import org.w3c.dom.ls.LSResourceResolver;
  77 import org.xml.sax.Attributes;
  78 import org.xml.sax.ContentHandler;
  79 import org.xml.sax.DTDHandler;
  80 import org.xml.sax.ErrorHandler;
  81 import org.xml.sax.InputSource;
  82 import org.xml.sax.Locator;
  83 import org.xml.sax.SAXException;
  84 import org.xml.sax.SAXNotRecognizedException;
  85 import org.xml.sax.SAXNotSupportedException;
  86 import org.xml.sax.XMLReader;
  87 import org.xml.sax.ext.Attributes2;
  88 import org.xml.sax.ext.EntityResolver2;
  89 
  90 /**
  91  * <p>Implementation of ValidatorHandler for W3C XML Schemas and
  92  * also a validator helper for <code>SAXSource</code>s.</p>
  93  *
  94  * @author Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
  95  * @author Michael Glavassevich, IBM
  96  *
  97  * @LastModified: Oct 2017
  98  */
  99 final class ValidatorHandlerImpl extends ValidatorHandler implements
 100     DTDHandler, EntityState, PSVIProvider, ValidatorHelper, XMLDocumentHandler {
 101 
 102     // feature identifiers
 103 
 104     /** Feature identifier: namespace prefixes. */
 105     private static final String NAMESPACE_PREFIXES =
 106         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE;
 107 
 108     /** Feature identifier: string interning. */
 109     protected static final String STRING_INTERNING =
 110         Constants.SAX_FEATURE_PREFIX + Constants.STRING_INTERNING_FEATURE;
 111 
 112     // property identifiers
 113 
 114     /** Property identifier: error reporter. */




  74 import org.w3c.dom.TypeInfo;
  75 import org.w3c.dom.ls.LSInput;
  76 import org.w3c.dom.ls.LSResourceResolver;
  77 import org.xml.sax.Attributes;
  78 import org.xml.sax.ContentHandler;
  79 import org.xml.sax.DTDHandler;
  80 import org.xml.sax.ErrorHandler;
  81 import org.xml.sax.InputSource;
  82 import org.xml.sax.Locator;
  83 import org.xml.sax.SAXException;
  84 import org.xml.sax.SAXNotRecognizedException;
  85 import org.xml.sax.SAXNotSupportedException;
  86 import org.xml.sax.XMLReader;
  87 import org.xml.sax.ext.Attributes2;
  88 import org.xml.sax.ext.EntityResolver2;
  89 
  90 /**
  91  * <p>Implementation of ValidatorHandler for W3C XML Schemas and
  92  * also a validator helper for <code>SAXSource</code>s.</p>
  93  *
  94  * @author Kohsuke Kawaguchi
  95  * @author Michael Glavassevich, IBM
  96  *
  97  * @LastModified: Oct 2017
  98  */
  99 final class ValidatorHandlerImpl extends ValidatorHandler implements
 100     DTDHandler, EntityState, PSVIProvider, ValidatorHelper, XMLDocumentHandler {
 101 
 102     // feature identifiers
 103 
 104     /** Feature identifier: namespace prefixes. */
 105     private static final String NAMESPACE_PREFIXES =
 106         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE;
 107 
 108     /** Feature identifier: string interning. */
 109     protected static final String STRING_INTERNING =
 110         Constants.SAX_FEATURE_PREFIX + Constants.STRING_INTERNING_FEATURE;
 111 
 112     // property identifiers
 113 
 114     /** Property identifier: error reporter. */


< prev index next >