KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > chaperon > model > extended > BeginOfText


1 /*
2  * Copyright (C) Chaperon. All rights reserved.
3  * -------------------------------------------------------------------------
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE file.
7  */

8
9 package net.sourceforge.chaperon.model.extended;
10
11 import net.sourceforge.chaperon.model.Violations;
12
13 public class BeginOfText 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 JavaDoc getSymbol()
46   {
47     return null;
48   }
49
50   public Object JavaDoc clone()
51   {
52     return this;
53   }
54
55   public Violations validate()
56   {
57     return null;
58   }
59
60   public String JavaDoc toString()
61   {
62     return "^";
63   }
64 }
65
Popular Tags