< prev index next >

src/com/sun/org/apache/xerces/internal/jaxp/validation/DOMValidatorHelper.java

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


  46 import com.sun.org.apache.xerces.internal.xni.XMLString;
  47 import com.sun.org.apache.xerces.internal.xni.XNIException;
  48 import com.sun.org.apache.xerces.internal.xni.parser.XMLParseException;
  49 import jdk.xml.internal.JdkXmlUtils;
  50 import org.w3c.dom.Attr;
  51 import org.w3c.dom.CDATASection;
  52 import org.w3c.dom.Comment;
  53 import org.w3c.dom.Document;
  54 import org.w3c.dom.DocumentType;
  55 import org.w3c.dom.Entity;
  56 import org.w3c.dom.NamedNodeMap;
  57 import org.w3c.dom.Node;
  58 import org.w3c.dom.ProcessingInstruction;
  59 import org.w3c.dom.Text;
  60 import org.xml.sax.SAXException;
  61 
  62 /**
  63  * <p>A validator helper for <code>DOMSource</code>s.</p>
  64  *
  65  * @author Michael Glavassevich, IBM
  66  * @version $Id: DOMValidatorHelper.java,v 1.9 2010-11-01 04:40:08 joehw Exp $
  67  */
  68 final class DOMValidatorHelper implements ValidatorHelper, EntityState {
  69 
  70     //
  71     // Constants
  72     //
  73 
  74     /** Chunk size (1024). */
  75     private static final int CHUNK_SIZE = (1 << 10);
  76 
  77     /** Chunk mask (CHUNK_SIZE - 1). */
  78     private static final int CHUNK_MASK = CHUNK_SIZE - 1;
  79 
  80     // property identifiers
  81 
  82     /** Property identifier: error reporter. */
  83     private static final String ERROR_REPORTER =
  84         Constants.XERCES_PROPERTY_PREFIX + Constants.ERROR_REPORTER_PROPERTY;
  85 
  86     /** Property identifier: namespace context. */




  46 import com.sun.org.apache.xerces.internal.xni.XMLString;
  47 import com.sun.org.apache.xerces.internal.xni.XNIException;
  48 import com.sun.org.apache.xerces.internal.xni.parser.XMLParseException;
  49 import jdk.xml.internal.JdkXmlUtils;
  50 import org.w3c.dom.Attr;
  51 import org.w3c.dom.CDATASection;
  52 import org.w3c.dom.Comment;
  53 import org.w3c.dom.Document;
  54 import org.w3c.dom.DocumentType;
  55 import org.w3c.dom.Entity;
  56 import org.w3c.dom.NamedNodeMap;
  57 import org.w3c.dom.Node;
  58 import org.w3c.dom.ProcessingInstruction;
  59 import org.w3c.dom.Text;
  60 import org.xml.sax.SAXException;
  61 
  62 /**
  63  * <p>A validator helper for <code>DOMSource</code>s.</p>
  64  *
  65  * @author Michael Glavassevich, IBM

  66  */
  67 final class DOMValidatorHelper implements ValidatorHelper, EntityState {
  68 
  69     //
  70     // Constants
  71     //
  72 
  73     /** Chunk size (1024). */
  74     private static final int CHUNK_SIZE = (1 << 10);
  75 
  76     /** Chunk mask (CHUNK_SIZE - 1). */
  77     private static final int CHUNK_MASK = CHUNK_SIZE - 1;
  78 
  79     // property identifiers
  80 
  81     /** Property identifier: error reporter. */
  82     private static final String ERROR_REPORTER =
  83         Constants.XERCES_PROPERTY_PREFIX + Constants.ERROR_REPORTER_PROPERTY;
  84 
  85     /** Property identifier: namespace context. */


< prev index next >