1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.kernel.util;
16  
17  /**
18   * <a href="Validator_IW.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public class Validator_IW {
23      public static Validator_IW getInstance() {
24          return _instance;
25      }
26  
27      public boolean equals(java.lang.Object obj1, java.lang.Object obj2) {
28          return Validator.equals(obj1, obj2);
29      }
30  
31      public boolean isAddress(java.lang.String address) {
32          return Validator.isAddress(address);
33      }
34  
35      public boolean isAscii(char c) {
36          return Validator.isAscii(c);
37      }
38  
39      public boolean isChar(char c) {
40          return Validator.isChar(c);
41      }
42  
43      public boolean isChar(java.lang.String s) {
44          return Validator.isChar(s);
45      }
46  
47      public boolean isDate(int month, int day, int year) {
48          return Validator.isDate(month, day, year);
49      }
50  
51      public boolean isDigit(char c) {
52          return Validator.isDigit(c);
53      }
54  
55      public boolean isDigit(java.lang.String s) {
56          return Validator.isDigit(s);
57      }
58  
59      public boolean isDomain(java.lang.String domainName) {
60          return Validator.isDomain(domainName);
61      }
62  
63      public boolean isEmailAddress(java.lang.String emailAddress) {
64          return Validator.isEmailAddress(emailAddress);
65      }
66  
67      public boolean isEmailAddressSpecialChar(char c) {
68          return Validator.isEmailAddressSpecialChar(c);
69      }
70  
71      public boolean isGregorianDate(int month, int day, int year) {
72          return Validator.isGregorianDate(month, day, year);
73      }
74  
75      public boolean isHex(java.lang.String s) {
76          return Validator.isHex(s);
77      }
78  
79      public boolean isHTML(java.lang.String s) {
80          return Validator.isHTML(s);
81      }
82  
83      public boolean isIPAddress(java.lang.String ipAddress) {
84          return Validator.isIPAddress(ipAddress);
85      }
86  
87      public boolean isJulianDate(int month, int day, int year) {
88          return Validator.isJulianDate(month, day, year);
89      }
90  
91      public boolean isLUHN(java.lang.String number) {
92          return Validator.isLUHN(number);
93      }
94  
95      public boolean isName(java.lang.String name) {
96          return Validator.isName(name);
97      }
98  
99      public boolean isNotNull(java.lang.Object obj) {
100         return Validator.isNotNull(obj);
101     }
102 
103     public boolean isNotNull(java.lang.Long l) {
104         return Validator.isNotNull(l);
105     }
106 
107     public boolean isNotNull(java.lang.String s) {
108         return Validator.isNotNull(s);
109     }
110 
111     public boolean isNotNull(java.lang.Object[] array) {
112         return Validator.isNotNull(array);
113     }
114 
115     public boolean isNull(java.lang.Object obj) {
116         return Validator.isNull(obj);
117     }
118 
119     public boolean isNull(java.lang.Long l) {
120         return Validator.isNull(l);
121     }
122 
123     public boolean isNull(java.lang.String s) {
124         return Validator.isNull(s);
125     }
126 
127     public boolean isNull(java.lang.Object[] array) {
128         return Validator.isNull(array);
129     }
130 
131     public boolean isNumber(java.lang.String number) {
132         return Validator.isNumber(number);
133     }
134 
135     public boolean isPassword(java.lang.String password) {
136         return Validator.isPassword(password);
137     }
138 
139     public boolean isPhoneNumber(java.lang.String phoneNumber) {
140         return Validator.isPhoneNumber(phoneNumber);
141     }
142 
143     public boolean isVariableTerm(java.lang.String s) {
144         return Validator.isVariableTerm(s);
145     }
146 
147     public boolean isWhitespace(char c) {
148         return Validator.isWhitespace(c);
149     }
150 
151     public boolean isXml(java.lang.String s) {
152         return Validator.isXml(s);
153     }
154 
155     private Validator_IW() {
156     }
157 
158     private static Validator_IW _instance = new Validator_IW();
159 }