org.exolab.castor.xml.validators
Class IdRefsValidator
java.lang.Object
org.exolab.castor.xml.validators.IdRefsValidator
- All Implemented Interfaces:
- TypeValidator
public class IdRefsValidator
- extends Object
- implements TypeValidator
The IDREFS Validation class.
- Version:
- $Revision: 0000 $ $Date: $
- Author:
- Werner Guttman
|
Constructor Summary |
IdRefsValidator()
Creates a new IdRefsValidator with no restrictions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdRefsValidator
public IdRefsValidator()
- Creates a new IdRefsValidator with no restrictions.
validate
public void validate(Object object,
ValidationContext context)
throws ValidationException
- Validates the given Object.
- Specified by:
validate in interface TypeValidator
- Parameters:
object - the Object to validatecontext - the ValidationContext
- Throws:
ValidationException - if the object fails validation.
Copyright © 2013. All Rights Reserved.