51 * scanning the XML document structure and content as well as the DTD
52 * structure and content. Both XMLDocumentScanner and XMLDTDScanner inherit
53 * from this base class.
54 *
55 * <p>
56 * This component requires the following features and properties from the
57 * component manager that uses it:
58 * <ul>
59 * <li>http://xml.org/sax/features/validation</li>
60 * <li>http://apache.org/xml/features/scanner/notify-char-refs</li>
61 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
62 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
63 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
64 * </ul>
65 *
66 * @author Andy Clark, IBM
67 * @author Arnaud Le Hors, IBM
68 * @author Eric Ye, IBM
69 * @author K.Venugopal SUN Microsystems
70 * @author Sunitha Reddy, SUN Microsystems
71 * @version $Id: XMLScanner.java,v 1.12 2010-11-01 04:39:41 joehw Exp $
72 * @LastModified: Feb 2020
73 */
74 public abstract class XMLScanner
75 implements XMLComponent {
76
77 //
78 // Constants
79 //
80
81 // feature identifiers
82
83 /** Feature identifier: namespaces. */
84 protected static final String NAMESPACES =
85 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
86
87 /** Feature identifier: validation. */
88 protected static final String VALIDATION =
89 Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
90
91 /** Feature identifier: notify character references. */
|
51 * scanning the XML document structure and content as well as the DTD
52 * structure and content. Both XMLDocumentScanner and XMLDTDScanner inherit
53 * from this base class.
54 *
55 * <p>
56 * This component requires the following features and properties from the
57 * component manager that uses it:
58 * <ul>
59 * <li>http://xml.org/sax/features/validation</li>
60 * <li>http://apache.org/xml/features/scanner/notify-char-refs</li>
61 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
62 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
63 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
64 * </ul>
65 *
66 * @author Andy Clark, IBM
67 * @author Arnaud Le Hors, IBM
68 * @author Eric Ye, IBM
69 * @author K.Venugopal SUN Microsystems
70 * @author Sunitha Reddy, SUN Microsystems
71 * @LastModified: Feb 2020
72 */
73 public abstract class XMLScanner
74 implements XMLComponent {
75
76 //
77 // Constants
78 //
79
80 // feature identifiers
81
82 /** Feature identifier: namespaces. */
83 protected static final String NAMESPACES =
84 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
85
86 /** Feature identifier: validation. */
87 protected static final String VALIDATION =
88 Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
89
90 /** Feature identifier: notify character references. */
|