@@ -49,7 +49,7 @@ public class Field implements Cloneable, Serializable {
49
49
private static final long serialVersionUID = -8502647722530192185L ;
50
50
51
51
/**
52
- * This is the value that will be used as a key if the < code> Arg</code>
52
+ * This is the value that will be used as a key if the {@ code Arg}
53
53
* name field has no value.
54
54
*/
55
55
private static final String DEFAULT_ARG =
@@ -147,7 +147,7 @@ public class Field implements Cloneable, Serializable {
147
147
protected Map <String , Arg >[] args = new Map [0 ];
148
148
149
149
/**
150
- * Add an < code> Arg</code> to the replacement argument list.
150
+ * Add an {@ code Arg} to the replacement argument list.
151
151
* @since 1.1
152
152
* @param arg Validation message's argument.
153
153
*/
@@ -175,16 +175,16 @@ public void addArg(final Arg arg) {
175
175
}
176
176
177
177
/**
178
- * Add a < code> Msg</code> to the < code> Field</code> .
178
+ * Add a {@ code Msg} to the {@ code Field} .
179
179
* @param msg A validation message.
180
180
*/
181
181
public void addMsg (final Msg msg ) {
182
182
getMsgMap ().put (msg .getName (), msg );
183
183
}
184
184
185
185
/**
186
- * Add a < code> Var</code> , based on the values passed in, to the
187
- * < code> Field</code> .
186
+ * Add a {@ code Var} , based on the values passed in, to the
187
+ * {@ code Field} .
188
188
* @param name Name of the validation.
189
189
* @param value The Argument's value.
190
190
* @param jsType The JavaScript type.
@@ -194,7 +194,7 @@ public void addVar(final String name, final String value, final String jsType) {
194
194
}
195
195
196
196
/**
197
- * Add a < code> Var</code> to the < code> Field</code> .
197
+ * Add a {@ code Var} to the {@ code Field} .
198
198
* @param v The Validator Argument.
199
199
*/
200
200
public void addVar (final Var v ) {
@@ -291,7 +291,7 @@ private void ensureArgsCapacity(final Arg arg) {
291
291
}
292
292
293
293
/**
294
- * Generate correct < code> key</code> value.
294
+ * Generate correct {@ code key} value.
295
295
*/
296
296
public void generateKey () {
297
297
if (this .isIndexed ()) {
@@ -302,7 +302,7 @@ public void generateKey() {
302
302
}
303
303
304
304
/**
305
- * Gets the default < code> Arg</code> object at the given position.
305
+ * Gets the default {@ code Arg} object at the given position.
306
306
* @param position Validation message argument's position.
307
307
* @return The default Arg or null if not found.
308
308
* @since 1.1
@@ -312,7 +312,7 @@ public Arg getArg(final int position) {
312
312
}
313
313
314
314
/**
315
- * Gets the < code> Arg</code> object at the given position. If the key
315
+ * Gets the {@ code Arg} object at the given position. If the key
316
316
* finds a {@code null} value then the default value will be
317
317
* retrieved.
318
318
* @param key The name the Arg is stored under. If not found, the default
@@ -355,7 +355,7 @@ public Arg[] getArgs(final String key) {
355
355
}
356
356
357
357
/**
358
- * Gets an unmodifiable < code> List</code> of the dependencies in the same
358
+ * Gets an unmodifiable {@ code List} of the dependencies in the same
359
359
* order they were defined in parameter passed to the setDepends() method.
360
360
* @return A list of the Field's dependancies.
361
361
*/
@@ -372,7 +372,7 @@ public String getDepends() {
372
372
}
373
373
374
374
/**
375
- * Gets the position of the < code> Field</code> in the validation list.
375
+ * Gets the position of the {@ code Field} in the validation list.
376
376
* @return The field position.
377
377
*/
378
378
public int getFieldOrder () {
@@ -382,7 +382,7 @@ public int getFieldOrder() {
382
382
/**
383
383
* Gets the indexed property name of the field. This
384
384
* is the method name that will return an array or a
385
- * <code> Collection</code> used to retrieve the
385
+ * {@link Collection} used to retrieve the
386
386
* list and then loop through the list performing the specified
387
387
* validations.
388
388
* @return The field's indexed List property name.
@@ -393,7 +393,7 @@ public String getIndexedListProperty() {
393
393
394
394
/**
395
395
* Gets the indexed property name of the field. This
396
- * is the method name that can take an < code> int</code> as
396
+ * is the method name that can take an {@ code int} as
397
397
* a parameter for indexed property value retrieval.
398
398
* @return The field's indexed property name.
399
399
*/
@@ -483,8 +483,8 @@ public Msg getMessage(final String key) {
483
483
}
484
484
485
485
/**
486
- * The < code> Field</code> 's messages are returned as an
487
- * unmodifiable <code> Map</code> .
486
+ * The {@ code Field} 's messages are returned as an
487
+ * unmodifiable {@link Map} .
488
488
* @since 1.1.4
489
489
* @return Map of validation messages for the field.
490
490
*/
@@ -549,8 +549,8 @@ protected Map<String, Var> getVarMap() {
549
549
}
550
550
551
551
/**
552
- * The < code> Field</code> 's variables are returned as an
553
- * unmodifiable <code> Map</code> .
552
+ * The {@ code Field} 's variables are returned as an
553
+ * unmodifiable {@link Map} .
554
554
* @return the Map of Variable's for a Field.
555
555
*/
556
556
public Map <String , Var > getVars () {
@@ -616,7 +616,7 @@ public boolean isIndexed() {
616
616
617
617
/**
618
618
* Replace constants with values in fields and process the depends field
619
- * to create the dependency <code> Map</code> .
619
+ * to create the dependency {@link Map} .
620
620
*/
621
621
void process (final Map <String , String > globalConstants , final Map <String , String > constants ) {
622
622
this .hMsgs .setFast (false );
@@ -663,7 +663,7 @@ void process(final Map<String, String> globalConstants, final Map<String, String
663
663
}
664
664
665
665
/**
666
- * Replace the arg <code> Collection</code> key value with the key/value
666
+ * Replace the arg {@link Collection} key value with the key/value
667
667
* pairs passed in.
668
668
*/
669
669
private void processArg (final String key , final String replaceValue ) {
@@ -774,7 +774,7 @@ public void setDepends(final String depends) {
774
774
}
775
775
776
776
/**
777
- * Sets the position of the < code> Field</code> in the validation list.
777
+ * Sets the position of the {@ code Field} in the validation list.
778
778
* @param fieldOrder The field position.
779
779
*/
780
780
public void setFieldOrder (final int fieldOrder ) {
0 commit comments