| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private boolean[] | featureValues
Values of the features |
| public static final String | |
| public static final String | |
| pack-priv boolean | secureProcessing
Flag indicating if secure processing is set |
| private JdkProperty. | states
States of the settings for each property |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JdkXmlFeatures | Returns: a copy of the JdkXmlFeaturesOverrides java. Returns a copy of the JdkXmlFeatures. |
| public JdkXmlFeatures | Returns: a copy of the JdkXmlFeaturesReturns a copy of the JdkXmlFeatures that is updated with the current System Properties. |
| public JdkXmlFeatures. | Returns: the feature if found; null otherwiseproperty name propertyName)Finds the feature by string name. |
| public boolean | Returns: the value of the propertythe property featureReturn the value of the specified property |
| public boolean | Returns: value of a featurethe index of a feature index)Return the value of a feature by its index (the Feature's ordinal) |
| public int | |
| private boolean | Returns: true if the system property is found, false otherwisethe XmlFeature feature,the corresponding system property sysPropertyName)Read the system property, or the setting in the Jaxp Configuration File corresponding to the XmlFeature. |
| private void | |
| public boolean | Returns: true if the property is managed by the JdkXmlFeatures instance; false otherwise.property name propertyName, JdkProperty.the state of the property state,the value of the property value)Set feature by property name and state |
| public void | setFeature(JdkXmlFeatures.
the feature feature,the state of the property state,the value of the property value)Set the value for a specific feature. |
| public void | setFeature(int
the index of the property index, JdkProperty.the state of the property state,the value of the property value)Set the value of a property by its index |
| public void | setFeature(int
the index of the property index, JdkProperty.the state of the property state,the value of the property value)Set the value of a property by its index |
| public void |
| CATALOG_FEATURES | back to summary |
|---|---|
| public static final String CATALOG_FEATURES | |
| featureValues | back to summary |
|---|---|
| private boolean[] featureValues Values of the features | |
| ORACLE_JAXP_PROPERTY_PREFIX | back to summary |
|---|---|
| public static final String ORACLE_JAXP_PROPERTY_PREFIX | |
| PROPERTY_USE_CATALOG | back to summary |
|---|---|
| public static final String PROPERTY_USE_CATALOG | |
| secureProcessing | back to summary |
|---|---|
| pack-priv boolean secureProcessing Flag indicating if secure processing is set | |
| states | back to summary |
|---|---|
| private JdkProperty. States of the settings for each property | |
| XML_FEATURE_MANAGER | back to summary |
|---|---|
| public static final String XML_FEATURE_MANAGER | |
| JdkXmlFeatures | back to summary |
|---|---|
| public JdkXmlFeatures(boolean secureProcessing) Instantiate JdkXmlFeatures and initialize the fields | |
| clone | back to summary |
|---|---|
| public JdkXmlFeatures clone() Overrides java. Returns a copy of the JdkXmlFeatures.
| |
| cloneAndUpdate | back to summary |
|---|---|
| public JdkXmlFeatures cloneAndUpdate() Returns a copy of the JdkXmlFeatures that is updated with the current System Properties.
| |
| findByName | back to summary |
|---|---|
| public JdkXmlFeatures. Finds the feature by string name.
| |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(JdkXmlFeatures. Return the value of the specified property
| |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(int index) Return the value of a feature by its index (the Feature's ordinal)
| |
| getIndex | back to summary |
|---|---|
| public int getIndex(String propertyName) Get the index by property name
| |
| getSystemProperty | back to summary |
|---|---|
| private boolean getSystemProperty(JdkXmlFeatures. Read the system property, or the setting in the Jaxp Configuration File corresponding to the XmlFeature.
| |
| readSystemProperties | back to summary |
|---|---|
| private void readSystemProperties() Read from system properties, or those in jaxp.properties | |
| setFeature | back to summary |
|---|---|
| public boolean setFeature(String propertyName, JdkProperty. Set feature by property name and state
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(JdkXmlFeatures. Set the value for a specific feature.
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(int index, JdkProperty. Set the value of a property by its index
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(int index, JdkProperty. Set the value of a property by its index
| |
| update | back to summary |
|---|---|
| public void update() Updates the JdkXmlFeatures instance by reading the system properties again. This will become necessary in case the system properties are set after the instance has been created. | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| public static final JdkXmlFeatures. | ENABLE_EXTENSION_FUNCTION
Feature enableExtensionFunctions FSP: extension function is enforced by FSP. |
| private final boolean | |
| private final boolean | |
| private final JdkProperty. | |
| public static final JdkXmlFeatures. | JDK_OVERRIDE_PARSER
Feature overrideDefaultParser FSP: not enforced by FSP. |
| private final String | name
Hides java. |
| private final String | |
| private final String | |
| private final String | |
| public static final JdkXmlFeatures. | RESET_SYMBOL_TABLE_FEATURE
Feature resetSymbolTable FSP: RESET_SYMBOL_TABLE_FEATURE is not enforced by FSP. |
| public static final JdkXmlFeatures. | USE_CATALOG
The |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | XmlFeature(JdkProperty.
the Implementation specific properties map. When the
map is specified, there is no need to repeat or enter other name
parameters. implMap,the name of the feature name, String the name of the System Property nameSP, boolean differ, String the name of the corresponding legacy property nameOld, String the system property of the legacy property nameOldSP, boolean the value of the feature value, boolean valueEnforced, boolean a flag to indicate whether the feature is supported hasSystem, boolean a flag indicating whether the feature is
FSP (Feature_Secure_Processing) enforced
with a System property enforced)Constructs an XmlFeature instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | |
| pack-priv boolean | |
| public boolean | |
| pack-priv boolean | Returns: true if the specified property is the current property, false otherwisethe name of a property propertyName)Checks whether the specified property is equal to the current property. |
| public JdkProperty. | |
| pack-priv boolean | Returns: true it is supported, false otherwiseChecks whether System property is supported for the feature. |
| pack-priv String | Returns: the name of the System PropertyReturns the name of the corresponding System Property. |
| pack-priv String | Returns: the name of the legacy System PropertyReturns the name of the legacy System Property. |
| public static JdkXmlFeatures. | |
| public static JdkXmlFeatures. |
| differ | back to summary |
|---|---|
| private final boolean differ | |
| ENABLE_EXTENSION_FUNCTION | back to summary |
|---|---|
| public static final JdkXmlFeatures. Feature enableExtensionFunctions FSP: extension function is enforced by FSP. When FSP is on, extension function is disabled. | |
| enforced | back to summary |
|---|---|
| private final boolean enforced | |
| hasSystem | back to summary |
|---|---|
| private final boolean hasSystem | |
| implMap | back to summary |
|---|---|
| private final JdkProperty. | |
| JDK_OVERRIDE_PARSER | back to summary |
|---|---|
| public static final JdkXmlFeatures. Feature overrideDefaultParser FSP: not enforced by FSP. | |
| name | back to summary |
|---|---|
| private final String name Hides java. | |
| nameOld | back to summary |
|---|---|
| private final String nameOld | |
| nameOldSP | back to summary |
|---|---|
| private final String nameOldSP | |
| nameSP | back to summary |
|---|---|
| private final String nameSP | |
| RESET_SYMBOL_TABLE_FEATURE | back to summary |
|---|---|
| public static final JdkXmlFeatures. Feature resetSymbolTable FSP: RESET_SYMBOL_TABLE_FEATURE is not enforced by FSP. | |
| USE_CATALOG | back to summary |
|---|---|
| public static final JdkXmlFeatures. The | |
| valueDefault | back to summary |
|---|---|
| private final boolean valueDefault | |
| valueEnforced | back to summary |
|---|---|
| private final boolean valueEnforced | |
| XmlFeature | back to summary |
|---|---|
| private XmlFeature(JdkProperty. Constructs an XmlFeature instance.
| |
| apiProperty | back to summary |
|---|---|
| public String apiProperty() Returns the name of the property.
| |
| defaultValue | back to summary |
|---|---|
| public boolean defaultValue() Returns the default value of the property.
| |
| enforced | back to summary |
|---|---|
| pack-priv boolean enforced() Checks whether the property is enforced by FSP
| |
| enforcedValue | back to summary |
|---|---|
| public boolean enforcedValue() Returns the FSP-enforced value.
| |
| equalsPropertyName | back to summary |
|---|---|
| pack-priv boolean equalsPropertyName(String propertyName) Checks whether the specified property is equal to the current property.
| |
| getState | back to summary |
|---|---|
| public JdkProperty. Returns the state of a property name. By the specification as of JDK 17, the "jdk.xml." prefixed System property name is also the current API name. Both the URI-based qName and old name if any are legacy.
| |
| hasSystemProperty | back to summary |
|---|---|
| pack-priv boolean hasSystemProperty() Checks whether System property is supported for the feature.
| |
| systemProperty | back to summary |
|---|---|
| pack-priv String systemProperty() Returns the name of the corresponding System Property.
| |
| systemPropertyOld | back to summary |
|---|---|
| pack-priv String systemPropertyOld() Returns the name of the legacy System Property.
| |
| valueOf | back to summary |
|---|---|
| public static JdkXmlFeatures. | |
| values | back to summary |
|---|---|
| public static JdkXmlFeatures. | |