final JVar setEntityResolverHandler = setEntityResolver.param(EntityResolver.class, "handler");
setEntityResolver.body().add(xmlReader.invoke("setEntityResolver").arg(setEntityResolverHandler));
final JMethod setErrorHandler = namespaceFilterXMLReaderclass.method(JMod.PUBLIC, cc.implClass.owner().VOID, "setErrorHandler");
final JVar setErrorHandlerHandler = setErrorHandler.param(ErrorHandler.class, "handler");
setErrorHandler.body().add(xmlReader.invoke("setErrorHandler").arg(setErrorHandlerHandler));
final JMethod setFeature = namespaceFilterXMLReaderclass.method(JMod.PUBLIC, cc.implClass.owner().VOID, "setFeature");
final JVar setFeatureName = setFeature.param(stringClass, "name");
final JVar setFeatureValue = setFeature.param(cc.implClass.owner().BOOLEAN, "value");
setFeature._throws(SAXNotRecognizedException.class)._throws(SAXNotSupportedException.class);