Interface DatatypeValidator
-
- All Known Implementing Classes:
ENTITYDatatypeValidator,IDDatatypeValidator,IDREFDatatypeValidator,ListDatatypeValidator,NMTOKENDatatypeValidator,NOTATIONDatatypeValidator,StringDatatypeValidator,XML11IDDatatypeValidator,XML11IDREFDatatypeValidator,XML11NMTOKENDatatypeValidator
public interface DatatypeValidatorThe interface that a DTD datatype must implement. The implementation of this interface must be thread-safe.- Version:
- $Id$
- Author:
- Sandy Gao, IBM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(String content, ValidationContext context)validate a given string against this DV
-
-
-
Method Detail
-
validate
void validate(String content, ValidationContext context) throws InvalidDatatypeValueException
validate a given string against this DV- Parameters:
content- the string value that needs to be validatedcontext- the validation context- Throws:
InvalidDatatypeValueException
-
-