1 package org.ozoneDB.xml.dom4j.io; 9 10 import org.dom4j.Document; 11 import org.dom4j.DocumentException; 12 import org.ozoneDB.OzoneRemote; 13 14 import java.io.IOException ; 15 import java.io.InputStream ; 16 import java.io.Reader ; 17 import java.net.SocketAddress ; 18 19 22 public interface DocumentBuilder extends OzoneRemote { 23 24 public static final String OBJECT_NAME = "DocumentBuilder"; 25 26 public Document parse(String text) throws DocumentException; 27 28 public Document parse(String text, String objectName) throws DocumentException; 29 30 public Document parse(Reader reader) throws DocumentException; 31 32 public Document parse(InputStream in) throws DocumentException; 33 34 38 public SocketAddress prepareStreamParsing() throws IOException ; 39 40 public Document getResult(); 41 } 42 43 | Popular Tags |