1 8 9 package net.sourceforge.chaperon.model.extended; 10 11 import net.sourceforge.chaperon.model.Violations; 12 13 public class EndOfText extends Pattern 14 { 15 public boolean isNullable() 16 { 17 return false; 18 } 19 20 public PatternSet getFirstSet() 21 { 22 return null; 23 } 24 25 public PatternSet getLastSet() 26 { 27 return null; 28 } 29 30 public char[] getLimits() 31 { 32 return new char[0]; 33 } 34 35 public boolean contains(char minimum, char maximum) 36 { 37 return false; 38 } 39 40 public boolean contains(char c) 41 { 42 return false; 43 } 44 45 public String getSymbol() 46 { 47 return null; 48 } 49 50 public Object clone() 51 { 52 return this; 53 } 54 55 public Violations validate() 56 { 57 return null; 58 } 59 60 public String toString() 61 { 62 return "$"; 63 } 64 } 65 | Popular Tags |