< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/BasicParserConfiguration.java

Print this page


   1 /*
   2  * Copyright (c) 2011, 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 


  78  * <ul>
  79  * <li>Features
  80  *  <ul>
  81  *   <li>http://xml.org/sax/features/validation</li>
  82  *   <li>http://xml.org/sax/features/namespaces</li>
  83  *   <li>http://xml.org/sax/features/external-general-entities</li>
  84  *   <li>http://xml.org/sax/features/external-parameter-entities</li>
  85  *  </ul>
  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  *  </ul>
  93  * </ul>
  94  *
  95  * @author Arnaud  Le Hors, IBM
  96  * @author Andy Clark, IBM
  97  *

  98  */
  99 public abstract class BasicParserConfiguration
 100     extends ParserConfigurationSettings
 101     implements XMLParserConfiguration {
 102 
 103     //
 104     // Constants
 105     //
 106 
 107     // feature identifiers
 108 
 109     /** Feature identifier: validation. */
 110     protected static final String VALIDATION =
 111         Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
 112 
 113     /** Feature identifier: namespaces. */
 114     protected static final String NAMESPACES =
 115         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
 116 
 117     /** Feature identifier: external general entities. */


   1 /*
   2  * Copyright (c) 2011, 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 


  77  * <ul>
  78  * <li>Features
  79  *  <ul>
  80  *   <li>http://xml.org/sax/features/validation</li>
  81  *   <li>http://xml.org/sax/features/namespaces</li>
  82  *   <li>http://xml.org/sax/features/external-general-entities</li>
  83  *   <li>http://xml.org/sax/features/external-parameter-entities</li>
  84  *  </ul>
  85  * <li>Properties
  86  *  <ul>
  87  *   <li>http://xml.org/sax/properties/xml-string</li>
  88  *   <li>http://apache.org/xml/properties/internal/symbol-table</li>
  89  *   <li>http://apache.org/xml/properties/internal/error-handler</li>
  90  *   <li>http://apache.org/xml/properties/internal/entity-resolver</li>
  91  *  </ul>
  92  * </ul>
  93  *
  94  * @author Arnaud  Le Hors, IBM
  95  * @author Andy Clark, IBM
  96  *
  97  * @LastModified: Oct 2017
  98  */
  99 public abstract class BasicParserConfiguration
 100     extends ParserConfigurationSettings
 101     implements XMLParserConfiguration {
 102 
 103     //
 104     // Constants
 105     //
 106 
 107     // feature identifiers
 108 
 109     /** Feature identifier: validation. */
 110     protected static final String VALIDATION =
 111         Constants.SAX_FEATURE_PREFIX + Constants.VALIDATION_FEATURE;
 112 
 113     /** Feature identifier: namespaces. */
 114     protected static final String NAMESPACES =
 115         Constants.SAX_FEATURE_PREFIX + Constants.NAMESPACES_FEATURE;
 116 
 117     /** Feature identifier: external general entities. */


< prev index next >