View Javadoc
1   /*
2   SuppressionXpathFilter
3   file = (file)InputSuppressionXpathFilterEscapeString.xml
4   optional = (default)false
5   
6   com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
7   format = [^a-zA-z0-9]*
8   ignoreCase = (default)false
9   message = (default)
10  tokens = STRING_LITERAL
11  
12  */
13  package com.puppycrawl.tools.checkstyle.filters.suppressionxpathfilter;
14  
15  public class InputSuppressionXpathFilterEscapeString {
16  
17      String quoteChar = "\"escaped\""; // filtered violation
18  
19      String lessChar = "<escaped"; // filtered violation
20  
21      String ampersandChar = "&escaped"; // filtered violation
22  
23      String greaterChar = ">escaped"; // filtered violation
24  
25      String newLineChar = "escaped\n"; // filtered violation
26  
27      String specialChar = "escaped\r"; // filtered violation
28  
29      String aposChar = "'escaped'"; // filtered violation
30  
31      String unicodeCharOne = "语言处理Char"; // violation
32  
33      String unicodeCharTwo = "ǯChar"; // violation
34  }