DatatypeValidatorpublic class XML11NMTOKENDatatypeValidator extends NMTOKENDatatypeValidator
| Constructor | Description |
|---|---|
XML11NMTOKENDatatypeValidator() |
| Modifier and Type | Method | 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 DatatypeValidatorvalidate in class NMTOKENDatatypeValidatorcontent - the string value that needs to be validatedcontext - the validation contextInvalidDatatypeException - if the content is
invalid according to the rules for the validatorsInvalidDatatypeValueExceptionInvalidDatatypeValueExceptionCopyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.