Top Description Methods
org.apache.xerces.impl.dv

public Interface DatatypeValidator

Known Direct Implementers
org.apache.xerces.impl.dv.dtd.ENTITYDatatypeValidator, org.apache.xerces.impl.dv.dtd.IDDatatypeValidator, org.apache.xerces.impl.dv.dtd.IDREFDatatypeValidator, org.apache.xerces.impl.dv.dtd.ListDatatypeValidator, org.apache.xerces.impl.dv.dtd.NMTOKENDatatypeValidator, org.apache.xerces.impl.dv.dtd.NOTATIONDatatypeValidator, org.apache.xerces.impl.dv.dtd.StringDatatypeValidator

The interface that a DTD datatype must implement. The implementation of this interface must be thread-safe.
Author
Sandy Gao, IBM
Version
$Id: DatatypeValidator.java 699892 2008-09-28 21:08:27Z mrglavas $

Method Summary

Modifier and TypeMethod and Description
public void
validate(String
the string value that needs to be validated
content
,
ValidationContext
the validation context
context
)

validate a given string against this DV

Method Detail

validateback to summary
public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException

validate a given string against this DV

Parameters
content:String

the string value that needs to be validated

context:ValidationContext

the validation context