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