public class NamespaceSizeValidator extends java.lang.Object implements org.springframework.batch.item.validator.Validator<AssociationSource>
Constructor and Description |
---|
NamespaceSizeValidator() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxNamespaceLength()
Gets the max namespace length.
|
void |
setMaxNamespaceLength(int maxNamespaceLength)
Sets the max namespace length.
|
void |
validate(AssociationSource item) |
public void validate(AssociationSource item) throws org.springframework.batch.item.validator.ValidationException
validate
in interface org.springframework.batch.item.validator.Validator<AssociationSource>
org.springframework.batch.item.validator.ValidationException
public int getMaxNamespaceLength()
public void setMaxNamespaceLength(int maxNamespaceLength)
maxNamespaceLength
- the new max namespace length