JavaTM Platform
Standard Ed. 6

接口 org.w3c.dom.ls.LSInput
的使用

使用 LSInput 的软件包
org.w3c.dom.ls   
 

org.w3c.dom.ls 中 LSInput 的使用
 

返回 LSInput 的 org.w3c.dom.ls 中的方法
 LSInput DOMImplementationLS.createLSInput()
          创建一个新的空输入源对象,其中,LSInput.characterStream、LSInput.byteStream、LSInput.stringData LSInput.systemId、LSInput.publicId、LSInput.baseURI 和 LSInput.encoding 为 null,LSInput.certifiedText 为 false。
 LSInput LSLoadEvent.getInput()
          被解析的输入源。
 LSInput LSProgressEvent.getInput()
          被解析的输入源。
 LSInput LSResourceResolver.resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
          允许应用程序解析外部资源。
 

参数类型为 LSInput 的 org.w3c.dom.ls 中的方法
 Document LSParser.parse(LSInput input)
          从通过 LSInput 标识的资源中解析 XML 文档。
 Node LSParser.parseWithContext(LSInput input, Node contextArg, short action)
          从通过 LSInput 标识的资源中解析 XML 片段,并将其内容插入到用 context 和 action 参数指定的位置的现有文档。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。