软件包 | 描述 |
---|---|
javax.xml.parsers |
提供允许处理XML文档的类。
|
Modifier and Type | Method and Description |
---|---|
void |
SAXParser.parse(File f, HandlerBase hb)
解析该文件的内容指定为XML使用指定的
HandlerBase 。
|
void |
SAXParser.parse(InputSource is, HandlerBase hb)
解析内容给予
InputSource XML使用指定的
HandlerBase 。
|
void |
SAXParser.parse(InputStream is, HandlerBase hb)
解析给定的
InputStream 实例的内容为XML使用指定的
HandlerBase 。
|
void |
SAXParser.parse(InputStream is, HandlerBase hb, String systemId)
解析给定的
InputStream 实例的内容为XML使用指定的
HandlerBase 。
|
void |
SAXParser.parse(String uri, HandlerBase hb)
解析由提供统一资源标识符(URI)所描述的内容为XML使用指定的
HandlerBase 。
|
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.