JavaTM 2 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 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。