1 18 package org.enhydra.snapper.business.xml; 19 20 import java.io.File ; 22 import java.io.IOException ; 23 import java.io.OutputStream ; 24 import java.io.Writer ; 25 26 import java.util.List ; 28 import java.io.Serializable ; 29 30 public interface SearchResult extends Serializable { 31 32 public static final String ZEUS_XML_NAME = "SearchResult"; 33 public static final String [] ZEUS_ATTRIBUTES = {}; 34 public static final String [] ZEUS_ELEMENTS = {"Result"}; 35 36 public List getResultList(); 37 38 public void setResultList(List ResultList); 39 40 public void addResult(Result result); 41 42 public void removeResult(Result result); 43 44 public void marshal(File file) throws IOException ; 45 46 public void marshal(OutputStream outputStream) throws IOException ; 47 48 public void marshal(Writer writer) throws IOException ; 49 50 public void setDocType(String name, String publicID, String systemID); 51 52 public void setOutputEncoding(String outputEncoding); 53 54 } 55 | Popular Tags |