< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/opti/SchemaParsingConfig.java

Print this page


   1 /*
   2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * @LastModified: Sep 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.impl.xs.opti;
  23 


  42 import com.sun.org.apache.xerces.internal.xni.XNIException;
  43 import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool;
  44 import com.sun.org.apache.xerces.internal.xni.parser.XMLComponent;
  45 import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager;
  46 import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException;
  47 import com.sun.org.apache.xerces.internal.xni.parser.XMLDTDScanner;
  48 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentScanner;
  49 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  50 import com.sun.org.apache.xerces.internal.xni.parser.XMLPullParserConfiguration;
  51 import java.io.IOException;
  52 import java.util.Locale;
  53 import javax.xml.XMLConstants;
  54 import jdk.xml.internal.JdkXmlUtils;
  55 import jdk.xml.internal.SecuritySupport;
  56 
  57 /**
  58  * @xerces.internal
  59  *
  60  * @author Rahul Srivastava, Sun Microsystems Inc.
  61  *

  62  */
  63 public class SchemaParsingConfig extends BasicParserConfiguration
  64     implements XMLPullParserConfiguration {
  65 
  66     //
  67     // Constants
  68     //
  69 
  70     protected final static String XML11_DATATYPE_VALIDATOR_FACTORY =
  71         "com.sun.org.apache.xerces.internal.impl.dv.dtd.XML11DTDDVFactoryImpl";
  72 
  73     // feature identifiers
  74 
  75     /** Feature identifier: warn on duplicate attribute definition. */
  76     protected static final String WARN_ON_DUPLICATE_ATTDEF =
  77         Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ATTDEF_FEATURE;
  78 
  79     /** Feature identifier: warn on duplicate entity definition. */
  80     //  protected static final String WARN_ON_DUPLICATE_ENTITYDEF = Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ENTITYDEF_FEATURE;
  81 


   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.impl.xs.opti;
  22 


  41 import com.sun.org.apache.xerces.internal.xni.XNIException;
  42 import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool;
  43 import com.sun.org.apache.xerces.internal.xni.parser.XMLComponent;
  44 import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager;
  45 import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException;
  46 import com.sun.org.apache.xerces.internal.xni.parser.XMLDTDScanner;
  47 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentScanner;
  48 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  49 import com.sun.org.apache.xerces.internal.xni.parser.XMLPullParserConfiguration;
  50 import java.io.IOException;
  51 import java.util.Locale;
  52 import javax.xml.XMLConstants;
  53 import jdk.xml.internal.JdkXmlUtils;
  54 import jdk.xml.internal.SecuritySupport;
  55 
  56 /**
  57  * @xerces.internal
  58  *
  59  * @author Rahul Srivastava, Sun Microsystems Inc.
  60  *
  61  * @LastModified: Sep 2017
  62  */
  63 public class SchemaParsingConfig extends BasicParserConfiguration
  64     implements XMLPullParserConfiguration {
  65 
  66     //
  67     // Constants
  68     //
  69 
  70     protected final static String XML11_DATATYPE_VALIDATOR_FACTORY =
  71         "com.sun.org.apache.xerces.internal.impl.dv.dtd.XML11DTDDVFactoryImpl";
  72 
  73     // feature identifiers
  74 
  75     /** Feature identifier: warn on duplicate attribute definition. */
  76     protected static final String WARN_ON_DUPLICATE_ATTDEF =
  77         Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ATTDEF_FEATURE;
  78 
  79     /** Feature identifier: warn on duplicate entity definition. */
  80     //  protected static final String WARN_ON_DUPLICATE_ENTITYDEF = Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ENTITYDEF_FEATURE;
  81 


< prev index next >