浏览 2273 次
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-10-29
14.6. JDOM API Reference <wbr></wbr>API 14.9 org.jdom.input.DOMBuilder<wbr></wbr><wbr></wbr> <wbr></wbr>public class DOMBuilder<wbr></wbr> // Constructors public DOMBuilder(); public DOMBuilder(boolean validate); public DOMBuilder(String adapterClass); public DOMBuilder(String adapterClass, boolean validate); // Methods public Document build(org.w3c.dom.Document domDocument); public Element build(org.w3c.dom.Element domElement); // deprecated build methods not shown public void setFactory(JDOMFactory factory); public void setValidation(boolean validate); <wbr></wbr>API 14.10 org.jdom.Document<wbr></wbr><wbr></wbr> <wbr></wbr>public class Document<wbr></wbr> // Constructors public Document(); public Document(Element rootElement); public Document(Element rootElement, DocType docType); public Document(java.util.List content); public Document(java.util.List newContent, DocType docType); // Methods public Document addContent(Comment comment); public Document addContent(ProcessingInstruction pi); public Element detachRootElement(); public List getContent(); public List getContent(Filter filter); public DocType getDocType(); public Element getRootElement(); public boolean hasRootElement(); public boolean removeContent(Comment comment); public boolean removeContent(ProcessingInstruction pi); public Document setContent(java.util.List newContent); public Document setDocType(DocType docType); public Document setRootElement(Element rootElement); 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |