1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 * @LastModified: Oct 2017
4 */
5 /*
6 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * contributor license agreements. See the NOTICE file distributed with
8 * this work for additional information regarding copyright ownership.
9 * The ASF licenses this file to You under the Apache License, Version 2.0
10 * (the "License"); you may not use this file except in compliance with
11 * the License. You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21
22 package com.sun.org.apache.xerces.internal.parsers;
23
87 * <li>Properties
88 * <ul>
89 * <li>http://xml.org/sax/properties/xml-string</li>
90 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
91 * <li>http://apache.org/xml/properties/internal/error-handler</li>
92 * <li>http://apache.org/xml/properties/internal/entity-resolver</li>
93 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
94 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
95 * <li>http://apache.org/xml/properties/internal/document-scanner</li>
96 * <li>http://apache.org/xml/properties/internal/dtd-scanner</li>
97 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
98 * <li>http://apache.org/xml/properties/internal/validator/dtd</li>
99 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
100 * </ul>
101 * </ul>
102 * @author Elena Litani, IBM
103 * @author Neil Graham, IBM
104 * @author Michael Glavassevich, IBM
105 * @author John Kim, IBM
106 *
107 */
108 public class XML11DTDConfiguration extends ParserConfigurationSettings
109 implements XMLPullParserConfiguration, XML11Configurable {
110
111 //
112 // Constants
113 //
114 protected final static String XML11_DATATYPE_VALIDATOR_FACTORY =
115 "com.sun.org.apache.xerces.internal.impl.dv.dtd.XML11DTDDVFactoryImpl";
116
117 // feature identifiers
118
119 /** Feature identifier: validation. */
120 protected static final String VALIDATION =
121 Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
122
123 /** Feature identifier: namespaces. */
124 protected static final String NAMESPACES =
125 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
126
|
1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Licensed to the Apache Software Foundation (ASF) under one or more
6 * contributor license agreements. See the NOTICE file distributed with
7 * this work for additional information regarding copyright ownership.
8 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * (the "License"); you may not use this file except in compliance with
10 * the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xerces.internal.parsers;
22
86 * <li>Properties
87 * <ul>
88 * <li>http://xml.org/sax/properties/xml-string</li>
89 * <li>http://apache.org/xml/properties/internal/symbol-table</li>
90 * <li>http://apache.org/xml/properties/internal/error-handler</li>
91 * <li>http://apache.org/xml/properties/internal/entity-resolver</li>
92 * <li>http://apache.org/xml/properties/internal/error-reporter</li>
93 * <li>http://apache.org/xml/properties/internal/entity-manager</li>
94 * <li>http://apache.org/xml/properties/internal/document-scanner</li>
95 * <li>http://apache.org/xml/properties/internal/dtd-scanner</li>
96 * <li>http://apache.org/xml/properties/internal/grammar-pool</li>
97 * <li>http://apache.org/xml/properties/internal/validator/dtd</li>
98 * <li>http://apache.org/xml/properties/internal/datatype-validator-factory</li>
99 * </ul>
100 * </ul>
101 * @author Elena Litani, IBM
102 * @author Neil Graham, IBM
103 * @author Michael Glavassevich, IBM
104 * @author John Kim, IBM
105 *
106 * @LastModified: Oct 2017
107 */
108 public class XML11DTDConfiguration extends ParserConfigurationSettings
109 implements XMLPullParserConfiguration, XML11Configurable {
110
111 //
112 // Constants
113 //
114 protected final static String XML11_DATATYPE_VALIDATOR_FACTORY =
115 "com.sun.org.apache.xerces.internal.impl.dv.dtd.XML11DTDDVFactoryImpl";
116
117 // feature identifiers
118
119 /** Feature identifier: validation. */
120 protected static final String VALIDATION =
121 Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
122
123 /** Feature identifier: namespaces. */
124 protected static final String NAMESPACES =
125 Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
126
|