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

Returns the current value of a feature flag.

Parameters
  • name Fully-qualified feature URI.
Returns

Current feature value.

Throws
  • SAXNotRecognizedException if the feature is unknown.
  • SAXNotSupportedException if the value is not available now.
Example
namespaces = reader.getFeature("http://xml.org/sax/features/namespaces")