< prev index next >

jaxp/src/java.xml/share/classes/jdk/xml/internal/JdkXmlUtils.java

Print this page

        

@@ -50,10 +50,16 @@
     public final static String CATALOG_DEFER = CatalogFeatures.Feature.DEFER.getPropertyName();
     public final static String CATALOG_PREFER = CatalogFeatures.Feature.PREFER.getPropertyName();
     public final static String CATALOG_RESOLVE = CatalogFeatures.Feature.RESOLVE.getPropertyName();
 
     /**
+     * Reset SymbolTable feature
+     * System property name is identical to feature name
+     */
+    public final static String RESET_SYMBOL_TABLE = "jdk.xml.resetSymbolTable";
+
+    /**
      * Values for a feature
      */
     public static final String FEATURE_TRUE = "true";
     public static final String FEATURE_FALSE = "false";
 

@@ -62,10 +68,17 @@
      */
     public static final boolean USE_CATALOG_DEFAULT
             = SecuritySupport.getJAXPSystemProperty(Boolean.class, SP_USE_CATALOG, "true");
 
     /**
+     * Default value of RESET_SYMBOL_TABLE. This will read the System property
+     */
+    public static final boolean RESET_SYMBOL_TABLE_DEFAULT
+            = SecuritySupport.getJAXPSystemProperty(Boolean.class, RESET_SYMBOL_TABLE, "false");
+
+
+    /**
      * JDK features (will be consolidated in the next major feature revamp
      */
     public final static String CDATA_CHUNK_SIZE = "jdk.xml.cdataChunkSize";
     public static final int CDATA_CHUNK_SIZE_DEFAULT
             = SecuritySupport.getJAXPSystemProperty(Integer.class, CDATA_CHUNK_SIZE, "0");
< prev index next >