src/org/xml/sax/helpers/ParserFactory.java

Print this page
rev 602 : 8047723: @since tag cleanup in jaxp
Reviewed-by:


  44  * </blockquote>
  45  *
  46  * <p><strong>Note:</strong> This class is designed to work with the now-deprecated
  47  * SAX1 {@link org.xml.sax.Parser Parser} class.  SAX2 applications should use
  48  * {@link org.xml.sax.helpers.XMLReaderFactory XMLReaderFactory} instead.</p>
  49  *
  50  * <p>ParserFactory is not part of the platform-independent definition
  51  * of SAX; it is an additional convenience class designed
  52  * specifically for Java XML application writers.  SAX applications
  53  * can use the static methods in this class to allocate a SAX parser
  54  * dynamically at run-time based either on the value of the
  55  * `org.xml.sax.parser' system property or on a string containing the class
  56  * name.</p>
  57  *
  58  * <p>Note that the application still requires an XML parser that
  59  * implements SAX1.</p>
  60  *
  61  * @deprecated This class works with the deprecated
  62  *             {@link org.xml.sax.Parser Parser}
  63  *             interface.
  64  * @since SAX 1.0
  65  * @author David Megginson
  66  * @version 2.0.1 (sax2r2)
  67  */
  68 public class ParserFactory {
  69     private static SecuritySupport ss = new SecuritySupport();
  70 
  71     /**
  72      * Private null constructor.
  73      */
  74     private ParserFactory ()
  75     {
  76     }
  77 
  78 
  79     /**
  80      * Create a new SAX parser using the `org.xml.sax.parser' system property.
  81      *
  82      * <p>The named class must exist and must implement the
  83      * {@link org.xml.sax.Parser Parser} interface.</p>
  84      *




  44  * </blockquote>
  45  *
  46  * <p><strong>Note:</strong> This class is designed to work with the now-deprecated
  47  * SAX1 {@link org.xml.sax.Parser Parser} class.  SAX2 applications should use
  48  * {@link org.xml.sax.helpers.XMLReaderFactory XMLReaderFactory} instead.</p>
  49  *
  50  * <p>ParserFactory is not part of the platform-independent definition
  51  * of SAX; it is an additional convenience class designed
  52  * specifically for Java XML application writers.  SAX applications
  53  * can use the static methods in this class to allocate a SAX parser
  54  * dynamically at run-time based either on the value of the
  55  * `org.xml.sax.parser' system property or on a string containing the class
  56  * name.</p>
  57  *
  58  * <p>Note that the application still requires an XML parser that
  59  * implements SAX1.</p>
  60  *
  61  * @deprecated This class works with the deprecated
  62  *             {@link org.xml.sax.Parser Parser}
  63  *             interface.
  64  * @since 1.4, SAX 1.0
  65  * @author David Megginson
  66  * @version 2.0.1 (sax2r2)
  67  */
  68 public class ParserFactory {
  69     private static SecuritySupport ss = new SecuritySupport();
  70 
  71     /**
  72      * Private null constructor.
  73      */
  74     private ParserFactory ()
  75     {
  76     }
  77 
  78 
  79     /**
  80      * Create a new SAX parser using the `org.xml.sax.parser' system property.
  81      *
  82      * <p>The named class must exist and must implement the
  83      * {@link org.xml.sax.Parser Parser} interface.</p>
  84      *