package org.apache.batik.dom.util; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import org.w3c.dom.Document; import org.xml.sax.XMLReader; public interface DocumentFactory { Document createDocument(String str, String str2, String str3) throws IOException; Document createDocument(String str, String str2, String str3, InputStream inputStream) throws IOException; Document createDocument(String str, String str2, String str3, Reader reader) throws IOException; Document createDocument(String str, String str2, String str3, XMLReader xMLReader) throws IOException; DocumentDescriptor getDocumentDescriptor(); boolean isValidating(); void setValidating(boolean z); }