public class XML11NMTOKENDatatypeValidator extends NMTOKENDatatypeValidator
| Constructor and Description |
|---|
XML11NMTOKENDatatypeValidator() |
| 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 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-2022 The Apache Software Foundation. All Rights Reserved.