org.exolab.castor.xml.validators

Class IdRefsValidator

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

IdRefsValidator()
Creates a new IdRefsValidator with no restrictions.

Method Summary

void
validate(Object object, ValidationContext context)
Validates the given Object.

Constructor Details

IdRefsValidator

public IdRefsValidator()
Creates a new IdRefsValidator with no restrictions.

Method Details

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 validate
context - the ValidationContext
Throws:
ValidationException - if the object fails validation.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com