public void setFeature(String k, boolean enable) {
        try {
            reader.setFeature(k, enable);
        } catch (SAXException e) {
            throw new RuntimeException("设置属性失败:[" + k + ":" + enable + "]");
        }
    }
public void setFeature ( String k , boolean enable ) { try { reader . setFeature ( k , enable ) ; } catch ( SAXException e ) { throw new RuntimeException ( "设置属性失败:[" + k + ":" + enable + "]" ) ; } }
配置SAXReader

@param k      name
@param enable 是否允许，true表示允许