APIdia Launch Partner
Top Description Methods
com.sun.org.apache.xerces.internal.impl.dv

public Interface DatatypeValidator

Known Direct Implementers
com.sun.org.apache.xerces.internal.impl.dv.dtd.ENTITYDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.IDDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.IDREFDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.ListDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.NMTOKENDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.NOTATIONDatatypeValidator, com.sun.org.apache.xerces.internal.impl.dv.dtd.StringDatatypeValidator
Imports
com.sun.org.apache.xerces.internal.impl.dv.ValidationContext

The interface that a DTD datatype must implement. The implementation of this interface must be thread-safe.
Author
Sandy Gao, IBM

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