91 * It extends the DTD processor in order to do this; it's
92 * a separate class because DTD processors don't need to know how
93 * to talk to the outside world in their role as instance-document
94 * helpers.
95 * <p>
96 * This component requires the following features and properties. It
97 * know ho to set them if no one else does:from the
98 * <ul>
99 * <li>http://xml.org/sax/features/namespaces</li>
100 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
101 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
102 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
103 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
104 * </ul>
105 *
106 * @xerces.internal
107 *
108 * @author Neil Graham, IBM
109 * @author Michael Glavassevich, IBM
110 *
111 * @version $Id: XMLDTDLoader.java,v 1.6 2010-11-01 04:39:42 joehw Exp $
112 */
113 public class XMLDTDLoader
114 extends XMLDTDProcessor
115 implements XMLGrammarLoader {
116
117 //
118 // Constants
119 //
120
121 // feature identifiers
122
123 /** Feature identifier: standard uri conformant feature. */
124 protected static final String STANDARD_URI_CONFORMANT_FEATURE =
125 Constants.XERCES_FEATURE_PREFIX + Constants.STANDARD_URI_CONFORMANT_FEATURE;
126
127 /** Feature identifier: balance syntax trees. */
128 protected static final String BALANCE_SYNTAX_TREES =
129 Constants.XERCES_FEATURE_PREFIX + Constants.BALANCE_SYNTAX_TREES;
130
131 // recognized features:
|
91 * It extends the DTD processor in order to do this; it's
92 * a separate class because DTD processors don't need to know how
93 * to talk to the outside world in their role as instance-document
94 * helpers.
95 * <p>
96 * This component requires the following features and properties. It
97 * know ho to set them if no one else does:from the
98 * <ul>
99 * <li>http://xml.org/sax/features/namespaces</li>
100 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
101 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
102 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
103 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
104 * </ul>
105 *
106 * @xerces.internal
107 *
108 * @author Neil Graham, IBM
109 * @author Michael Glavassevich, IBM
110 *
111 */
112 public class XMLDTDLoader
113 extends XMLDTDProcessor
114 implements XMLGrammarLoader {
115
116 //
117 // Constants
118 //
119
120 // feature identifiers
121
122 /** Feature identifier: standard uri conformant feature. */
123 protected static final String STANDARD_URI_CONFORMANT_FEATURE =
124 Constants.XERCES_FEATURE_PREFIX + Constants.STANDARD_URI_CONFORMANT_FEATURE;
125
126 /** Feature identifier: balance syntax trees. */
127 protected static final String BALANCE_SYNTAX_TREES =
128 Constants.XERCES_FEATURE_PREFIX + Constants.BALANCE_SYNTAX_TREES;
129
130 // recognized features:
|