public class XML11IDREFDatatypeValidator extends IDREFDatatypeValidator
IDREFDatatypeValidator - represents the IDREFS attribute type from XML 1.1 recommendation. The Value Space of IDREF is the set of all strings that match the NCName production and have been used in an XML Document as the value of an element or attribute of Type ID. The Lexical space of IDREF is the set of strings that match the NCName production.
The Value space of IDREF is scoped to a specific instance document
| Constructor and Description |
|---|
XML11IDREFDatatypeValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(java.lang.String content,
ValidationContext context)
Checks that "content" string is valid IDREF value.
|
public void validate(java.lang.String content,
ValidationContext context)
throws InvalidDatatypeValueException
validate in interface DatatypeValidatorvalidate in class IDREFDatatypeValidatorcontent - 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.