org.apache.xerces.impl.dv.dtd
public class NMTOKENDatatypeValidator extends Object implements DatatypeValidator
Version: $Id: NMTOKENDatatypeValidator.java,v 1.7 2005/03/22 05:35:49 mrglavas Exp $
| Constructor Summary | |
|---|---|
| NMTOKENDatatypeValidator() | |
| Method Summary | |
|---|---|
| void | validate(String content, ValidationContext context)
Checks that "content" string is valid NMTOKEN value.
|
Parameters: content the string value that needs to be validated context the validation context
Throws: InvalidDatatypeException if the content is invalid according to the rules for the validators
See Also: InvalidDatatypeValueException