public void addQuery ( Query query ) { if ( query == null ) return ; try { if ( ! query . getEncoding ( ) . equals ( getEncoding ( ) ) ) throw new RuntimeException ( "TODO" ) ; addQuery ( query . getQuery ( ) , false ) ; } catch ( URISyntaxException e ) { // shouldn't happen since a query is already properly formatted throw new RuntimeException ( e ) ; } }
Simply adds the query provided .