View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.lang.xpath;
5   
6   public class PMDFunctions {
7       public static boolean matches(String s, String pattern1) {
8   	return MatchesFunction.matches(s, pattern1);
9       }
10  
11      public static boolean matches(String s, String pattern1, String pattern2) {
12  	return MatchesFunction.matches(s, pattern1, pattern2);
13      }
14  
15      public static boolean matches(String s, String pattern1, String pattern2, String pattern3) {
16  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3);
17      }
18  
19      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4) {
20  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4);
21      }
22  
23      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4,
24  	    String pattern5) {
25  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4, pattern5);
26      }
27  
28      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4,
29  	    String pattern5, String pattern6) {
30  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4, pattern5, pattern6);
31      }
32  }