public ValidationMatcherLibrary getLibraryForPrefix ( String validationMatcherPrefix ) { if ( validationMatcherLibraries != null ) { for ( ValidationMatcherLibrary validationMatcherLibrary : validationMatcherLibraries ) { if ( validationMatcherLibrary . getPrefix ( ) . equals ( validationMatcherPrefix ) ) { return validationMatcherLibrary ; } } } throw new NoSuchValidationMatcherLibraryException ( "Can not find validationMatcher library for prefix " + validationMatcherPrefix ) ; }
Get library for validationMatcher prefix .