- name
- The feature name, which is a non-null fully-qualified URI.
- value
- The requested value of the feature (true or false).
Type Reason Org.Xml.Sax.SAXNotRecognizedException If the feature value can't be assigned or retrieved. Org.Xml.Sax.SAXNotSupportedException When the Javax.Xml.Validation.Validator recognizes the feature name but cannot set the requested value. Java.Lang.NullPointerException When the name parameter is null.
Set the value of a feature flag.
Feature can be used to control the way a Javax.Xml.Validation.Validator parses schemas, although Javax.Xml.Validation.Validators are not required to recognize any specific property names.
The feature name is any fully-qualified URI. It is possible for a Javax.Xml.Validation.Validator to expose a feature value but to be unable to change the current value. Some feature values may be immutable or mutable only in specific contexts, such as before, during, or after a validation.