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.io.Serializable ; 28 29 public interface SearchSummary extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "SearchSummary"; 32 public static final String [] ZEUS_ATTRIBUTES = {}; 33 public static final String [] ZEUS_ELEMENTS = {"SearchedTerm", "BeginIndex", "EndIndex", "DocsNumber", "SearchedTime"}; 34 35 public SearchedTerm getSearchedTerm(); 36 37 public void setSearchedTerm(SearchedTerm searchedTerm); 38 39 public BeginIndex getBeginIndex(); 40 41 public void setBeginIndex(BeginIndex beginIndex); 42 43 public EndIndex getEndIndex(); 44 45 public void setEndIndex(EndIndex endIndex); 46 47 public DocsNumber getDocsNumber(); 48 49 public void setDocsNumber(DocsNumber docsNumber); 50 51 public SearchedTime getSearchedTime(); 52 53 public void setSearchedTime(SearchedTime searchedTime); 54 55 public void marshal(File file) throws IOException ; 56 57 public void marshal(OutputStream outputStream) throws IOException ; 58 59 public void marshal(Writer writer) throws IOException ; 60 61 public void setDocType(String name, String publicID, String systemID); 62 63 public void setOutputEncoding(String outputEncoding); 64 65 } 66 | Popular Tags |