Code example for XMLReader

Methods: getFeature

0
    } 
 
    @Override 
    public boolean isNamespaceAware() { 
        try { 
            return reader.getFeature("http://xml.org/sax/features/namespaces");
        } catch (SAXException ex) {
            return false; 
        } 
    } 
 
    @Override 
    public boolean isValidating() { 
        return false; 
    } 
 
    @Override 
    public void setProperty(String name, Object value)
            throws SAXNotRecognizedException, SAXNotSupportedException { 
        reader.setProperty(name, value);
    }