Code example for SAXParserFactory

Methods: getFeature

0
        spf.setFeature(s, b);
    } 
 
    @Override 
    public boolean getFeature(String s) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException {
        return spf.getFeature(s);
    } 
 
    @SuppressWarnings("deprecation") 
    private static final class WrappingSAXParser extends SAXParser {
        private final SAXParser sp;
 
        protected WrappingSAXParser(SAXParser sp) {
            this.sp = sp;
        } 
 
        @Override 
        public void reset() { 
            sp.reset();
        }