ValidationEventHandler
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ERROR
Conditions that correspond to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation |
| public static final int | FATAL_ERROR
Conditions that correspond to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation |
| public static final int | WARNING
Conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: the linked exception for this warning/error or null if one wasn't setRetrieve the linked exception for this warning/error. |
| public ValidationEventLocator | Returns: the locator that indicates where the warning/error occurredRetrieve the locator for this warning/error. |
| public String | Returns: the text message for this warning/error or null if one wasn't setRetrieve the text message for this warning/error. |
| public int | Returns: the severity code for this warning/errorRetrieve the severity code for this warning/error. |
| ERROR | back to summary |
|---|---|
| public static final int ERROR Conditions that correspond to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation | |
| FATAL_ERROR | back to summary |
|---|---|
| public static final int FATAL_ERROR Conditions that correspond to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation | |
| WARNING | back to summary |
|---|---|
| public static final int WARNING Conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation | |
| getLinkedException | back to summary |
|---|---|
| public Throwable getLinkedException() Retrieve the linked exception for this warning/error.
| |
| getLocator | back to summary |
|---|---|
| public ValidationEventLocator getLocator() Retrieve the locator for this warning/error.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Retrieve the text message for this warning/error.
| |
| getSeverity | back to summary |
|---|---|
| public int getSeverity() Retrieve the severity code for this warning/error.
Must be one of
| |