软件包 | 描述 |
---|---|
javax.xml.transform |
该软件包定义了用于处理变换指令的通用的接口,并执行从源到结果的转换。
|
javax.xml.transform.dom |
这个包实现了DOM API的具体转化。
|
Modifier and Type | Method and Description |
---|---|
SourceLocator |
TransformerException.getLocator()
方法getlocator检索一个sourcelocator对象指定发生错误的一个实例。
|
Modifier and Type | Method and Description |
---|---|
void |
TransformerException.setLocator(SourceLocator location)
方法setlocator设置一个sourcelocator对象指定发生错误的一个实例。
|
Constructor and Description |
---|
TransformerConfigurationException(String message, SourceLocator locator)
创建消息和定位一个新的transformerconfigurationexception。
|
TransformerConfigurationException(String message, SourceLocator locator, Throwable e)
包在一个transformerconfigurationexception现有的例外情况。
|
TransformerException(String message, SourceLocator locator)
创建消息和定位一个新的transformerexception。
|
TransformerException(String message, SourceLocator locator, Throwable e)
包在一个transformerexception现有的例外情况。
|
Modifier and Type | Interface and Description |
---|---|
interface |
DOMLocator
表示在源DOM节点的位置,主要用于错误报告。
|
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.