软件包 | 描述 |
---|---|
javax.xml.transform |
该软件包定义了用于处理变换指令的通用的接口,并执行从源到结果的转换。
|
javax.xml.transform.sax |
这个包实现的具体转化SAX2 API。
|
Modifier and Type | Method and Description |
---|---|
abstract Templates |
TransformerFactory.newTemplates(Source source)
将源程序转化为模板对象,这是源代码的一一个编译表示形式。
|
Modifier and Type | Method and Description |
---|---|
Templates |
TemplatesHandler.getTemplates()
当TemplatesHandler的对象是用于解析变换指令ContentHandler,它创建一个模板对象,这人可获得一次SAX事件已经完成。
|
Modifier and Type | Method and Description |
---|---|
abstract TransformerHandler |
SAXTransformerFactory.newTransformerHandler(Templates templates)
得到一个transformerhandler对象可以SAX ContentHandler事件过程到结果,基于模板参数。
|
abstract XMLFilter |
SAXTransformerFactory.newXMLFilter(Templates templates)
创建一个xmlfilter,基于模板的说法。
|
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.