org.exolab.castor.xml.validators
public class IdRefValidator extends java.lang.Object implements TypeValidator
Constructor and Description |
---|
IdRefValidator()
Creates a new IdRefValidator with no restrictions.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(java.lang.Object object,
ValidationContext context)
Validates the given Object.
|
public IdRefValidator()
public void validate(java.lang.Object object, ValidationContext context) throws ValidationException
validate
in interface TypeValidator
object
- the Object to validatecontext
- the ValidationContextValidationException
- if the object fails validation.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com