1 56 57 package org.jdom.adapters; 58 59 import java.io.*; 60 61 import org.jdom.*; 62 import org.w3c.dom.Document ; 63 64 74 public interface DOMAdapter { 75 76 87 public Document getDocument(File filename, boolean validate) 88 throws IOException, JDOMException; 89 90 102 public Document getDocument(InputStream in, boolean validate) 103 throws IOException, JDOMException; 104 105 112 public Document createDocument() throws JDOMException; 113 114 122 public Document createDocument(DocType doctype) throws JDOMException; 123 } 124 | Popular Tags |