public interface ValidationEvent
Validator
,
ValidationEventHandler
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
对应于“在W3C XML 1推荐1.2节误差”的定义条件
|
static int |
FATAL_ERROR
对应于“在W3C XML 1推荐1.2节致命错误”的定义条件
|
static int |
WARNING
不是由XML 1推荐定义的错误或致命错误的条件
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getLinkedException()
检索此警告/错误的链接异常。
|
ValidationEventLocator |
getLocator()
检索此警告/错误的定位器。
|
String |
getMessage()
检索此警告/错误的文本消息。
|
int |
getSeverity()
检索此警告/错误的严重性代码。
|
static final int WARNING
static final int ERROR
static final int FATAL_ERROR
int getSeverity()
必须是一个ValidationError.WARNING,ValidationError.ERROR,或ValidationError.FATAL_ERROR。
String getMessage()
Throwable getLinkedException()
ValidationEventLocator getLocator()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.