软件包 | 描述 |
---|---|
java.beans |
包含的类发展豆相关--基于JavaBeans组件™架构。
|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
javax.xml.bind.helpers |
只有使用JAXB提供商:一些的
javax.xml.bind接口提供了部分的默认实现。
|
javax.xml.parsers |
提供允许处理XML文档的类。
|
javax.xml.transform.sax |
这个包实现的具体转化SAX2 API。
|
javax.xml.xpath |
这个包提供XPath表达式获取评价环境评价对象模型中立的API。
|
org.xml.sax |
这个包提供了核心的SAX。
|
org.xml.sax.ext |
此包包含接口SAX2设施符合SAX的司机不一定支持。
|
org.xml.sax.helpers |
这包含有“助手”类,包括引导SAX应用支持。
|
Constructor and Description |
---|
XMLDecoder(InputSource is)
创建解析XML档案的
XMLEncoder 类创建了一个新的解码器。
|
Modifier and Type | Method and Description |
---|---|
Object |
Unmarshaller.unmarshal(InputSource source)
数据的XML数据从指定的萨克斯inputsource和返回结果的内容树。
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractUnmarshallerImpl.unmarshal(InputSource source) |
protected abstract Object |
AbstractUnmarshallerImpl.unmarshal(XMLReader reader, InputSource source)
解封对象使用指定的XmlReader和inputsource。
|
Modifier and Type | Method and Description |
---|---|
abstract Document |
DocumentBuilder.parse(InputSource is)
解析给定的输入源的内容作为一个XML文档的DOM对象并返回一个新的
Document 。
|
void |
SAXParser.parse(InputSource is, DefaultHandler dh)
解析内容给予
InputSource XML使用指定的
DefaultHandler 。
|
void |
SAXParser.parse(InputSource is, HandlerBase hb)
解析内容给予
InputSource XML使用指定的
HandlerBase 。
|
Modifier and Type | Method and Description |
---|---|
InputSource |
SAXSource.getInputSource()
得到的萨克斯inputsource用于源。
|
static InputSource |
SAXSource.sourceToInputSource(Source source)
试图从一个源对象获得SAX inputsource对象。
|
Modifier and Type | Method and Description |
---|---|
void |
SAXSource.setInputSource(InputSource inputSource)
设置SAX inputsource用于源。
|
Constructor and Description |
---|
SAXSource(InputSource inputSource)
创建一个
SAXSource ,使用SAX
InputSource 。
|
SAXSource(XMLReader reader, InputSource inputSource)
创建一个
SAXSource ,使用
XMLReader 和SAX inputsource。
|
Modifier and Type | Method and Description |
---|---|
String |
XPathExpression.evaluate(InputSource source)
对指定的
InputSource 下编译的XPath表达式作为一个
String 返回结果。
|
Object |
XPathExpression.evaluate(InputSource source, QName returnType)
对指定的
InputSource 下编译的XPath表达式,指定类型的返回结果。
|
String |
XPath.evaluate(String expression, InputSource source)
评估在特定的语境
InputSource XPath表达式作为一个
String 返回结果。
|
Object |
XPath.evaluate(String expression, InputSource source, QName returnType)
评估在特定的语境
InputSource XPath表达式,指定类型的返回结果。
|
Modifier and Type | Method and Description |
---|---|
InputSource |
HandlerBase.resolveEntity(String publicId, String systemId)
过时的。
解析外部实体。
|
InputSource |
EntityResolver.resolveEntity(String publicId, String systemId)
允许应用程序解析外部实体。
|
Modifier and Type | Method and Description |
---|---|
void |
XMLReader.parse(InputSource input)
解析一个XML文档。
|
void |
Parser.parse(InputSource source)
过时的。
解析一个XML文档。
|
Modifier and Type | Method and Description |
---|---|
InputSource |
DefaultHandler2.getExternalSubset(String name, String baseURI)
告诉解析器,如果文档文本中没有已声明的外部子集,则无需使用任何外部子集。
|
InputSource |
EntityResolver2.getExternalSubset(String name, String baseURI)
允许应用程序提供一个不显式定义的文档的外部子集。
|
InputSource |
DefaultHandler2.resolveEntity(String publicId, String systemId)
调用
EntityResolver2.resolveEntity() 空实体名称和基URI。
|
InputSource |
DefaultHandler2.resolveEntity(String name, String publicId, String baseURI, String systemId)
告诉解析器解析对baseuri的systemid从产生的绝对URI读取实体文字。
|
InputSource |
EntityResolver2.resolveEntity(String name, String publicId, String baseURI, String systemId)
允许应用程序映射到参考外部实体的输入源,或告诉解析器应该使用传统的URI解析。
|
Modifier and Type | Method and Description |
---|---|
InputSource |
XMLFilterImpl.resolveEntity(String publicId, String systemId)
过滤外部实体分辨率。
|
InputSource |
DefaultHandler.resolveEntity(String publicId, String systemId)
解析外部实体。
|
Modifier and Type | Method and Description |
---|---|
void |
ParserAdapter.parse(InputSource input)
解析一个XML文档。
|
void |
XMLFilterImpl.parse(InputSource input)
解析文档。
|
void |
XMLReaderAdapter.parse(InputSource input)
解析文档。
|
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.