Code example for SAXNotRecognizedException

0
        } 
        if (FEATURE_IS_STANDALONE.equals(name)) 
        { 
            return isStandalone; 
        } 
        throw new SAXNotRecognizedException(name); 
    } 
 
    public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException 
    { 
        if (FEATURE_NAMES_SPACE.equals(name)) 
        { 
            isNamespaceAware = value; 
            return; 
        } 
        if (FEATURE_NAMES_SPACE_PREFIXES.equals(name)) 
        { 
            supportNameSpacePrefixes = value; 
            return; 
        } 
        if (FEATURE_VALIDATION.equals(name))