org.xml.sax.XMLReader.setFeature
method
public setFeature(name as String, value as Boolean) as Void throws SAXNotRecognizedException, SAXNotSupportedException
Description

Sets the current value of a feature flag.

Parameters
  • name Fully-qualified feature URI.
  • value Requested feature value.
Throws
  • SAXNotRecognizedException if the feature is unknown.
  • SAXNotSupportedException if the value cannot be set.
Example
reader.setFeature("http://xml.org/sax/features/namespaces", true)