org.raml.model.validation
Class MaxLengthValidation
java.lang.Object
org.raml.model.validation.MaxLengthValidation
- All Implemented Interfaces:
- Validation
public class MaxLengthValidation
- extends Object
- implements Validation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxLengthValidation
public MaxLengthValidation(int maxLength)
check
public boolean check(String input)
- Specified by:
check in interface Validation
Copyright © 2013. All rights reserved.