ENTITYDatatypeValidator implements the DatattypeValidator interface. This validator embodies the ENTITY attribute type from XML1.0 recommendation. The Value space of ENTITY is the set of all strings that match the NCName production and have been declared as an unparsed entity in a document type definition. The Lexical space of Entity is the set of all strings that match the NCName production. The value space of ENTITY 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. |
| ENTITYDatatypeValidator | back to summary |
|---|---|
| public ENTITYDatatypeValidator() | |
| validate | back to summary |
|---|---|
| public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException Implements org. Checks that "content" string is valid ID value. If invalid a Datatype validation exception is thrown.
| |