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