org.apache.xerces.impl.dv.dtd
public class NMTOKENDatatypeValidator extends java.lang.Object implements DatatypeValidator
| Constructor and Description |
|---|
NMTOKENDatatypeValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(java.lang.String content,
ValidationContext context)
Checks that "content" string is valid NMTOKEN value.
|
public void validate(java.lang.String content,
ValidationContext context)
throws InvalidDatatypeValueException
validate in interface DatatypeValidatorcontent - the string value that needs to be validatedcontext - the validation contextInvalidDatatypeException - if the content is
invalid according to the rules for the validatorsInvalidDatatypeValueExceptionInvalidDatatypeValueExceptionCopyright ? 1999-2005 Apache XML Project. All Rights Reserved.