1 Clazz.declarePackage ("com.stevesoft.pat");
\r
2 Clazz.load (null, "com.stevesoft.pat.Validator", ["com.stevesoft.pat.patInf", "$.patInt"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
6 Clazz.instantialize (this, arguments);
\r
7 }, com.stevesoft.pat, "Validator");
\r
8 Clazz.defineMethod (c$, "validate",
\r
9 function (src, start, end) {
\r
11 }, "com.stevesoft.pat.StringLike,~N,~N");
\r
12 Clazz.defineMethod (c$, "arg",
\r
16 Clazz.defineMethod (c$, "minChars",
\r
18 return new com.stevesoft.pat.patInt (0);
\r
20 Clazz.defineMethod (c$, "maxChars",
\r
22 return new com.stevesoft.pat.patInf ();
\r