Code example for SAXNotSupportedException

0
				spf.setNamespaceAware(true);
				spf.setValidating(false);
				spf.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
			} 
			catch ( ParserConfigurationException e ) {
				throw new SAXNotSupportedException(e.getMessage());
			} 
		} 
	} 
	 
	public void setSAXFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException {
		checkSAXFactory(); 
		try { 
			spf.setFeature(name, value);
		} 
		catch ( ParserConfigurationException e ) {
			throw new SAXNotRecognizedException(e.getMessage());
		} 
	} 
	 
	public boolean getSAXFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException {