public interface ValidationEventLocator
ValidationEventLocator表示ValidationEvent发生在哪里。 将根据检测到错误或警告时正在执行的验证类型设置不同的字段。 例如,按需验证将产生包含对Java内容树中对象的引用的定位器,而解密时间验证将产生包含适合于XML数据(文件,URL,节点等)的源的信息的定位符。
Validator
, ValidationEvent
URL getURL()
int getOffset()
int getLineNumber()
int getColumnNumber()
Object getObject()
Node getNode()
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.