Package org.exolab.castor.xml.validators
Class IdRefsValidator
- java.lang.Object
-
- org.exolab.castor.xml.validators.IdRefsValidator
-
- All Implemented Interfaces:
TypeValidator
public class IdRefsValidator extends java.lang.Object implements TypeValidator
The IDREFS Validation class.- Version:
- $Revision: 0000 $ $Date: $
- Author:
- Werner Guttman
-
-
Constructor Summary
Constructors Constructor Description IdRefsValidator()Creates a new IdRefsValidator with no restrictions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(java.lang.Object object, ValidationContext context)Validates the given Object.
-
-
-
Method Detail
-
validate
public void validate(java.lang.Object object, ValidationContext context) throws ValidationExceptionValidates the given Object.- Specified by:
validatein interfaceTypeValidator- Parameters:
object- the Object to validatecontext- the ValidationContext- Throws:
ValidationException- if the object fails validation.
-
-