org.exolab.castor.xml.validators
Class IdRefValidator

java.lang.Object
  extended by 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
IdRefValidator()
          Creates a new IdRefValidator with no restrictions.
 
Method Summary
 void validate(java.lang.Object object, ValidationContext context)
          Validates the given Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdRefValidator

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

Method Detail

validate

public void validate(java.lang.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