JavaTM 2 Platform
Standard Ed. 6

類別 org.w3c.dom.ls.LSException
的使用

使用 LSException 的軟體套件
org.w3c.dom.ls   
 

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

拋出 LSException 的 org.w3c.dom.ls 中的方法
 Document LSParser.parse(LSInput input)
          從通過 LSInput 標識的資源中解析 XML 文檔。
 Document LSParser.parseURI(String uri)
          從 URI 參考 [IETF RFC 2396] 標識的位置解析 XML 文檔。
 Node LSParser.parseWithContext(LSInput input, Node contextArg, short action)
          從通過 LSInput 標識的資源中解析 XML 片段,並將其內容插入到用 context 和 action 參數指定的位置的現有文檔。
 boolean LSSerializer.write(Node nodeArg, LSOutput destination)
          像前面對 LSSerializer 介面的一般介紹中所描述的那樣序列化指定的節點。
 String LSSerializer.writeToString(Node nodeArg)
          像前面對 LSSerializer 介面的一般介紹中所描述的那樣序列化指定的節點。
 boolean LSSerializer.writeToURI(Node nodeArg, String uri)
          這是一種簡便方法,其作用就像使用沒有指定編碼的 LSOutput 調用 LSSerializer.write,並且 LSOutput.systemId 被設置為 uri 參數。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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