Code example for SAXNotRecognizedException

0
        if (name.equals(Feature.NAMESPACE_PREFIXES)) {
            return processNamespacePrefixes;
        } 
 
        if (name.equals(Feature.STRING_INTERNING)) {
            return true; 
        } 
 
        throw new SAXNotRecognizedException(name);
    } 
 
    public void setFeature(String name, boolean value)
            throws SAXNotRecognizedException, SAXNotSupportedException { 
        if (name == null) {
            throw new NullPointerException("name == null");
        } 
 
        if (name.equals(Feature.VALIDATION)
                || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES)
                || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) {
            if (value) {