public void setFeature (String name, boolean value)
    throws SAXNotRecognizedException, SAXNotSupportedException
    {
    if (parent != null) {
        parent.setFeature(name, value);
    } else {
        throw new SAXNotRecognizedException("Feature: " + name);
    }
    }
public void setFeature ( String name , boolean value ) throws SAXNotRecognizedException , SAXNotSupportedException { if ( parent != null ) { parent . setFeature ( name , value ) ; } else { throw new SAXNotRecognizedException ( "Feature: " + name ) ; } }
Set the value of a feature.

<p>This will always fail if the parent is null.</p>

@param name The feature name.
@param value The requested feature value.
@exception org.xml.sax.SAXNotRecognizedException If the feature
value can't be assigned or retrieved from the parent.
@exception org.xml.sax.SAXNotSupportedException When the
parent recognizes the feature name but
cannot set the requested value.