public class IdRefValidator extends Object implements TypeValidator
Constructor and Description |
---|
IdRefValidator()
Creates a new IdRefValidator with no restrictions.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(Object object,
ValidationContext context)
Validates the given Object.
|
public IdRefValidator()
public void validate(Object object, ValidationContext context) throws ValidationException
validate
in interface TypeValidator
object
- the Object to validatecontext
- the ValidationContextValidationException
- if the object fails validation.Copyright © 2014. All rights reserved.