public interface DOMLocator extends SourceLocator
SourceLocator
对象。
Transformer
可以将该对象用于除错误报告之外的目的,例如,指示源节点发起结果节点。
Modifier and Type | Method and Description |
---|---|
Node |
getOriginatingNode()
返回发生事件的节点。
|
getColumnNumber, getLineNumber, getPublicId, getSystemId
Node getOriginatingNode()
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.