|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.util.validator.AndValidator
public class AndValidator
Validator that only checks whether all of its known validators validate the given input.
Constructor Summary | |
---|---|
AndValidator(Collection<Validator> validators)
Constructs an AndValidator with the given validators. |
Method Summary | |
---|---|
String |
getDescription()
Returns a human readable representation of this Validator. |
boolean |
isAlwaysTrue()
Returns true, if this Validator validates all values to true. The result must not necessarily be correct. |
String |
validate(Object value)
Checks whether the given value is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndValidator(Collection<Validator> validators)
validators
- the validators.Method Detail |
---|
public String validate(Object value)
Validator
validate
in interface Validator
value
- the value to check
Validator.validate(Object)
public String getDescription()
Validator
getDescription
in interface Validator
Validator.getDescription()
public boolean isAlwaysTrue()
Validator
isAlwaysTrue
in interface Validator
Validator.isAlwaysTrue()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |