code: public void setURI( String uriString, boolean encoded ) throws URISyntaxException
      {
          if ( uriString == null )
          {
              setScheme( null );
              setUserInfo( null );
              setHost( null );
              setPort( UNDEFINED_PORT );
              setPath( null );
              setQuery( null );
              setFragment( null );
          }
          else
          {
              URI uri = null;
  
              if ( encoded )
              {
                  // Get (parse) the components using java.net.URI
                  uri = new URI( uriString );
              }
              else
              {
                  // Parse, then encode this string into its components using URI
                  uri = encodeURI( uriString );
              }
  
              setURI( uri );
          }
      }
docs: Set the value of the <code>MutableURI</code>.
  
  <p> This method can also be used to clear the <code>MutableURI</code>. </p>
  
  @param  uriString the string to be parsed into a URI
  @param  encoded Flag indicating whether the string is
  already encoded.