Package org.exolab.castor.xml.validators
Class IdRefValidator
- java.lang.Object
-
- org.exolab.castor.xml.validators.IdRefValidator
-
- All Implemented Interfaces:
TypeValidator
public class IdRefValidator extends java.lang.Object implements TypeValidator
The IDREF Validation class.- Version:
- $Revision: 0000 $ $Date: $
- Author:
- Werner Guttman
-
-
Constructor Summary
Constructors Constructor Description IdRefValidator()
Creates a new IdRefValidator 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.
-
-