1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.kernel.util;
24  
25  /**
26   * <a href="Validator_IW.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   */
30  public class Validator_IW {
31      public static Validator_IW getInstance() {
32          return _instance;
33      }
34  
35      public boolean equals(java.lang.Object obj1, java.lang.Object obj2) {
36          return Validator.equals(obj1, obj2);
37      }
38  
39      public boolean isAddress(java.lang.String address) {
40          return Validator.isAddress(address);
41      }
42  
43      public boolean isAscii(char c) {
44          return Validator.isAscii(c);
45      }
46  
47      public boolean isChar(char c) {
48          return Validator.isChar(c);
49      }
50  
51      public boolean isChar(java.lang.String s) {
52          return Validator.isChar(s);
53      }
54  
55      public boolean isDate(int month, int day, int year) {
56          return Validator.isDate(month, day, year);
57      }
58  
59      public boolean isDigit(char c) {
60          return Validator.isDigit(c);
61      }
62  
63      public boolean isDigit(java.lang.String s) {
64          return Validator.isDigit(s);
65      }
66  
67      public boolean isDomain(java.lang.String domainName) {
68          return Validator.isDomain(domainName);
69      }
70  
71      public boolean isEmailAddress(java.lang.String emailAddress) {
72          return Validator.isEmailAddress(emailAddress);
73      }
74  
75      public boolean isEmailAddressSpecialChar(char c) {
76          return Validator.isEmailAddressSpecialChar(c);
77      }
78  
79      public boolean isGregorianDate(int month, int day, int year) {
80          return Validator.isGregorianDate(month, day, year);
81      }
82  
83      public boolean isHex(java.lang.String s) {
84          return Validator.isHex(s);
85      }
86  
87      public boolean isHTML(java.lang.String s) {
88          return Validator.isHTML(s);
89      }
90  
91      public boolean isIPAddress(java.lang.String ipAddress) {
92          return Validator.isIPAddress(ipAddress);
93      }
94  
95      public boolean isJulianDate(int month, int day, int year) {
96          return Validator.isJulianDate(month, day, year);
97      }
98  
99      public boolean isLUHN(java.lang.String number) {
100         return Validator.isLUHN(number);
101     }
102 
103     public boolean isName(java.lang.String name) {
104         return Validator.isName(name);
105     }
106 
107     public boolean isNotNull(java.lang.Object obj) {
108         return Validator.isNotNull(obj);
109     }
110 
111     public boolean isNotNull(java.lang.Long l) {
112         return Validator.isNotNull(l);
113     }
114 
115     public boolean isNotNull(java.lang.String s) {
116         return Validator.isNotNull(s);
117     }
118 
119     public boolean isNotNull(java.lang.Object[] array) {
120         return Validator.isNotNull(array);
121     }
122 
123     public boolean isNull(java.lang.Object obj) {
124         return Validator.isNull(obj);
125     }
126 
127     public boolean isNull(java.lang.Long l) {
128         return Validator.isNull(l);
129     }
130 
131     public boolean isNull(java.lang.String s) {
132         return Validator.isNull(s);
133     }
134 
135     public boolean isNull(java.lang.Object[] array) {
136         return Validator.isNull(array);
137     }
138 
139     public boolean isNumber(java.lang.String number) {
140         return Validator.isNumber(number);
141     }
142 
143     public boolean isPassword(java.lang.String password) {
144         return Validator.isPassword(password);
145     }
146 
147     public boolean isPhoneNumber(java.lang.String phoneNumber) {
148         return Validator.isPhoneNumber(phoneNumber);
149     }
150 
151     public boolean isVariableTerm(java.lang.String s) {
152         return Validator.isVariableTerm(s);
153     }
154 
155     public boolean isWhitespace(char c) {
156         return Validator.isWhitespace(c);
157     }
158 
159     public boolean isXml(java.lang.String s) {
160         return Validator.isXml(s);
161     }
162 
163     private Validator_IW() {
164     }
165 
166     private static Validator_IW _instance = new Validator_IW();
167 }