1 18 package org.apache.batik.dom.util; 19 20 import java.io.IOException ; 21 import java.io.InputStream ; 22 import java.io.Reader ; 23 24 import org.w3c.dom.Document ; 25 26 import org.xml.sax.XMLReader ; 27 28 34 public interface DocumentFactory { 35 36 42 void setValidating(boolean isValidating); 43 44 47 boolean isValidating(); 48 49 56 Document createDocument(String ns, String root, String uri) throws IOException ; 57 58 66 Document createDocument(String ns, String root, String uri, InputStream is) 67 throws IOException ; 68 69 77 Document createDocument(String ns, String root, String uri, XMLReader r) 78 throws IOException ; 79 80 88 Document createDocument(String ns, String root, String uri, Reader r) 89 throws IOException ; 90 91 96 DocumentDescriptor getDocumentDescriptor(); 97 } 98 | Popular Tags |