URI toURI ( ) { StringBuilder builder = new StringBuilder ( ) ; if ( defined ( this . scheme ) ) { builder . append ( this . scheme ) ; builder . append ( ":" ) ; } if ( defined ( this . authority ) ) { builder . append ( "//" ) ; builder . append ( this . authority ) ; } if ( defined ( this . path ) ) { builder . append ( this . path ) ; } if ( defined ( this . query ) ) { builder . append ( "?" ) ; builder . append ( this . query ) ; } if ( defined ( this . fragment ) ) { builder . append ( "#" ) ; builder . append ( this . fragment ) ; } String rawURI = builder . toString ( ) ; return URI . create ( rawURI ) ; }
5 . 3 . Component Recomposition