public General getGeneral() throws Exception {
    Map<String, Object> siteinfo = wiki.getSiteInfo();
    String xml = (String) siteinfo.get("xml");
    Api api = super.fromXML(xml);
    General result = api.getQuery().getGeneral();
    return result;
  }
public General getGeneral ( ) throws Exception { Map < String , Object > siteinfo = wiki . getSiteInfo ( ) ; String xml = ( String ) siteinfo . get ( "xml" ) ; Api api = super . fromXML ( xml ) ; General result = api . getQuery ( ) . getGeneral ( ) ; return result ; }
get the siteinfo
@return
@throws Exception