IDREFDatatypeValidator - represents the IDREFS attribute type from XML 1.0 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
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | validate(String
the string value that needs to be validated content, ValidationContext the validation context context)Implements org. |
| IDREFDatatypeValidator | back to summary |
|---|---|
| public IDREFDatatypeValidator() | |
| validate | back to summary |
|---|---|
| public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException Implements org. Checks that "content" string is valid IDREF value. If invalid a Datatype validation exception is thrown.
| |