com.sun.enterprise.admin.servermgmt
Class StringValidator
java.lang.Object
com.sun.enterprise.admin.servermgmt.Validator
com.sun.enterprise.admin.servermgmt.StringValidator
- Direct Known Subclasses:
- RepositoryNameValidator
public class StringValidator
- extends Validator
Validator class for domain config entries whose type is java.lang.String.
|
Method Summary |
void |
validate(Object str)
Validates the given value for the given entry. |
| Methods inherited from class com.sun.enterprise.admin.servermgmt.Validator |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringValidator
public StringValidator(String name)
- Constructs new StringValidator object.
- Parameters:
name -
validate
public void validate(Object str)
throws InvalidConfigException
- Validates the given value for the given entry. This method first invokes
its superclass's validate method and then checks additional string
validations such as 0 length.
- Overrides:
validate in class Validator
- Throws:
InvalidConfigException
Copyright © 2012 GlassFish Community. All Rights Reserved.