< prev index next >

src/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.java

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


  60 import org.xml.sax.SAXException;
  61 import org.xml.sax.SAXNotRecognizedException;
  62 import org.xml.sax.SAXNotSupportedException;
  63 import org.xml.sax.SAXParseException;
  64 import org.xml.sax.XMLReader;
  65 import org.xml.sax.ext.Attributes2;
  66 import org.xml.sax.ext.DeclHandler;
  67 import org.xml.sax.ext.EntityResolver2;
  68 import org.xml.sax.ext.LexicalHandler;
  69 import org.xml.sax.ext.Locator2;
  70 import org.xml.sax.helpers.LocatorImpl;
  71 
  72 /**
  73  * This is the base class of all SAX parsers. It implements both the
  74  * SAX1 and SAX2 parser functionality, while the actual pipeline is
  75  * defined in the parser configuration.
  76  *
  77  * @author Arnaud Le Hors, IBM
  78  * @author Andy Clark, IBM
  79  *
  80  * @version $Id: AbstractSAXParser.java,v 1.6 2010-11-01 04:40:09 joehw Exp $
  81  */
  82 public abstract class AbstractSAXParser
  83     extends AbstractXMLDocumentParser
  84     implements PSVIProvider, // PSVI
  85               Parser, XMLReader // SAX1, SAX2
  86 {
  87 
  88     //
  89     // Constants
  90     //
  91 
  92     // features
  93 
  94     /** Feature identifier: namespaces. */
  95     protected static final String NAMESPACES =
  96         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
  97 
  98     /** Feature identifier: namespace prefixes. */
  99     protected static final String NAMESPACE_PREFIXES =
 100         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE;




  60 import org.xml.sax.SAXException;
  61 import org.xml.sax.SAXNotRecognizedException;
  62 import org.xml.sax.SAXNotSupportedException;
  63 import org.xml.sax.SAXParseException;
  64 import org.xml.sax.XMLReader;
  65 import org.xml.sax.ext.Attributes2;
  66 import org.xml.sax.ext.DeclHandler;
  67 import org.xml.sax.ext.EntityResolver2;
  68 import org.xml.sax.ext.LexicalHandler;
  69 import org.xml.sax.ext.Locator2;
  70 import org.xml.sax.helpers.LocatorImpl;
  71 
  72 /**
  73  * This is the base class of all SAX parsers. It implements both the
  74  * SAX1 and SAX2 parser functionality, while the actual pipeline is
  75  * defined in the parser configuration.
  76  *
  77  * @author Arnaud Le Hors, IBM
  78  * @author Andy Clark, IBM
  79  *

  80  */
  81 public abstract class AbstractSAXParser
  82     extends AbstractXMLDocumentParser
  83     implements PSVIProvider, // PSVI
  84               Parser, XMLReader // SAX1, SAX2
  85 {
  86 
  87     //
  88     // Constants
  89     //
  90 
  91     // features
  92 
  93     /** Feature identifier: namespaces. */
  94     protected static final String NAMESPACES =
  95         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
  96 
  97     /** Feature identifier: namespace prefixes. */
  98     protected static final String NAMESPACE_PREFIXES =
  99         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACE_PREFIXES_FEATURE;


< prev index next >