public boolean matches ( String uri ) { if ( uri == null ) { return false ; } Matcher matcher = this . matchPattern . matcher ( uri ) ; return matcher . matches ( ) ; }
Indicate whether the given URI matches this template .