??xml version="1.0" encoding="utf-8" standalone="yes"?>在线观看精品自拍私拍,四虎永久国产精品,在线亚洲欧美专区二区http://www.aygfsteel.com/fatbear/category/35944.html得到多少又失M什?zh-cnThu, 13 Nov 2008 05:55:31 GMTThu, 13 Nov 2008 05:55:31 GMT60【{】解析xml文g获取encoding的?/title>http://www.aygfsteel.com/fatbear/archive/2008/11/13/240250.htmlfatbearfatbearThu, 13 Nov 2008 02:33:00 GMThttp://www.aygfsteel.com/fatbear/archive/2008/11/13/240250.htmlhttp://www.aygfsteel.com/fatbear/comments/240250.htmlhttp://www.aygfsteel.com/fatbear/archive/2008/11/13/240250.html#Feedback0http://www.aygfsteel.com/fatbear/comments/commentRss/240250.htmlhttp://www.aygfsteel.com/fatbear/services/trackbacks/240250.html
?nbsp;DOM Level 3 而完成的一w要Q务是Q通过加入新的可以查询~少?nbsp;XMLInfoset 信息的方法,?nbsp;DOM 数据模型?nbsp;XML Information SetQInfosetQ相匚w。例如,现在可以通过 Document 接口Q它被映到 Infoset 文信息)查询和修改储存在一?nbsp;XML 声明中的信息Q例?nbsp;version、standalone ?nbsp;encoding。类似地Q基?nbsp;URI 和声明基?nbsp;URI 属性是Ҏ XML Base 处理的,它们被放?nbsp;Node 接口中。您q可以获?nbsp;XML Infoset 元素内容?nbsp;whitespace 属性。这个属性表明一?nbsp;Text 节点是否只包含可以被忽略的空白。可以通过 Text 接口Q它映射?nbsp;XML Inforset 字符信息)获得q个属性。清?展示了在 Java 语言l定中这个接口中的实际方法签名?
清单1. ?nbsp;Java 语言l定的方法签?
// XML Declaration information on
// the org.w3c.dom.Document interface
public String getXmlEncoding();
public void setXmlEncoding(String xmlEncoding);
public boolean getXmlStandalone();
public void setXmlStandalone(boolean xmlStandalone)
throws DOMException;
public String getXmlVersion();
public void setXmlVersion(String xmlVersion)
throws DOMException;
// element content whitespace property on the Text
// interface
public boolean isWhitespaceInElementContent();