View Javadoc

    1   package net.sourceforge.pmd.lang.xpath;
    2
    3   public class PMDFunctions {
    4       public static boolean matches(String s, String pattern1) {
    5   	return MatchesFunction.matches(s, pattern1);
    6       }
    7
    8       public static boolean matches(String s, String pattern1, String pattern2) {
    9   	return MatchesFunction.matches(s, pattern1, pattern2);
    10      }
    11
    12      public static boolean matches(String s, String pattern1, String pattern2, String pattern3) {
    13  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3);
    14      }
    15
    16      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4) {
    17  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4);
    18      }
    19
    20      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4,
    21  	    String pattern5) {
    22  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4, pattern5);
    23      }
    24
    25      public static boolean matches(String s, String pattern1, String pattern2, String pattern3, String pattern4,
    26  	    String pattern5, String pattern6) {
    27  	return MatchesFunction.matches(s, pattern1, pattern2, pattern3, pattern4, pattern5, pattern6);
    28      }
    29  }