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 void
validate(java.lang.Object object, ValidationContext context)
Validates the given Object.
-
-
-
Method Detail
-
validate
public void validate(java.lang.Object object, ValidationContext context) throws ValidationException
Validates the given Object.- Specified by:
validate
in interfaceTypeValidator
- Parameters:
object
- the Object to validatecontext
- the ValidationContext- Throws:
ValidationException
- if the object fails validation.
-
-