METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; gov . IDENT_1 . IDENT_2 . find . IDENT_3 pattern = new gov . IDENT_1 . IDENT_2 . find . METHOD_1 ( STRING_1 ) ; gov . IDENT_1 . IDENT_2 . find . IDENT_4 matcher = new gov . IDENT_1 . IDENT_2 . find . METHOD_2 ( ) ; matcher . add ( pattern ) ; "<AssertPlaceHolder>" ; } match ( java . lang . String ) { if ( IDENT_5 == null ) { return false ; } javax . xml . IDENT_6 . IDENT_7 IDENT_8 = javax . xml . IDENT_6 . IDENT_7 . newInstance ( ) ; IDENT_8 . METHOD_3 ( STRING_2 , false ) ; try { javax . xml . IDENT_6 . IDENT_9 builder = IDENT_8 . METHOD_4 ( ) ; org . xml . IDENT_10 . IDENT_11 IDENT_12 = new org . xml . IDENT_10 . METHOD_5 ( new java . io . METHOD_6 ( IDENT_5 ) ) ; org . w3c . dom . Document document = builder . parse ( IDENT_12 ) ; javax . xml . IDENT_13 . IDENT_14 IDENT_15 = javax . xml . IDENT_13 . IDENT_14 . newInstance ( ) ; javax . xml . IDENT_13 . IDENT_16 IDENT_13 = IDENT_15 . METHOD_7 ( ) ; java . lang . String value = ( ( java . lang . String ) ( IDENT_13 . evaluate ( IDENT_17 , document , IDENT_18 . IDENT_19 ) ) ) ; java . util . regex . IDENT_20 matcher = IDENT_21 . matcher ( value ) ; if ( matcher . matches ( ) ) { return true ; } } catch ( javax . xml . IDENT_13 . IDENT_22 e ) { gov . IDENT_1 . IDENT_2 . find . IDENT_23 . LOGGER . error ( STRING_3 , IDENT_5 , e ) ; return false ; } catch ( javax . xml . IDENT_6 . IDENT_24 e ) { gov . IDENT_1 . IDENT_2 . find . IDENT_23 . LOGGER . error ( STRING_4 , e ) ; return false ; } catch ( org . xml . IDENT_10 . IDENT_25 e ) { gov . IDENT_1 . IDENT_2 . find . IDENT_23 . LOGGER . error ( STRING_5 , IDENT_5 , e ) ; return false ; } catch ( java . io . IOException e ) { gov . IDENT_1 . IDENT_2 . find . IDENT_23 . LOGGER . error ( STRING_6 , e ) ; return false ; } return false ; }
org . junit . Assert . assertTrue ( matcher . match ( IDENT_0 ) )